You have virtual machine named VM1.
VM1 uses a fixed size virtual hard disk (VHD) named Disk1.vhD. Disk1.vhd is 200 GB.
You shut down VM1.
You need to reduce the size of disk1.vhd.
Which action should you select from the Edit Virtual Hard Disk Wizard?
A.
Merge
B.
Compact
C.
Shrink
D.
Convert
answer is D
The answer is convert (Converts a dynamocally expanding virtual hard disk to a fixed virtual hard disk, or vice versa.)
Source: https://technet.microsoft.com/en-us/library/cc755149(v=ws.11).aspx
It’s already a fixed size disk so the answer is C?
The question is asking what to do to reduce the size, not convert it from one to the other. The answer is C
You can’t shrink a VHD. The disk has to be converted to VHDX and then shrink.
The answer is “D” (convert), because a Fixed Size Disc doesn’t allow you to shrink or compact the data. You have to convert it first to “dynamically expand”, and then, compact it.
You can’t shrink a .vhd file. Only .vhdx.
Therefore you have to D. Convert to .vhdx
Convert is the right answer indeed. You need to first convert the disk to be able to reduce it’s size.
The Answer is D. And here’s why:
Action Description
Compact
Applies to dynamically expanding virtual hard disks and differencing virtual hard disks. Reduces the size of the .vhd file by removing blank space that is left behind when data is deleted from the virtual hard disk. If the virtual hard disk is not NTFS formatted, the blank space must be overwritten with zeroes so that the compact action can reduce the file size by removing sectors that contain only zeroes.
Note
If the virtual hard disk is not NTFS formatted, you must prepare the virtual hard disk for compacting by using a non-Microsoft disk utility program to replace the blank space with zeroes.
Convert
Converts a dynamically expanding virtual hard disk to a fixed virtual hard disk, or vice versa.
Expand
Increases the storage capacity of a dynamically expanding virtual hard disk or a fixed virtual hard disk.
Merge
Applies to differencing disks only. Allows you to combine the changes stored in a differencing disk with the contents of the parent disk. You can either copy the contents of the parent disk and differencing disk into a new virtual hard disk, which leaves both source disks intact, or you can apply the changes to the parent disk.
Reconnect
Applies to differencing disks only. If you select a differencing disk and the parent virtual hard disk cannot be located, this page appears automatically. If the disks are part of a chain of differencing disks, this page will appear if the wizard cannot locate any of the disks in the chain.
From this we know that we’re asked to reduce the size, not re-size the disk.
so Convert changes the disk from one type to the other and vice versa.
and Compact reduces the size. So we can only compact a dynamic or differencing disk. So the answer would have to be D: Convert (from fixed to dynamic) then we can Compact.
The answer can’t be A because you can’t merge on a dynamic or a fixed disk and Merge is only talks about copying changes.
The Answer Can’t be B because Compacting is what you do, but you can’t do that on a fixed disk until you Convert it.
The Answer can’t be C (Shrink) because that’s not a valid operation in the Edit Virtual Hard Disk Wizard.