AZ-104 Deploy and Manage Azure Compute Practice Question
A customer-facing service needs to survive a single datacenter outage in a zone-supported region. You do not need cross-region failover, but you do need Azure to spread instances without manual placement errors. Which two deployment choices satisfy that goal? Select two.
⚠ Common exam trap
It's easy for candidates to confuse availability sets (which protect against rack failures within a single datacenter) with availability zones (which protect against full datacenter outages), leading candidates to incorrectly select Option B as a valid solution for zone-level resilience.
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
✓
Place the VMs in different availability zones within the same region.
Availability zones are physically separate datacenters within a region, each with independent power, cooling, and networking. Placing VMs in different zones ensures that a single datacenter outage does not affect all instances, meeting the survivability requirement without manual placement errors. Azure automatically distributes VMs across selected zones, eliminating human error in instance placement.
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 different availability zones within the same region.
Why this is correct
Availability zones are physically separate groups of datacenters within an Azure region, each with independent power, cooling, and network connectivity. Placing VMs in different availability zones ensures that if an entire datacenter (or zone) suffers an outage, the service remains available in other zones. Because all zones are in the same region, traffic stays local, which satisfies the requirement to avoid cross-region failover and keeps latency low. This is the foundational pattern for zone-level resilience when you need explicit control over VM placement.
- ✗
Use an availability set and expect it to cover a zone outage.
Why it's wrong here
An availability set uses fault domains and update domains to protect against hardware failures or patching events within a single datacenter, but it does not span across datacenters or availability zones. In Azure, fault domains in an availability set share the same power and network switch, so they remain within one zone. A zone outage or datacenter-level event (such as a fire or cooling failure) is far beyond what an availability set is designed to mitigate, leaving the entire set vulnerable. Therefore, using an availability set incorrectly assumes it can handle an outage that affects the whole building.
When this WOULD be correct
This option would be correct if the question asked for protection against hardware failures within a single datacenter (e.g., rack or chassis failure) and did not require zone-level resilience.
- ✓
Deploy the workload in a zone-enabled virtual machine scale set.
Why this is correct
A zone-enabled virtual machine scale set distributes instances across availability zones automatically, using a platform-managed algorithm to balance instances and avoid manual placement errors. You can specify zone balance mode, and the scale set will maintain capacity across zones even during scaling operations, making it the preferred choice for stateless or autoscaled workloads. This approach also integrates with Azure Load Balancer Standard for health checking and traffic distribution, providing a resilient and operationally simple deployment. It meets the same datacenter-survival requirement while reducing administrative overhead compared to manually placing individual VMs.
- ✗
Keep all instances in one zone and rely on the load balancer.
Why it's wrong here
A load balancer only distributes incoming traffic among healthy instances that are registered as backend targets, but it cannot create resilience against a failure at the infrastructure level. If all VM instances reside in the same availability zone, that zone's failure takes the entire backend down, and the load balancer will have no valid targets to route to, regardless of its own health. The load balancer itself may be zone-redundant (Standard SKU), but that only protects the front-end; the actual service still depends on a single zone for compute. Thus, relying on a load balancer without cross-zone instance placement does not satisfy the datacenter-failure requirement.
When this WOULD be correct
This option would be correct if the question required cost optimization and allowed manual recovery, or if the region did not support availability zones and you were using a single datacenter with a load balancer for high availability within that datacenter.
- ✗
Use a paired region for automatic in-region zone balancing.
Why it's wrong here
A paired region is a separate Azure region approximately 300 miles away that is used for disaster recovery during region-wide failures, not for balancing workloads within the same region. It provides asynchronous replication for some services and is a planned failover target, but invoking it introduces cross-region latency and requires a failover process. The requirement explicitly states that cross-region failover is not needed, so relying on a paired region would unnecessarily complicate the solution and does not address the immediate single-datacenter outage scenario. Azure's paired regions are not designed to automatically balance load across zones; they are for regional disaster recovery.
When this WOULD be correct
When the requirement is to survive a region-wide outage and you need automatic replication across geographically separated regions for disaster recovery, such as for compliance or high availability across regions.
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.
✓Place the VMs in different availability zones within the same region.Correct answer▾
Why this is correct
Availability zones are physically separate groups of datacenters within an Azure region, each with independent power, cooling, and network connectivity. Placing VMs in different availability zones ensures that if an entire datacenter (or zone) suffers an outage, the service remains available in other zones. Because all zones are in the same region, traffic stays local, which satisfies the requirement to avoid cross-region failover and keeps latency low. This is the foundational pattern for zone-level resilience when you need explicit control over VM placement.
✗Use an availability set and expect it to cover a zone outage.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. Zone outages span multiple datacenters, so availability sets cannot survive a zone failure.
★ When this WOULD be the correct answer
This option would be correct if the question asked for protection against hardware failures within a single datacenter (e.g., rack or chassis failure) and did not require zone-level resilience.
Why candidates choose this
Candidates may confuse availability sets with availability zones, thinking both provide datacenter-level fault tolerance, but availability sets only distribute VMs across fault domains within one datacenter.
✗Keep all instances in one zone and rely on the load balancer.Wrong answer — click to see why▾
Why this is wrong here
Keeping all instances in one zone does not survive a single datacenter outage because a zone outage would take down all instances. The load balancer cannot redistribute traffic if all backend instances are in the failed zone.
★ When this WOULD be the correct answer
This option would be correct if the question required cost optimization and allowed manual recovery, or if the region did not support availability zones and you were using a single datacenter with a load balancer for high availability within that datacenter.
Why candidates choose this
Candidates may think a load balancer provides automatic failover across zones, but it only distributes traffic among healthy instances; if all instances are in one zone, a zone outage makes them all unhealthy.
✗Use a paired region for automatic in-region zone balancing.Wrong answer — click to see why▾
Why this is wrong here
Paired regions are for cross-region disaster recovery, not for surviving a single datacenter outage within a zone-supported region. They do not provide automatic zone balancing within a region.
★ When this WOULD be the correct answer
When the requirement is to survive a region-wide outage and you need automatic replication across geographically separated regions for disaster recovery, such as for compliance or high availability across regions.
Why candidates choose this
Candidates may confuse paired regions with availability zones, thinking they provide in-region redundancy, or they may misinterpret 'automatic in-region zone balancing' as a feature of paired regions.
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
Failover
Failover is the automatic switching to a backup system when the primary system fails, ensuring continuous operation and minimal downtime.
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 stateless web tier must survive a datacenter outage in a region that supports availability zones, and the number of instances should increase during business hours. Which three actions should the administrator take? Select three.
medium- ✓ A.Deploy the workload as a virtual machine scale set instead of a standalone VM.
- ✓ B.Enable zone distribution for the scale set in a region that supports availability zones.
- ✓ C.Configure autoscale so the instance count can change according to demand.
- D.Place all instances in a single availability set and scale them manually.
- E.Deploy only one zonal VM and use snapshots to recover if the datacenter fails.
Why A: A virtual machine scale set (VMSS) provides automatic scaling and high availability across multiple instances, which is essential for a stateless web tier that must survive a datacenter outage. By deploying as a scale set instead of a standalone VM, the administrator gains the ability to distribute instances across availability zones and configure autoscale rules to adjust capacity based on demand, meeting both the resilience and elasticity requirements.
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.