Courseiva
Describe Azure architecture and servicesmediumMultiple ChoiceObjective-mapped

Availability Zones vs Availability Sets: Protecting Against Datacenter Outages

A company runs a critical order-processing application on two Azure virtual machines in the West US region. The application must remain available even if an entire datacenter in that region experiences a complete outage. The company wants to place the two VMs in separate physical locations within the same region to provide fault tolerance against a datacenter-level failure. Which Azure feature should they use?

Quick Answer

The answer is Availability Zones. This is the correct choice because Availability Zones are physically separate datacenters within an Azure region, each with independent power, cooling, and networking, so placing each VM in a different zone ensures the application survives a complete datacenter outage. On the Microsoft Azure Fundamentals AZ-900 exam, this question tests your understanding of high-availability options at the region level, often contrasting Availability Zones with Availability Sets, which only protect against failures within a single datacenter (like rack or host failures). A common trap is confusing the two: remember that Zones protect against datacenter-level failures, while Sets protect against hardware failures inside one datacenter. For a quick memory tip, think of Zones as separate buildings and Sets as different rooms in the same building.

⚠ Common exam trap

Candidates often confuse Availability Sets (which protect against rack-level failures within one datacenter) with Availability Zones (which protect against entire datacenter failures), often selecting the former because both involve distributing VMs, but only zones provide physical separation across multiple datacenters.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Availability Zones

Availability Zones (B) are physically separate datacenters within an Azure region, each with independent power, cooling, and networking. By placing each VM in a different zone, the application remains available even if an entire datacenter fails, providing fault tolerance at the datacenter level within the same region.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Availability Set

    Why it's wrong here

    An Availability Set protects against hardware failures within a single datacenter by distributing VMs across fault domains and update domains, but it does not place VMs in separate datacenters. It cannot protect against a complete datacenter outage.

    When this WOULD be correct

    A question that asks for fault tolerance against hardware failures (e.g., server rack or network switch failure) within a single datacenter, or when deploying multiple VMs that must be updated together without downtime, would make Availability Set the correct answer.

  • Availability Zones

    Why this is correct

    Availability Zones are physically separate datacenters within an Azure region. Deploying VMs across different zones ensures that if one datacenter fails, the application continues running from the other zone. This meets the requirement for datacenter-level fault tolerance.

  • Azure Region Pair

    Why it's wrong here

    A region pair consists of two separate Azure regions (e.g., East US and West US) that are geographically distant. This is designed for disaster recovery across regions, not for fault isolation within a single region. It does not meet the requirement of staying within the same region.

    When this WOULD be correct

    A company needs to protect against a region-wide disaster (e.g., natural disaster affecting an entire Azure region) and requires data replication and failover to a secondary region. They would use Azure Region Pairs to ensure business continuity across geographically separated regions.

  • Virtual Machine Scale Set

    Why it's wrong here

    A Virtual Machine Scale Set is used to automatically scale the number of VMs based on demand. While it can distribute VMs across availability zones if configured, its primary purpose is scaling, not providing explicit datacenter-level fault isolation. The core feature for intra-region datacenter separation is Availability Zones.

    When this WOULD be correct

    A company expects variable traffic for a web application and needs to automatically increase or decrease the number of VM instances based on demand, while maintaining high availability. In that case, Virtual Machine Scale Sets with an autoscale policy would be the correct answer.

Option-by-option analysis

Why each answer is right or wrong

Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The AZ-900 exam frequently reuses these exact scenarios with slightly different constraints.

Availability ZonesCorrect answer

Why this is correct

Availability Zones are physically separate datacenters within an Azure region. Deploying VMs across different zones ensures that if one datacenter fails, the application continues running from the other zone. This meets the requirement for datacenter-level fault tolerance.

Availability SetWrong answer — click to see why

Why this is wrong here

Availability Sets protect against rack-level failures within a single datacenter, not against an entire datacenter outage. The question requires fault tolerance across datacenters within a region, which Availability Zones provide.

★ When this WOULD be the correct answer

A question that asks for fault tolerance against hardware failures (e.g., server rack or network switch failure) within a single datacenter, or when deploying multiple VMs that must be updated together without downtime, would make Availability Set the correct answer.

Why candidates choose this

Candidates often confuse Availability Sets with Availability Zones, thinking both provide datacenter-level redundancy, but Availability Sets only protect within one datacenter.

Azure Region PairWrong answer — click to see why

Why this is wrong here

Azure Region Pairs provide disaster recovery across two different Azure regions, not within a single region. The question requires fault tolerance within the same region (West US), so Region Pairs do not address a datacenter-level outage in one region.

★ When this WOULD be the correct answer

A company needs to protect against a region-wide disaster (e.g., natural disaster affecting an entire Azure region) and requires data replication and failover to a secondary region. They would use Azure Region Pairs to ensure business continuity across geographically separated regions.

Why candidates choose this

Candidates may confuse 'region pair' with 'availability zone' because both involve redundancy, but region pairs operate across regions, not within a region. The term 'pair' might suggest a two-location solution, leading to incorrect selection.

Virtual Machine Scale SetWrong answer — click to see why

Why this is wrong here

Virtual Machine Scale Sets provide auto-scaling and load balancing across multiple VMs, but they do not guarantee placement in separate physical datacenters within a region. They can span availability zones only if explicitly configured, and the question requires fault tolerance against a datacenter-level failure, which is not inherent to scale sets.

★ When this WOULD be the correct answer

A company expects variable traffic for a web application and needs to automatically increase or decrease the number of VM instances based on demand, while maintaining high availability. In that case, Virtual Machine Scale Sets with an autoscale policy would be the correct answer.

Why candidates choose this

Candidates may confuse the ability to manage multiple VMs with fault tolerance, assuming that having multiple VMs in a scale set inherently protects against datacenter failures, without understanding the need for explicit zone or region separation.

Analysis generated from the official AZ-900blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”

About these practice questions

This AZ-900 question is part of Courseiva's 981-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

2 more ways this is tested on AZ-900

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. A company plans to deploy a web application on Azure Virtual Machines. The solution must remain available even if a physical datacenter in the region experiences a complete outage. The company wants to use the simplest and most cost-effective architecture that meets this requirement within a single Azure region. What should the company configure?

medium
  • A.Deploy VMs in an Availability Set across multiple fault domains.
  • B.Deploy VMs in an Availability Zone across multiple zones.
  • C.Deploy VMs in a single scale set with autoscale.
  • D.Deploy VMs in a virtual network with a VPN gateway to a secondary region.

Why B: Availability Zones are physically separate datacenters within an Azure region, each with independent power, cooling, and networking. Deploying VMs across multiple zones protects against a single datacenter outage while remaining in one region, making it the simplest and most cost-effective solution for this requirement.

Variation 2. A company deploys a multi-tier application using Azure virtual machines. The web tier VMs must be evenly distributed across two distinct data centers within an Azure region to avoid a single point of failure from an infrastructure outage. Which Azure construct should they use to meet this requirement?

medium
  • A.Availability set
  • B.Availability zone
  • C.Proximity placement group
  • D.Azure Load Balancer

Why B: Availability zones are physically separate data centers within an Azure region, each with independent power, cooling, and networking. By deploying the web tier VMs across two distinct zones, the application avoids a single point of failure from an infrastructure outage at the data center level, meeting the requirement for high availability across distinct data centers.

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This AZ-900 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-900 exam.