305-300 · Question #23
Which of the following commands lists all differences between the disk images vm1-snap.img and vm1.img?
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…
Question
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
How the community answered
(39 responses)- A3% (1)
- B13% (5)
- C5% (2)
- E79% (31)
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.
Topics
Community Discussion
No community discussion yet for this question.