LPIC-1 Exam 101 (Linux Administrator) — Question 11

Which of the following commands will mount an already inserted CD-ROM in /dev/sr0 onto an existing directory /mnt/cdrom when issued with root privileges?

Answer options

Correct answer: C

Explanation

The correct answer is C because it specifies the type of file system as 'cdrom', which is necessary for correctly mounting the CD-ROM. Option A is incorrect as it references the wrong device file, /dev/cdrom, which may not exist. Option B lacks the file system type specification, which can lead to issues. Options D and E use incorrect flags that are not valid for the mount command in this context.