nerdexam
CompTIA

LX0-103 · Question #14

Which of the following commands can be used to create a USB storage media from a disk image?

The correct answer is B. dd. The dd command performs raw block-level reads and writes, making it the standard tool for writing a disk image directly to a USB device.

GNU and Unix Commands

Question

Which of the following commands can be used to create a USB storage media from a disk image?

Options

  • Agdisk
  • Bdd
  • Ccc
  • Dfdisk
  • Emount

How the community answered

(23 responses)
  • B
    87% (20)
  • C
    9% (2)
  • E
    4% (1)

Why each option

The dd command performs raw block-level reads and writes, making it the standard tool for writing a disk image directly to a USB device.

Agdisk

gdisk is a partition table editor for GPT-formatted disks and has no capability to write disk images to a block device.

BddCorrect

dd reads from an input source (if=) and writes byte-for-byte to an output destination (of=) at the block level, bypassing filesystem abstraction. A command such as 'dd if=image.iso of=/dev/sdX bs=4M' writes the entire disk image directly to the USB storage device, preserving the exact partition layout, boot records, and filesystem structures required to produce a bootable or functional USB drive.

Ccc

cc is the C language compiler front-end and has no functionality related to disk image writing or block device access.

Dfdisk

fdisk is a partition table editor for MBR-formatted disks and cannot write raw disk images to a storage device.

Emount

mount attaches an already-formatted filesystem to the directory tree and cannot copy a disk image onto a raw block device.

Concept tested: dd command raw disk image to USB device

Source: https://www.gnu.org/software/coreutils/manual/html_node/dd-invocation.html

Topics

#dd#disk image#USB#block copy

Community Discussion

No community discussion yet for this question.

Full LX0-103 Practice