exam questions

Exam XK0-005 All Questions

View all questions & answers for the XK0-005 exam

Exam XK0-005 topic 1 question 89 discussion

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

A Linux administrator needs to create an image named sda.img from the sda disk and store it in the /tmp directory. Which of the following commands should be used to accomplish this task?

  • A. dd of=/dev/sda if=/tmp/sda.img
  • B. dd if=/dev/sda of=/tmp/sda.img
  • C. dd --if=/dev/sda --of=/tmp/sda.img
  • D. dd --of=/dev/sda --if=/tmp/sda.img
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
bongobo
9 months, 2 weeks ago
I-input O-output
upvoted 2 times
...
linux_admin
1 year, 9 months ago
The correct command is B: dd if=/dev/sda of=/tmp/sda.img. The dd command is used to create an image of a disk or partition, and the syntax is as follows: dd if=input-file of=output-file. In this case, the input file is the sda disk /dev/sda and the output file is the image file in the /tmp directory /tmp/sda.img.
upvoted 3 times
...
Ckl22
1 year, 10 months ago
Selected Answer: B
B is the only one that looks like the correct command syntax
upvoted 3 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