Microsoft Azure Administrator (AZ-104) · Section 3 · 23% of the exam
Deploy and configure an Azure Virtual Machine Scale Sets
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
Availability zones, availability sets and scale sets are three ways to keep VMs running through hardware failure and maintenance. This lesson compares them, shows how to deploy VMs into each, and explains how to create and autoscale a scale set.
Points to remember
- Availability set: up to 3 fault domains and 20 update domains, fixed at creation; SLA 99.95%.
- Availability zones: separate datacenters in a region; two or more VMs in different zones give a 99.99% SLA.
- A VM is in a zone or in an availability set, never both, and the placement is chosen at creation.
- Zonal resources are pinned to one zone; zone-redundant resources (Standard public IP, ZRS) span zones.
- VM Scale Sets cost nothing extra; Flexible orchestration is recommended and the mode cannot be changed later.
Try a question
A new tier of three VMs must survive the loss of an entire datacenter in the region. Which configuration meets the requirement?
- APlace each VM in a different availability zone behind a zone-redundant load balancer
- BCreate an availability set with three fault domains
- CPut all VMs in one zone, enable accelerated networking and add a second public load balancer
- DUse a larger VM size with more memory
Show the answer
A. Availability zones are physically separate locations in a region, each with independent power, cooling and networking. Deploy VMs into at least two zones with --zone and use a zone-redundant frontend such as a Standard load balancer or Application Gateway v2. A VM can be in a zone or an availability set, not both.
Written for practice in the style of the exam: never a question from the real exam.
In the course
The lesson Availability zones, availability sets and Virtual Machine Scale Sets teaches this objective (about 50 minutes), and 11 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
- Create a virtual machine
- 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
- Create and manage an Azure container registry