AZ-104 Deploy and Manage Azure Compute Practice Question
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.
⚠ Common exam trap
A common mix-up: candidates confuse availability sets (which protect against rack failures) with availability zones (which protect against datacenter outages), leading them to select option D instead of the correct zone distribution in option B.
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 workload as a virtual machine scale set instead of a standalone VM.
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.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Deploy the workload as a virtual machine scale set instead of a standalone VM.
Why this is correct
A virtual machine scale set is the Azure compute service that manages a group of identical, load-balanced VMs as a single logical resource, enabling horizontal scaling and high availability. Unlike a standalone VM, a scale set can automatically replace failed instances, distribute across availability zones, and integrate with Azure Load Balancer for continuous service. This architecture directly satisfies the requirement for a stateless web tier to survive a datacenter outage by providing redundant, automatically maintained instances.
- ✓
Enable zone distribution for the scale set in a region that supports availability zones.
Why this is correct
Zone distribution allows the scale set to place instances across zones, improving resilience against a datacenter failure. This is the correct way to add zone-level protection while keeping the workload managed as one scalable unit.
- ✓
Configure autoscale so the instance count can change according to demand.
Why this is correct
Autoscale is the built-in Azure feature that dynamically changes the number of VMSS instances based on metrics such as CPU utilization, memory pressure, or a defined schedule. By configuring autoscale rules, the web tier automatically adds capacity during business hours when demand rises and removes idle instances during off-peak periods. This eliminates the need for manual intervention, aligning with the operational requirement for the workload to adjust capacity on demand while remaining cost-effective.
- ✗
Place all instances in a single availability set and scale them manually.
Why it's wrong here
An availability set protects against hardware failures within a single Azure datacenter by placing VMs across multiple fault and update domains, but it does not span availability zones. In the event of an entire datacenter outage, all instances in that availability set would become unreachable, so it fails to meet the resilience requirement. Furthermore, manually scaling instances is error-prone and cannot react to real-time traffic changes, violating the need for automatic adjustment to business demand.
When this WOULD be correct
This option would be correct if the question required high availability within a single datacenter (e.g., protecting against rack failures) and did not mandate automatic scaling. For example: 'A legacy application must be deployed across multiple fault domains in one datacenter with manual scaling.'
- ✗
Deploy only one zonal VM and use snapshots to recover if the datacenter fails.
Why it's wrong here
Deploying a single zonal VM leaves the workload as a single point of failure; if that zone's datacenter goes down, there is no active replica to serve traffic. Snapshots are point-in-time backup artifacts that require creating a new VM and restoring the OS disk, resulting in prolonged downtime and potential data loss from the last snapshot. This approach also provides no scaling mechanism to handle peak business hours, so it does not fulfill either the resilience or the automatic capacity requirement.
When this WOULD be correct
This option would be correct for a question asking to minimize cost for a non-critical application that can tolerate downtime, where the requirement is to recover from a disaster rather than provide continuous availability.
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 workload as a virtual machine scale set instead of a standalone VM.Correct answer▾
Why this is correct
A virtual machine scale set is the Azure compute service that manages a group of identical, load-balanced VMs as a single logical resource, enabling horizontal scaling and high availability. Unlike a standalone VM, a scale set can automatically replace failed instances, distribute across availability zones, and integrate with Azure Load Balancer for continuous service. This architecture directly satisfies the requirement for a stateless web tier to survive a datacenter outage by providing redundant, automatically maintained instances.
✗Place all instances in a single availability set and scale them manually.Wrong answer — click to see why▾
Why this is wrong here
Placing all instances in a single availability set does not survive a datacenter outage because availability sets protect against rack-level failures within a single datacenter, not across datacenters. Manual scaling also fails to meet the requirement for automatic increase during business hours.
★ When this WOULD be the correct answer
This option would be correct if the question required high availability within a single datacenter (e.g., protecting against rack failures) and did not mandate automatic scaling. For example: 'A legacy application must be deployed across multiple fault domains in one datacenter with manual scaling.'
Why candidates choose this
Candidates may confuse availability sets with availability zones, thinking that spreading instances across fault domains provides datacenter redundancy. Manual scaling might be chosen if they overlook the autoscaling requirement or assume manual control is sufficient.
✗Deploy only one zonal VM and use snapshots to recover if the datacenter fails.Wrong answer — click to see why▾
Why this is wrong here
A single zonal VM cannot survive a datacenter outage because it is tied to one zone; snapshots do not provide automatic failover or high availability. The question requires surviving a datacenter outage, which demands redundancy across zones.
★ When this WOULD be the correct answer
This option would be correct for a question asking to minimize cost for a non-critical application that can tolerate downtime, where the requirement is to recover from a disaster rather than provide continuous availability.
Why candidates choose this
Candidates may think snapshots are sufficient for disaster recovery, overlooking the need for automatic failover and the requirement to survive an outage without manual intervention.
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
Azure Virtual Machine Deployment
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
One of 1,049 original AZ-104 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
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.