CompTIA Linux+ Exam XK0-004: Mounting an ISO to Access Content

Mounting an ISO to Access Content

Question

A systems administrator wants to mount an ISO to access its content.

Using /mnt as a mount point, which of the following is the correct syntax?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

D.

https://www.cyberciti.biz/tips/how-to-mount-iso-image-under-linux.html

The correct syntax for mounting an ISO to access its content using /mnt as the mount point is option C: mount -o loop /tmp/image.iso /mnt.

Here's a breakdown of the options and why option C is the correct choice:

Option A: mount -o iso9660 /dev/sr0 /mnt This option is incorrect because it assumes that the ISO is located on a physical CD/DVD drive, which may not be the case. The -o iso9660 option specifies the file system type, but does not provide a file path to the ISO.

Option B: mount -o loop -t iso /mnt This option is incorrect because it does not provide a file path to the ISO. The -o loop option tells the mount command to mount the file as a loopback device, and the -t iso option specifies the file system type, but the mount point (/mnt) is not associated with a specific file.

Option C: mount -o loop /tmp/image.iso /mnt This option is the correct choice. It tells the mount command to mount the ISO file located at /tmp/image.iso to the mount point /mnt. The -o loop option tells the mount command to treat the ISO file as a loopback device.

Option D: mount -o loop /dev/kvm /mnt This option is incorrect because it assumes that the ISO is located on a virtual machine's disk image. The /dev/kvm path refers to the virtual machine's kernel-based virtual machine (KVM) device, which is not related to the ISO file.