PrepAway - Latest Free Exam Questions & Answers

you need to shrink the size of files.vhd( 200GB )

You run a Windows 2012 Hyper-V Role Server, you need to shrink the size of files.vhd( 200GB ).
Using the Edit Virtual Disk Wizard what option should you choose.

PrepAway - Latest Free Exam Questions & Answers

A.
Compact

B.
Shrink

C.
Resize

D.
Convert

Explanation:
After converting a dynamically expanding VHD to theVHDX format, a new Shrink menu option
becomesavailable in the Hyper-V UI as shown. VHDX format VHDs only expose the Shrink option when thereis
free space in the VHDX file to reclaim.

http://technet.microsoft.com/en-us/library/hh848454.aspx http://blogs.msdn.com/b/virtual_pc_guy/
archive/2012/05/10/shrinking-a-vhd-in-windows-8- fast.aspx
http://technet.microsoft.com/en-us/library/hh848535.aspx
A company has a forest with 4 sites. Subnets are asfollows:
MainOffice 172.16.1.0 Subnet: 255.255.255.0 Gateway172.16.1.254 Site1 192.168.12.0 Subnet:
255.255.255.0
Site 2 192.168.13.0 Subnet: 255.255.255.0
Site 3 192.168.14.0 Subnet: 255.255.255.0
Site 4 192.168.15.0 Subnet: 255.255.255.0
You add a new server to the MainOffice and it needsto be able to communicate to all sites.
Which routecommand would you run?
A: route add -p 192.168.8.0 netmask 255.255.252.0 172.16.1.254 B: route add -p 192.168.0.0 netmask
255.255.248.0 172.16.1.254 C: route add -p 192.168.12.0 netmask 255.255.252.0 172.16.1.254 D: route add -p
192.168.12.0 netmask 255.255.240.0 172.16.1.254

17 Comments on “you need to shrink the size of files.vhd( 200GB )

      1. Peter says:

        Question sad => You need to shrink disk
        – so you need vhdx format to make shrink operation
        – you have vhd, so you need convert vhd to vhdx first…

        Am I correct ?




        0



        0
  1. Fausto says:

    TestUser is correct. I went through this exercise with reducing the size for one of my production server that was virtualize using disk2vhd tool. This tool kept the original size of the C: and D: drive with 136GB and 635GB respectively. The actual size being used was 45GB on C: drive and 89GB on D: drive.
    I was able to create a VM and attach the two disks created using this tool. It was amazing that the server came online as if it was the physical machine. We were able to test the data and repurpose the physical machine.
    Now I had the dilemma to reduce the size of the VHD.
    I took the following approach:
    From the Disk Management Console on the server, I reduce the size of the C: drive to 100GB and the size of the D: drive to 150GB. This left free space available for allocation. I ran a compact from Windows 2008R2 Hyper-V on the Disk and it did not reduce the total original size. I migrated the server to my newly 2012 server, converted the VHD to VHDX, then I was able to shrink the VHDX which eliminated the unnecessary space on the disks.
    Having gone through this experience. I can assure you that the answer is Convert first, then shrink. Therefore, answer is D




    0



    0
  2. GRobson says:

    The Answer is definitely D.

    You can not resize a VHD file using the virtual hard disk wizard.
    you CAN resize (or shrink) a VHDX file using the wizard. So the first step would be to convert the disk to VHDX.




    0



    0
  3. jack says:

    the explanation doesn’t match with the answer. Explanation:
    After converting a dynamically expanding VHD to theVHDX format, a new Shrink menu option
    becomesavailable in the Hyper-V UI as shown. VHDX format VHDs only expose the Shrink option when thereis
    free space in the VHDX file to reclaim.

    so it says you should convert the vhd to the vhfx format first




    0



    0
  4. jo says:

    Answer is D.

    The following functionality is required for resizing a virtual hard disk:

    VHDX – the ability to expand and shrink virtual hard disks is exclusive to virtual hard disks that are using the .vhdx file format. Online resizing is supported for VHDX disk types, including fixed, differencing, and dynamic disks. Virtual hard disks that use the .vhd file format are not supported for resizing operations.

    SCSI controller – the ability to expand or shrink the capacity of a virtual hard disk is exclusive to .vhdx files that are attached to a SCSI controller. VHDX files that are attached to an IDE controller are not supported.

    (http://technet.microsoft.com/en-us/library/dn282286.aspx)




    0



    0
  5. karl says:

    “Compacting a dynamically expanding virtual hard disk reduces the size of the virtual hard disk (.vhd) file as much as possible….
    …You can compact a dynamically expanding virtual hard disk. You cannot compact any other type of virtual hard disk. However, you can convert a fixed-size virtual hard disk to a dynamically expanding virtual hard disk and then compact the disk. ”
    https://technet.microsoft.com/en-us/library/cc708394%28v=ws.10%29.aspx

    according with Matt, we have only a “files.vhd(200gb”)and “Edit Virtual Disk Wizard”: I can use Compact to reduce the size




    0



    0
  6. james says:

    Agreed with Grobson. Tested this on my lab. u cant compact a fixed vhd disk nor shrink it. u have to convert it to dynamically expanding vhdx to shrink the disk




    0



    0
  7. URwellWisher says:

    I will go with Compact

    Compact = compacts FILE SIZE of VHD.
    Shrink = Reduces the STORAGE CAPACITY of VHD.

    Question is asking size of VHD file (200gb) needs to be shrunk/reduced/compacted. Compact option deals with file size. Shrink word is used in the question to trick you.

    http://www.techrepublic.com/blog/data-center/working-with-and-resizing-windows-server-2012-vhds/

    https://tr1.cbsistatic.com/hub/i/2015/05/07/1fbb9584-f4ab-11e4-940f-14feb5cc3d2a/fig-b-shrink-option-for-vhdx.jpg




    0



    0

Leave a Reply