nerdexam
LPI

305-300 · Question #23

305-300 Question #23: Real Exam Question with Answer & Explanation

The correct answer is E. virt-diff -a vm1-snap.img -A vm1.img. The virt-diff command-line tool can be used to list the differences between files in two virtual machines or disk images. The output shows the changes to a virtual machine's disk images after it has been running. The command can also be used to show the difference between overlay

Question

Which of the following commands lists all differences between the disk images vm1-snap.img and vm1.img?

Options

  • Avirt-delta -a vm1-snap.img -A vm1.img
  • Bvirt-cp-in -a vm1-snap.img -A vm1.img
  • Cvirt-cmp -a vm1-snap.img -A vm1.img
  • Dvirt-history -a vm1-snap.img -A vm1.img
  • Evirt-diff -a vm1-snap.img -A vm1.img

Explanation

The virt-diff command-line tool can be used to list the differences between files in two virtual machines or disk images. The output shows the changes to a virtual machine's disk images after it has been running. The command can also be used to show the difference between overlays. To specify two guests, you have to use the -a or -d option for the first guest, and the -A or -D option for the second guest. For example: virt-diff -a old.img -A new.img. Therefore, the correct command to list all differences between the disk images vm1-snap.img and vm1.img is: virt-diff -a vm1-snap.img - A vm1.img.

Community Discussion

No community discussion yet for this question.

Full 305-300 Practice