AZ-104 Deploy and Manage Azure Compute Practice Question
A production application runs on three Azure VMs in the same region. The business requires the service to stay available if one entire datacenter in the region becomes unavailable because of a power or network outage. Which configuration best meets the requirement?
⚠ Common exam trap
Many candidates confuse availability sets (which protect against rack-level failures within a datacenter) with availability zones (which protect against full datacenter outages), leading them to choose Option A incorrectly.
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
✓
Deploy the VMs across availability zones.
Availability Zones are physically separate datacenters within an Azure region, each with independent power, cooling, and networking. By deploying VMs across three zones, the application can survive the failure of an entire datacenter because the other zones remain operational. This meets the requirement for high availability against a full datacenter outage.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Place the VMs in the same availability set.
Why it's wrong here
An availability set distributes VMs across fault domains and update domains within a single Azure datacenter. It protects against host hardware failures and planned maintenance events by ensuring replicas are on different physical servers, but it does not protect against an entire datacenter or zone outage. Since the question implies a production app needing resilience to a datacenter-level failure, an availability set is insufficient.
When this WOULD be correct
If the requirement was to protect against hardware failures (e.g., server or rack failures) within a single datacenter, while ensuring high availability for the VMs, an availability set would be the correct choice.
- ✓
Deploy the VMs across availability zones.
Why this is correct
Availability zones are physically separate datacenters within an Azure region, each with independent power, cooling, and networking. Spreading the three VMs across zones ensures that if one zone fails, the other two remain available, providing high availability for the production application. This directly mitigates the risk of a full datacenter outage, which is the core requirement here.
- ✗
Use a proximity placement group for the VMs.
Why it's wrong here
A proximity placement group is designed to co-locate VMs to minimize network latency, but it deliberately places VMs as close as possible, often within the same datacenter or rack. This increases the blast radius of an infrastructure failure rather than isolating it, because all VMs may go down if that single location fails. It does not provide datacenter-level fault isolation, so it fails to satisfy the resilience requirement.
When this WOULD be correct
An application requires the lowest possible network latency between VMs (e.g., for high-performance computing or tightly coupled workloads) and does not need datacenter-level fault tolerance.
- ✗
Attach the VMs to the same Azure Load Balancer backend pool.
Why it's wrong here
An Azure Load Balancer distributes incoming network traffic across healthy VMs in a backend pool, but it provides no physical redundancy for the underlying infrastructure. The VMs could all reside in the same availability zone or even the same rack, so a datacenter failure would take down the entire backend pool and the load balancer's health probe would have no healthy targets. Load balancing alone does not alter the physical placement or fault tolerance of the VMs.
When this WOULD be correct
A question where the requirement is to distribute incoming traffic across multiple VMs for load balancing and high availability within a single datacenter, without needing to survive a full datacenter outage. For example: 'You need to distribute web traffic evenly across two VMs in the same region while providing health probing.'
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-104 exam frequently reuses these exact scenarios with slightly different constraints.
✓Deploy the VMs across availability zones.Correct answer▾
Why this is correct
Availability zones are physically separate datacenters within an Azure region, each with independent power, cooling, and networking. Spreading the three VMs across zones ensures that if one zone fails, the other two remain available, providing high availability for the production application. This directly mitigates the risk of a full datacenter outage, which is the core requirement here.
✗Place the VMs in the same availability set.Wrong answer — click to see why▾
Why this is wrong here
An availability set protects against rack-level failures within a single datacenter, not against an entire datacenter outage. It does not provide resilience across multiple datacenters.
★ When this WOULD be the correct answer
If the requirement was to protect against hardware failures (e.g., server or rack failures) within a single datacenter, while ensuring high availability for the VMs, an availability set would be the correct choice.
Why candidates choose this
Candidates may confuse availability sets with availability zones, thinking both provide datacenter-level redundancy, or they may assume 'availability' in the name implies full datacenter fault tolerance.
✗Use a proximity placement group for the VMs.Wrong answer — click to see why▾
Why this is wrong here
Proximity placement groups reduce network latency between VMs but do not protect against datacenter-level failures; they can even place VMs in the same datacenter, increasing risk.
★ When this WOULD be the correct answer
An application requires the lowest possible network latency between VMs (e.g., for high-performance computing or tightly coupled workloads) and does not need datacenter-level fault tolerance.
Why candidates choose this
Candidates may confuse 'proximity' with 'redundancy' or think grouping VMs close together improves availability, not realizing it actually increases co-location risk.
✗Attach the VMs to the same Azure Load Balancer backend pool.Wrong answer — click to see why▾
Why this is wrong here
Attaching VMs to the same Azure Load Balancer backend pool distributes traffic but does not protect against a full datacenter failure if all VMs are in the same datacenter. The requirement is for availability during a datacenter outage, which requires physical separation across zones.
★ When this WOULD be the correct answer
A question where the requirement is to distribute incoming traffic across multiple VMs for load balancing and high availability within a single datacenter, without needing to survive a full datacenter outage. For example: 'You need to distribute web traffic evenly across two VMs in the same region while providing health probing.'
Why candidates choose this
Candidates may think that a load balancer inherently provides high availability by distributing traffic, but they overlook that it does not protect against the failure of an entire datacenter if all backend VMs are in that datacenter.
Analysis generated from the official AZ-104blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”
Go deeper
Related to this question
Learn chapter
Managed Identities for Azure Resources
Key term
High availability
High availability is a system design approach that aims to keep applications and services operational and accessible with minimal downtime, even when some components fail.
Key term
Region
A region is a distinct geographic location where a cloud provider operates multiple data centers that are connected by low-latency networks and provide cloud services.
About these practice questions
Courseiva writes every AZ-104 question from scratch — 1,049 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
Same concept, more angles
1 more way this is tested on AZ-104
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 is deploying two Linux application VMs in Azure for a production workload. The region supports availability zones, and the business requires the workload to stay online if an entire datacenter in the region becomes unavailable. Which deployment choice best meets this requirement?
medium- A.Place both VMs in the same availability set so Azure separates them across update domains.
- ✓ B.Deploy the VMs across two availability zones in the same region.
- C.Use a single larger VM size with premium SSD storage for better uptime.
- D.Deploy the VMs in the same resource group and enable auto-shutdown.
Why B: Availability zones are physically separate datacenters within an Azure region, each with independent power, cooling, and networking. Deploying the two Linux VMs across two different zones ensures that if an entire datacenter fails, the VM in the other zone remains online, meeting the requirement for resilience against a full datacenter outage.
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AZ-104 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-104 exam.