AZ-900 ยท Compute and application hosting
Scale sets and availability sets
Azure Virtual Machine Scale Sets for identical autoscaling VMs, availability sets with fault and update domains, and which one solves which problem.
Key points
- Virtual Machine Scale Sets: identical, load-balanced VMs from one configuration; scale out or in automatically on demand or on a schedule.
- Availability sets: resiliency inside one datacenter.
- Fault domains: shared power and network, up to 3.
- Update domains: rebooted together during planned maintenance, up to 20.
- 2+ VMs in a set: 99.95% SLA; the set costs nothing extra.
- Neither protects from a bug in your own app.
Source: https://learn.microsoft.com/en-us/azure/virtual-machines/availability-set-overview
Practice questions
What is the maximum number of fault domains an availability set can have?
- 2
- 3
- 5
- 20
Show answer
Answer: B. 3
An availability set can have up to 3 fault domains and up to 20 update domains. The value 20 is the update-domain limit, not the fault-domain one.
Which statements about availability sets are true?
- A fault domain groups VMs sharing power and a network switch
- An update domain groups VMs restarted together in maintenance
- An availability set carries its own extra hourly charge
- An availability set adds VMs automatically as load grows
- An availability set protects against bugs in your app code
Show answer
Answer: A. A fault domain groups VMs sharing power and a network switch, B. An update domain groups VMs restarted together in maintenance
Fault domains group VMs that share a power source and network switch, and update domains group VMs that can be restarted together during planned maintenance. Availability sets add no cost of their own, do not change the number of VMs, and do not protect against OS or application failures.
After an availability set is created, you can raise its number of fault domains and update domains whenever you need more.
Show answer
Answer: False
False. The fault-domain and update-domain counts are fixed when the availability set is created and cannot be changed later, so plan them up front.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
