Microsoft Azure Administrator (AZ-104) · Section 3 · 23% of the exam
Create a virtual machine
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
You are deploying new Windows VMs. The security team requires that the temporary disk and disk caches are encrypted, data is encrypted in transit between the host and storage, and the VM CPU is not used for encryption. Which option meets the requirements?
- AAzure Disk Encryption with BitLocker
- BEncryption at host
- CServer-side encryption with platform-managed keys only
- DStorage Service Encryption on the diagnostics storage account
Show the answer
B. Encryption at host is a VM-level option that extends server-side encryption to the temp disk and caches. It does not use VM CPU and is the recommended choice for new VMs. ADE continues to work until its retirement date, 15 September 2028.
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
- Interpret an Azure Resource Manager template or a Bicep file
- Modify an existing Azure Resource Manager template
- Modify an existing Bicep file
- Deploy resources by using an Azure Resource Manager template or a Bicep file
- Export a deployment as an Azure Resource Manager template or convert an Azure Resource Manager template to a Bicep file
- Configure Azure Disk Encryption
- Move a virtual machine to another resource group, subscription, or region
- Manage virtual machine sizes
- Manage virtual machine disks
- Deploy virtual machines to availability zones and availability sets
- Deploy and configure an Azure Virtual Machine Scale Sets
- Create and manage an Azure container registry