nerdexam
CompTIA

SY0-301 · Question #625

A security administrator needs to image a large hard drive for forensic analysis. Which of the following will allow for faster imaging to a second hard drive?

The correct answer is C. dd in=/dev/sda out=/dev/sdb bs=4k. The dd command performs block-level disk duplication and is the standard forensic imaging tool; increasing the block size with bs reduces I/O operations and speeds up the copy.

Security operations

Question

A security administrator needs to image a large hard drive for forensic analysis. Which of the following will allow for faster imaging to a second hard drive?

Options

  • Acp /dev/sda /dev/sdb bs=8k
  • Btail -f /dev/sda > /dev/sdb bs=8k
  • Cdd in=/dev/sda out=/dev/sdb bs=4k
  • Dlocate /dev/sda /dev/sdb bs=4k

How the community answered

(52 responses)
  • A
    10% (5)
  • B
    8% (4)
  • C
    81% (42)
  • D
    2% (1)

Why each option

The `dd` command performs block-level disk duplication and is the standard forensic imaging tool; increasing the block size with `bs` reduces I/O operations and speeds up the copy.

Acp /dev/sda /dev/sdb bs=8k

The `cp` command copies files and directories at the filesystem level and cannot create a complete forensic block-level image of an entire disk.

Btail -f /dev/sda > /dev/sdb bs=8k

`tail -f` streams the end of a text file in real time and is not a disk duplication utility; the syntax shown is nonsensical for this purpose.

Cdd in=/dev/sda out=/dev/sdb bs=4kCorrect

The `dd` utility reads and writes raw disk blocks, preserving the exact bit-for-bit image of the source drive including unallocated space, which is required for forensic integrity. Setting a larger block size (bs=4k) batches reads and writes, reducing system call overhead and accelerating the imaging process compared to the default 512-byte block size.

Dlocate /dev/sda /dev/sdb bs=4k

`locate` is a file-search command that queries a filename database and has no capability to copy disk data.

Concept tested: Forensic disk imaging with the dd command

Source: https://www.kali.org/tools/dcfldd/

Topics

#forensic imaging#dd command#disk forensics#evidence collection

Community Discussion

No community discussion yet for this question.

Full SY0-301 Practice