nerdexam
CompTIACompTIA

XK0-005 · Question #1704

XK0-005 Question #1704: Real Exam Question with Answer & Explanation

The correct answer is A: dd if=/dev/sda1 of=/dev/sdc1. The dd command is the most efficient method to clone a partition, as it operates at the block level. The command dd if=/dev/sda1 of=/dev/sdc1 copies the entire content of /dev/sda1 (input file) to /dev/sdc1 (output file), making an exact clone of the partition. The other options

System Management

Question

A systems administrator is cloning a system partition /dev/sda1 to /dev/sdc1. Which of the following commands would allow the administrator to accomplish this task most efficiently?

Options

  • Add if=/dev/sda1 of=/dev/sdc1
  • Bcat /dev/sda1 > /dev/sdc1
  • Ccp -R /dev/sda1 /dev/sdc1
  • Drsync -av /dev/sda1 /dev/sdc1

Explanation

The dd command is the most efficient method to clone a partition, as it operates at the block level. The command dd if=/dev/sda1 of=/dev/sdc1 copies the entire content of /dev/sda1 (input file) to /dev/sdc1 (output file), making an exact clone of the partition. The other options are either not applicable or less efficient for partition cloning.

Topics

#Disk Imaging#Partition Cloning#dd command#Block Devices

Community Discussion

No community discussion yet for this question.

Full XK0-005 PracticeBrowse All XK0-005 Questions