Home » Microsoft » 70-417 v.2 » What should you do?
Your network contains a Hyper-V host named Server1 that runs Windows Server 2012 R2.
Server1 hosts a virtual machine named VM1 that runs Windows Server 2012 R2.
You create a checkpoint of VM1, and then you install an application on VM1. You verify that the application runs properly.
You need to ensure that the current state of VM1 is contained in a single virtual hard disk file.
The solution must minimize the amount of downtime on VM1.
What should you do?
A. From a command prompt run dism.exe and specify the /commit-image parameter.
B. From a command prompt, run dism.exe and specify the /delete-image parameter.
C. From Hyper-V Manager, delete the checkpoint.
D. From Hyper-V Manager, inspect the virtual hard disk.
Correct Answer: C
Explanation/Reference:
Explanation:
The Hyper-V PowerShell module has several aliases so that checkpoint and snapshot can be used interchangeably.
Virtual machine snapshots are file-based snapshots of the state, disk data, and configuration of a virtualmachine at a specific point in time.
You can take multiple snapshots of a virtual machine, even while it is running.
You can then revert the virtual machine to any of the previous states by
Applying a snapshot to the virtualmachine.
Taking a snapshot of a VM is to in essence freeze the current state and make it a parent disk based on currentstate, and at the same time create a child disk to capture all subsequent changes. -See more at:
Snapshots require adequate storage space.
Snapshots are stored as .avhd files in the same location at the virtual hard disk.
Taking multiple snapshots can quickly consume a large amount of storage space.
When you use Hyper-V Manager to delete a snapshot, the snapshot is removed from the snapshot tree but the .avhd file is not deleted until you turn off the virtual machine.
References:
http://www.laneolson.ca/2009/10/09/hyper-v-snapshots-and-disk-space/
http://blogs.technet.com/b/yungchou/archive/2013/01/23/hyper-v-virtual-hard-disk-vhdopertions-explained.aspx
http://zoom.it/12u8
http://www.server-talk.eu/wp-content/uploads/article_2010-05-28_02.png
http://blogs.msdn.com/b/virtual_pc_guy/archive/2009/04/15/what-happens-when-i-delete-asnapshot-hyper-v.aspx
http://blogs.technet.com/b/yungchou/archive/2013/01/23/hyper-v-virtual-hard-disk-vhd-operations-explained.aspx
http://blogs.technet.com/b/josebda/archive/2012/03/20/windows-server-8-beta-hyper-vover-smb-quickprovisioning-a-vm-on-an-smb-file-share.aspx
https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/user-guide/checkpoints
http://blogs.technet.com/b/josebda/archive/2012/03/20/windows-server-8-beta-hyper-vover-smb-quickprovisioning-a-vm-on-an-smb-file-share.aspx
https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/user-guide/checkpoints