nerdexam
CompTIACompTIA

XK0-005 · Question #209

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

The correct answer is B: bzip2 -c /vm/mktg.img | dd of=/dev/hdb. bzip2 -c mktg.img | dd of=/home/shahin/hosts-test/copiedfile.img 14 bytes copied, 3.927e-05 s, 357 kB/s --------------------------------------------------------------------- .rw-rw-r-- shahin shahin 14 B Sun May 16 16:59:36 2021 copiedfile.img

System Management

Question

A raw VM image is being compressed with bzip2 and copied to a flash drive at /dev/hdb for off- site use by the marketing department. Which of the following command lines accomplishes this task?

Options

  • Amv /vm/mkgt.img | bzip2 /dev/hdb/mkgt.img.bz2
  • Bbzip2 -c /vm/mktg.img | dd of=/dev/hdb
  • Ccp /vm/mktg.img | bzip2 /dev/hdb/mktg.img.bz2
  • Dcp -a -r /vm/mktg.img bzip2 /dev/hdb/mktg.img.zip

Explanation

bzip2 -c mktg.img | dd of=/home/shahin/hosts-test/copiedfile.img 14 bytes copied, 3.927e-05 s, 357 kB/s --------------------------------------------------------------------- .rw-rw-r-- shahin shahin 14 B Sun May 16 16:59:36 2021 copiedfile.img

Topics

#Command-line utilities#Data compression#Device management#Piping

Community Discussion

No community discussion yet for this question.

Full XK0-005 PracticeBrowse All XK0-005 Questions