exam questions

Exam XK0-005 All Questions

View all questions & answers for the XK0-005 exam

Exam XK0-005 topic 1 question 13 discussion

Actual exam question from CompTIA's XK0-005
Question #: 13
Topic #: 1
[All XK0-005 Questions]

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
  • B. rsync /dev/sdc1 /dev/sdd1
  • C. dd if=/dev/sdc1 of=/dev/sdd1
  • D. scp /dev/sdc1 /dev/sdd1
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
linux_admin
Highly Voted 1 year, 2 months ago
C. dd if=/dev/sdc1 of=/dev/sdd1 The dd command is a low-level utility that can be used to copy data from one location to another. In this case, the administrator wants to clone the partition /dev/sdc1 to /dev/sdd1. To accomplish this, the administrator should run the following command: dd if=/dev/sdc1 of=/dev/sdd1 The if option specifies the input file, which is /dev/sdc1 in this case. The of option specifies the output file, which is /dev/sdd1. The dd command will read the data from /dev/sdc1 and write it to /dev/sdd1, effectively cloning the partition. Note that the dd command is a very powerful tool and can cause data loss if used improperly. The administrator should make sure to backup important data before using the dd command, and be very careful when specifying the input and output files.
upvoted 5 times
...
Alizadeh
Most Recent 8 months, 3 weeks ago
Selected Answer: C
The correct answer is C. dd if=/dev/sdc1 of=/dev/sdd1.
upvoted 2 times
...
Aamm033
1 year, 6 months ago
Selected Answer: C
C is correct
upvoted 3 times
...
bjornborg
1 year, 6 months ago
Selected Answer: C
dd is the only command that can do this from the above if=input-file of=output file
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago