ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 338 - XK0-005 discussion

Report
Export

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?

A.

dd if=/dev/sda1 of=/dev/sdc1

Answers
A.

dd if=/dev/sda1 of=/dev/sdc1

B.

cat /dev/sda1 > /dev/sdc1

Answers
B.

cat /dev/sda1 > /dev/sdc1

C.

cp -R /dev/sda1 /dev/sdc1

Answers
C.

cp -R /dev/sda1 /dev/sdc1

D.

rsync -av /dev/sda1 /dev/sdc1

Answers
D.

rsync -av /dev/sda1 /dev/sdc1

Suggested answer: A

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.

asked 09/10/2024
Osama Rahman
28 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first