Question 102 of 1,049
AZ-104 Deploy and Manage Azure Compute Practice Question
A company runs two identical Linux VMs for a stateless web app in an Azure region that supports availability zones. The business requires protection from a full datacenter outage, not just planned host maintenance. Which deployment choice best meets this requirement?
⚠ Common exam trap
Many candidates confuse availability sets (which protect against rack-level failures within a single 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.
Deploying the two VMs across different availability zones ensures that each VM resides in a physically separate datacenter within the region. This architecture protects against a full datacenter outage, as an availability zone failure affects only one zone, leaving the other VM operational. Availability zones provide a 99.99% SLA for VMs when two or more instances are deployed across zones, which aligns with the requirement for protection beyond planned host maintenance.
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 both VMs in an availability set.
Why it's wrong here
An availability set distributes VMs across fault domains and update domains within a single Azure datacenter. This protects against hardware failures (e.g., a failed rack) and planned maintenance reboots, but it cannot survive a full datacenter or zone outage because all VMs in the set share the same datacenter infrastructure. In other words, if that datacenter loses power or connectivity, both VMs in the availability set become unavailable simultaneously, so it does not meet the requirement for datacenter-failure resilience.
When this WOULD be correct
If the requirement is to protect against hardware failures within a single datacenter (e.g., rack failures) and planned maintenance, while ensuring VMs are placed close together for low latency, an availability set would be correct.
- ✓
Deploy the VMs across availability zones.
Why this is correct
Availability zones place resources in physically separate datacenters within the same region. If one zone becomes unavailable, the other zone can continue serving traffic. That makes zones the correct choice when the requirement is resilience to a datacenter-scale outage. They provide stronger isolation than availability sets, which mainly protect against host and maintenance failures inside a single datacenter boundary.
- ✗
Use a proximity placement group for both VMs.
Why it's wrong here
A proximity placement group intentionally co-locates VMs in the same Azure datacenter to minimize network latency, which directly increases the blast radius: if that datacenter experiences an outage, all VMs in the group go down together. It is a performance optimizer for tightly coupled workloads such as HPC or low-latency microservices, not a high-availability feature. In fact, using a proximity placement group for a stateless web app would make it less resilient than spreading VMs across availability zones.
When this WOULD be correct
For a latency-sensitive application (e.g., high-performance computing) where VMs must be physically close to minimize network latency, a proximity placement group is the correct choice, even if it means sacrificing fault tolerance.
- ✗
Deploy both VMs in a single-zone virtual machine scale set.
Why it's wrong here
A single-zone virtual machine scale set places every VM instance in exactly one availability zone, so the entire workload shares that zone's fate. Although the scale set spreads instances across fault domains within the zone, a zone failure (e.g., fire, flood, or utility outage) takes down all instances at once. For zone-level resiliency, the scale set must instead be configured as a zonal or zone-redundant scale set spanning multiple availability zones, or you must deploy separate scale sets in different zones.
When this WOULD be correct
When the requirement is to scale out a stateless app within a single zone for low-latency inter-VM communication, and the question specifies protection only from planned host maintenance (not full datacenter outage).
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 place resources in physically separate datacenters within the same region. If one zone becomes unavailable, the other zone can continue serving traffic. That makes zones the correct choice when the requirement is resilience to a datacenter-scale outage. They provide stronger isolation than availability sets, which mainly protect against host and maintenance failures inside a single datacenter boundary.
✗Place both VMs in an availability set.Wrong answer — click to see why▾
Why this is wrong here
An availability set protects against rack-level failures and planned maintenance within a single datacenter, not against a full datacenter outage.
★ When this WOULD be the correct answer
If the requirement is to protect against hardware failures within a single datacenter (e.g., rack failures) and planned maintenance, while ensuring VMs are placed close together for low latency, an availability set would be correct.
Why candidates choose this
Candidates may confuse availability sets with availability zones, thinking both provide datacenter-level redundancy, or they may overestimate the fault domain protection of availability sets.
✗Use a proximity placement group for both VMs.Wrong answer — click to see why▾
Why this is wrong here
A proximity placement group reduces network latency between VMs but does not protect against a full datacenter outage because all VMs in the group can be in the same datacenter.
★ When this WOULD be the correct answer
For a latency-sensitive application (e.g., high-performance computing) where VMs must be physically close to minimize network latency, a proximity placement group is the correct choice, even if it means sacrificing fault tolerance.
Why candidates choose this
Candidates may confuse proximity placement groups with availability sets or zones, mistakenly thinking that grouping VMs together provides high availability against datacenter failures.
✗Deploy both VMs in a single-zone virtual machine scale set.Wrong answer — click to see why▾
Why this is wrong here
A single-zone virtual machine scale set places all VMs in the same availability zone, which does not protect against a full datacenter outage because if that zone fails, all VMs are lost.
★ When this WOULD be the correct answer
When the requirement is to scale out a stateless app within a single zone for low-latency inter-VM communication, and the question specifies protection only from planned host maintenance (not full datacenter outage).
Why candidates choose this
Candidates may think a scale set inherently provides high availability across zones, but a single-zone scale set lacks zone redundancy, and they overlook the 'single-zone' qualifier.
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?”
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Last reviewed: Jun 11, 2026
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.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.