CertLumen

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

Deploy virtual machines to availability zones and availability 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

You create an availability set with 5 update domains and deploy 7 VMs into it. Which update domain holds the seventh VM?

  1. AThe fifth update domain, because it is the last domain created
  2. BA sixth update domain that Azure adds automatically when the set holds more than five VMs
  3. CThe seventh VM is rejected because the set has only 5 update domains
  4. DThe second one, because the sixth and seventh VMs wrap back to the first two
Show the answer

D. With five update domains, the sixth VM shares a domain with the first and the seventh with the second. During planned maintenance only one update domain is restarted at a time, and a restarted domain gets 30 minutes to recover before the next one begins.

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

← Previous objective · All 81 objectives · Next objective →