CertLumen

Microsoft Azure Administrator (AZ-104) · Section 3 · 23% of the exam

Manage virtual machine disks

One of the objectives of the Microsoft Azure Administrator (AZ-104) exam, in the section “Deploy and manage Azure compute resources”. Here is what it covers, the points to remember and a question to try.

What it covers

Creating a VM means choosing region, availability, image, size, disks and networking. This lesson covers every one of those choices, Azure Disk Encryption and its 2028 retirement, resizing, the three kinds of move, and managing OS, temp and data disks.

Points to remember

  • A VM, its NIC and disks live in one region; the virtual network must be in that region.
  • New VMs should use a Standard SKU public IP or none; new private-subnet virtual networks need an explicit outbound method.
  • Managed disk types: Ultra, Premium SSD v2, Premium SSD, Standard SSD, Standard HDD; Ultra and Premium SSD v2 cannot be OS disks.
  • New data disks must be initialized and formatted in the OS; disks can grow but never shrink.
  • ADE uses BitLocker (Windows) or DM-Crypt (Linux) with Key Vault in the same region and subscription, enabled for disk encryption.

Try a question

A running VM is Standard_D2s_v5. You open the Size pane to change it to a memory-optimized size, but the size does not appear in the list. What should you do first?

  1. AStop and deallocate the VM, then check the available sizes again
  2. BRecreate the VM in a new resource group so that it lands on different hardware
  3. CIncrease the size of the OS disk to the next available disk tier
  4. DAdd a second network interface to the VM to widen the list of sizes
Show the answer

A. A running VM can only change to sizes available on the hardware cluster that hosts it. Deallocate it (az vm deallocate) and the full set of regional sizes can appear. Resizing restarts the VM, deallocation releases dynamic public IP addresses, and the VM must also have quota for the target vCPU family.

Written for practice in the style of the exam: never a question from the real exam.

In the course

The lesson Virtual machines: create, encrypt, resize, move and manage disks teaches this objective (about 60 minutes), and 15 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.

More in this section

← Previous objective · All 81 objectives · Next objective →