ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 25 - XK0-005 discussion

Report
Export

A systems administrator needs to clone the partition /dev/sdc1 to /dev/sdd1. Which of the following commands will accomplish this task?

A.
tar -cvzf /dev/sdd1 /dev/sdc1
Answers
A.
tar -cvzf /dev/sdd1 /dev/sdc1
B.
rsync /dev/sdc1 /dev/sdd1
Answers
B.
rsync /dev/sdc1 /dev/sdd1
C.
dd if=/dev/sdc1 of=/dev/sdd1
Answers
C.
dd if=/dev/sdc1 of=/dev/sdd1
D.
scp /dev/sdc1 /dev/sdd1
Answers
D.
scp /dev/sdc1 /dev/sdd1
Suggested answer: C

Explanation:

The command dd if=/dev/sdc1 of=/dev/sdd1 copies the data from the input file (if) /dev/sdc1 to the output file (of) /dev/sdd1, byte by byte. This is the correct way to clone a partition. The other options are incorrect because they either compress the data (tar -cvzf), synchronize the files (rsync), or copy the files over a network (scp), which are not the same as cloning a partition. Reference: CompTIA Linux+ (XK0-005) Certification Study Guide, Chapter 10: Managing Storage, page 321.

asked 02/10/2024
Heidar Heidari nia
33 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first