Перейти до основного вмісту
Answer confirmed
Question

You have an Azure subscription that contains a virtual machine named VM1. VM1 runs Windows Server.

You need to expand the C drive on VM1. The solution must minimize administrative effort.

Which two actions should you perform? Each correct answer presents part of the solution.

Suggested answer
  • From the Azure portal, stop VM1, select the disk that hosts the C drive, and then select a larger disk. Start VM1.
  • Sign in to VM1 and expand the C volume by using Disk Manager.
Correct answer
  • From the Azure portal, stop VM1, select the disk that hosts the C drive, and then select a larger disk. Start VM1.
  • Sign in to VM1 and expand the C volume by using Disk Manager.

     

  • Incorrect – The Azure virtual machine must be stopped and deallocated before the OSDisk can be expanded.
  • Correct - Stopping VM, selecting the disk that hosts the C drive, and then selecting a larger disk is the first step in expanding the OSDisk for an Azure virtual machine.
  • Correct - Signing in to VM1 and extending the C volume by using Disk Manager is the next step in expanding the OSDisk for an Azure virtual machine.
  • Incorrect - Disk Manager is the tool that is used for expanding the OSDisk volume. You do not want to format the volume to make it larger.

Expand virtual hard disks attached to a Windows VM in an Azure - Azure Virtual Machines | Microsoft Learn