Home › Studies › AZ-305 › Infrastructure › VMs & Scale Sets

VMs & Scale Sets

Availability sets · Zones · VMSS Flexible/Uniform · Cost options

Practice questions for this topic →

Decision table

NeedChoose
Survive the failure of a whole datacenter within the regionAvailability zones
High availability in a region with no availability zonesAvailability set (or VMSS Flexible using fault domains)
Autoscale, mixed VM sizes, Spot and on-demand in one group, with Azure Backup or ASRVMSS Flexible orchestration
Interruptible or dev/test work at the lowest possible costSpot VMs
Steady 24×7 workload of one size for 3 years, minimize costReserved Instances (plus Azure Hybrid Benefit if you own the licenses)
Predictable hourly compute spend, but VM families or regions may changeSavings plan
Compliance requires no other customer on the same physical serverAzure Dedicated Host
Lowest network latency between tiers of VMsProximity placement group + accelerated networking

Set the orchestration mode when you create a scale set; it can't be changed later. Availability sets and zones are the two HA options; a set protects against rack and hardware failures inside one datacenter, not against losing the datacenter.

Availability sets vs availability zones

Scale set orchestration modes

ModeWhat it gives youLimits to remember
FlexibleMixed VM sizes, Spot plus on-demand in one group, zone spreading, and the standard VM experience including Azure Backup and Site RecoveryUp to 1,000 VMs per scale set. Update domains are deprecated: live migration handles most updates, and reboots happen fault domain by fault domain. Zone-spanning sets use max spreading (fault domain count of 1).
UniformIdentical instancesInstances are reachable only through scale set VM APIs. They lack compatibility with standard VM API commands, ARM tagging, RBAC, Azure Backup and Azure Site Recovery.

There is currently no automated tool to convert VMs in an availability set into a Flexible scale set. Plan the migration as a rebuild.

Cost options

Proximity placement groups

Exam Tips

Tick each tip once you can answer it without looking.

“Survive the failure of a datacenter within the region” → Availability zones. Trap: An availability set only protects against rack failures inside one datacenter.

“HA for VMs in a region with no availability zones” → Availability set (or VMSS Flexible using fault domains).

“Autoscale, mixed VM sizes, Spot and on-demand in one group” → VMSS Flexible orchestration. Trap: Uniform instances can't be protected with Azure Backup or Site Recovery.

“Scale set VMs must be protected with Azure Backup or replicated with ASR” → VMSS Flexible.

“Dev/test or interruptible processing at the lowest possible cost” → Spot VMs. Trap: Spot gets 30 seconds of eviction notice, so don't use it for steady production.

“Steady 24×7 workload for 3 years, minimize cost, same VM size” → Reserved Instances (+ Azure Hybrid Benefit if you own the licenses).

“Commit to hourly spend, but VM families and regions may change” → Savings plan. Trap: A reservation locks in a specific size and region.

“No other Azure customer may share the physical server” → Azure Dedicated Host. Trap: A proximity placement group only places VMs close together.

“Lowest latency between tiers of VMs” → Proximity placement group + accelerated networking. Trap: An availability set is about resiliency, not latency.

“Change Uniform to Flexible after the scale set exists” → You can't: the orchestration mode is set at creation. Create a new Flexible scale set.

“Move existing availability set VMs into a Flexible scale set” → No automated tooling; rebuild.

“Zone-spanning Flexible scale set” → Max spreading, fault domain count = 1.

“Maximum availability set fault and update domains” → 3 fault domains, 20 update domains, fixed after creation.

“Spot eviction behavior” → 30 seconds notice; Deallocate (disks still billed) or Delete.

“Availability set SLA and cost” → 99.95% with 2+ VMs; no charge for the set itself. Trap: Zones give 99.99%.

Sources

← InfrastructureApp Service & Functions →