Skip to main content
Answer confirmed
Question

SRV1 contains a virtual machine named VM1.

You need attach c:\vhds\Disk1.vhdx to VM1. The solution must ensure that Disk1 can be expanded dynamically when VM1 runs.

To complete this task, sign in the required computer or computers.

Suggested answer

Correct answer

The suggested solution is incorrect, in this case should be used Hyper-V rather than Azure VM

Comments
sa66ath

Highly Voted 1 year, 8 months ago 

  1. Open Hyper-V Manager on SRV1. Select the virtual machine (VM1) to which you want to attach the virtual hard disk.
  2. Right-click on the virtual machine and select "Settings" from the context menu. In the left pane of the Settings window, select "SCSI Controller".
  3. In the right pane, click "Add". In the Add Hardware window, select "Hard Drive" and click "Add".
  4. In the New Virtual Hard Disk Wizard, select "Use an existing virtual hard disk" and browse to c:\vhds\Disk1.vhdx.
  5. Select "Dynamically expanding" as the disk type and click "Finish".
  6. Click "OK" to save the changes and close the Settings window. Start the virtual machine (VM1) and verify that Disk1 is available and can be expanded dynamically.

upvoted 20 times 

jonards

Most Recent 1 year, 9 months ago 

Correct!

upvoted 2 times 

sa66ath

1 year, 8 months ago 

It can't be correct as it seems to be Hyper-V, not Azure

upvoted 6 times 

AliRi

1 year, 7 months ago 

Azure does not support .vhdx disks so Hyper-V console is correct way to do. Also in Azure disk needs to be fixed size, not dynamically expanded

upvoted 6 times