nerdexam
CompTIA

XK0-005 · Question #399

A systems administrator is tasked with mounting a USB drive on a system. The USB drive has a single partition, and it has been mapped by the system to the device /dev/sdb. Which of the following…

The correct answer is A. mount /dev/sdb1 /media/usb. The mount /dev/sdb1 /media/usb command will mount the USB drive to /media/usb. This command will attach the filesystem on the first partition of the USB drive (/dev/sdb1) to the mount point /media/usb, making it accessible to the system. The mount /dev/sdb0 /media/usb command…

System Management

Question

A systems administrator is tasked with mounting a USB drive on a system. The USB drive has a single partition, and it has been mapped by the system to the device /dev/sdb. Which of the following commands will mount the USB to /media/usb?

Options

  • Amount /dev/sdb1 /media/usb
  • Bmount /dev/sdb0 /media/usb
  • Cmount /dev/sdb /media/usb
  • Dmount -t usb /dev/sdb1 /media/usb

How the community answered

(31 responses)
  • A
    74% (23)
  • B
    16% (5)
  • C
    6% (2)
  • D
    3% (1)

Explanation

The mount /dev/sdb1 /media/usb command will mount the USB drive to /media/usb. This command will attach the filesystem on the first partition of the USB drive (/dev/sdb1) to the mount point /media/usb, making it accessible to the system. The mount /dev/sdb0 /media/usb command is invalid, as there is no such device as /dev/sdb0. The mount /dev/sdb /media/usb command is incorrect, as it will try to mount the entire USB drive instead of its partition, which may cause errors or data loss. The mount -t usb /dev/sdb1 /media/usb command is incorrect, as usb is not a valid filesystem type for mount.

Topics

#Linux commands#Filesystem mounting#Device management#Partitions

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice