nerdexam
Microsoft

AZ-800 · Question #138

Drag and Drop Question You have an Azure subscription. The subscription contains a virtual machine named VM1 that runs Windows Server. VM1 contains a 128-GB operating system disk. You need to…

The correct answer is Stop VM1.; Resize the operating system disk.; Start VM1.; Extend volume C. To increase the size of volume C on an Azure virtual machine, you must first stop the VM, then resize the operating system disk in Azure, start the VM, and finally extend volume C within the operating system.

Manage storage and file services

Question

Drag and Drop Question You have an Azure subscription. The subscription contains a virtual machine named VM1 that runs Windows Server. VM1 contains a 128-GB operating system disk. You need to increase the size of volume C on VM1 to 250 GB. Which four actions should you perform in sequence. To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order. Answer:

Exhibit

AZ-800 question #138 exhibit

Answer Area

Drag items

Redeploy VM1.Resize VM1.Start VM1.Resize the operating system disk.Extend volume C.Stop VM1.

Correct arrangement

  • Stop VM1.
  • Resize the operating system disk.
  • Start VM1.
  • Extend volume C.

Explanation

To increase the size of volume C on an Azure virtual machine, you must first stop the VM, then resize the operating system disk in Azure, start the VM, and finally extend volume C within the operating system.

Approach. The goal is to increase the size of volume C on an Azure Windows VM. This involves two primary steps: increasing the underlying disk size in Azure and then extending the partition (volume) within the operating system itself. For an operating system disk, the VM must be in a deallocated (stopped) state to perform the disk resize operation in Azure. Once the disk is resized in Azure, the VM must be started so the operating system can detect the increased disk capacity. Finally, the C: volume needs to be extended within the Windows operating system (e.g., using Disk Management or PowerShell) to utilize the newly available space. Therefore, the correct sequence of actions is: 1. Stop VM1. - To allow modification of the OS disk. 2. Resize the operating system disk. - To increase the allocated disk space in Azure. 3. Start VM1. - To make the VM operational and detect the new disk size. 4. Resize volume C. - To extend the partition within the guest OS to consume the new space.

Common mistakes.

  • common_mistake. Common mistakes include attempting to resize the operating system disk without stopping the VM first, which is not possible for OS disks in Azure. Another mistake would be to forget the step of 'Resize volume C' within the operating system; simply increasing the disk size in Azure only provides unallocated space, it doesn't automatically extend existing partitions. Using 'Redeploy VM1' or 'Resize VM1' are incorrect as 'Redeploy' is for troubleshooting or host migration, and 'Resize VM1' changes the VM's compute resources (CPU/RAM), not its disk size.

Concept tested. Understanding the lifecycle management of Azure virtual machines and their attached disks, specifically the process of resizing an operating system disk and extending a volume within the guest operating system. It tests the knowledge that OS disk resizing typically requires VM deallocation and that extending a partition is a separate step within the OS after the underlying disk has been expanded.

Reference. null

Topics

#Azure Virtual Machines#Disk Management#Volume Resizing#Windows Server

Community Discussion

No community discussion yet for this question.

Full AZ-800 Practice