CertLumen

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

Manage virtual machine sizes

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 Windows VM has Azure Disk Encryption enabled. You must move it to a resource group in another subscription of the same tenant. Which statement is correct?

  1. AThe VM can be moved while running, because encryption keys follow the VM automatically to the key vault in the new subscription
  2. BThe move is impossible; you must create a new VM from a backup
  3. CYou must move the key vault first, and the VM follows it automatically
  4. DYou must first disable encryption, because an ADE VM cannot cross subscriptions while encrypted
Show the answer

D. A VM integrated with Key Vault for ADE can move to another resource group when it is deallocated. To move it to another subscription you must disable encryption (az vm encryption disable --volume-type all) first. Also remember that VMs created from Marketplace images with a plan cannot move across subscriptions, and VMs in an availability set cannot be moved individually.

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 →