VM Scale Sets and Availability Sets

⬆️ Scale up (vertical) same server, more CPU and memory ➡️ Scale out (horizontal) more servers share the work
Scale sets add identical servers when busy; availability sets keep them apart so one failure can't stop them all.

😟 THE PROBLEM

Fixed servers crash on sale day, and one failed rack can take them all down.

😊 THE SOLUTION

Scale sets for automatic capacity, availability sets or zones for resilience.

  • Traffic triples on sale day✓ Scale set adds VMs automatically
  • One rack loses power✓ VMs spread across fault domains
  • Maintenance reboots everything✓ Update domains reboot in groups
🛠️ Solved with: VM Scale Sets · Availability sets
Try it yourself in the Azure simulator No Azure account needed. Black Friday: scale out and in 🧮 Try it ❯
Module 2: Architecture & Services ⏱ 7 min read Updated 11 Nov 2026

Quick answer

Virtual Machine Scale Sets let you create and manage a group of identical, load-balanced VMs that can scale out and in automatically based on demand. Availability sets spread your VMs across fault domains (separate power and network hardware) and update domains (separate maintenance groups), so one hardware failure or update does not take all of them down.

Exam objective: 2.2.2 Describe virtual machine options, including Azure virtual machines, Azure Virtual Machine Scale Sets, availability sets, and Azure Virtual Desktop. (Skills measured as of July 20, 2026)

Start with a question

How do you handle Black Friday traffic, and make sure one broken rack doesn’t take your shop offline?

You need two things: more servers when busy (scale sets) and servers spread out so one failure doesn’t kill them all (availability sets).

Explain it like I’m 10

The technical explanation

VM Scale Sets

  • Group of identical VMs
  • Autoscale on metrics or schedule
  • Load-balanced
  • Can span availability zones
  • Job: scale

Availability sets

  • Up to 3 fault domains
  • Multiple update domains
  • Within one datacenter
  • No extra cost
  • Job: resilience
Two VM features, two different jobs

Real-world business scenario

E-commerce

An online electronics retailer

The problem
Its web tier ran on 4 fixed VMs: too few at sale time, wasteful the rest of the year.
What they used
Replaced them with a VM Scale Set spread across availability zones with CPU-based autoscale (2 to 20 instances).
Why that choice
Scale sets add capacity automatically; zones protect against datacenter failure.
The result
Sales ran smoothly and quiet-month compute costs dropped.

When to use it and when not to

✓ Use it when…

  • **Scale sets** for stateless web or worker tiers with variable demand.
  • **Availability sets** for VMs that must survive rack failures and maintenance (where zones are not available).

✕ Think twice when…

  • Scale sets for stateful single servers that cannot run as identical copies.
Ready for more?The full lesson adds the technical explanation, when to use it, interview questions and revision notes.

Interview preparation

Say your answer out loud first, then open the model answer. Interviewers care more about your reasoning than the exact words.

Beginner What is a VM Scale Set?

Model answer

A group of identical VMs that Azure can add or remove automatically as demand changes, usually behind a load balancer.

Intermediate What are fault domains and update domains?

Model answer

A fault domain is a group of hardware that shares power and networking, like a rack. An update domain is a group of VMs that can be rebooted at the same time for maintenance. An availability set spreads VMs across up to three fault domains and multiple update domains, so failures and updates never hit all VMs at once.

Experienced developer Availability sets, availability zones or scale sets?

Model answer

Availability sets protect against rack and maintenance failures within one datacenter. Zones protect against a whole datacenter failing, with a higher SLA, and are preferred where available. Scale sets add elastic scaling and can themselves be spread across zones. For new workloads I would use a zone-spanning scale set.

Test yourself with exercises

3 original practice questions in the AZ-900 style. Pick your answers, then check them. You will see why each option is right or wrong. Score 75% or more and this topic is marked complete.

Question 1

Question 1 of 3

Which Azure feature automatically increases and decreases the number of identical VMs based on demand?

Question 2

Question 2 of 3

An availability set protects VMs by placing them in different what?

Question 3

Question 3 of 3

What is the additional cost of using an availability set?

Quick revision

Key points

  • Scale sets = identical VMs with automatic scaling.
  • Availability sets = spread VMs across fault and update domains.
  • Fault domain = shared power/network hardware; update domain = maintenance group.
  • Availability sets are free; you pay only for the VMs.

Important terminology

Virtual Machine Scale Set
A group of identical VMs that can scale automatically.
Availability set
Places VMs in different fault and update domains within a datacenter.
Fault domain
A group of hardware sharing a power source and network switch, like a rack.
Update domain
A group of VMs that can be rebooted together during planned maintenance.

Common mistakes

  • Mixing up scale sets (scaling) with availability sets (resilience).

Exam tips

  • "Automatically increase the number of identical VMs" = VM Scale Sets.
  • "Protect against rack failure and planned maintenance" = availability set.

Five quick revision questions

  1. 1.What does a VM Scale Set add?Show

    Automatic scaling of identical VMs.

  2. 2.What is a fault domain?Show

    A group of hardware sharing power and network, like a rack.

  3. 3.What is an update domain?Show

    A group of VMs rebooted together during planned maintenance.

  4. 4.Do availability sets cost extra?Show

    No. You pay only for the VMs.

  5. 5.Which protects against a whole datacenter failure, availability sets or zones?Show

    Availability zones.

Official references

Make it stick: play a quick gameSort It, Match the Pairs, Lightning Round and Who Am I? Earn XP and badges. Play ❯

Finished this lesson? Tick it off. Your progress is saved in this browser.

Next up: Azure Virtual Desktop