AZ-104 Deploy and Manage Azure Compute Practice Question
A stateless application must keep serving traffic if one datacenter in the region fails, and it must also add or remove instances during daily load spikes. Which two deployment choices should the administrator make? Select two.
⚠ Common exam trap
Many exam-takers confuse availability sets (which protect against rack-level failures within a single datacenter) with availability zones (which protect against entire datacenter failures), leading them to pick a single availability set as sufficient for datacenter failure 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
✓
Deploy the application on a virtual machine scale set.
A virtual machine scale set (VMSS) allows automatic scaling of instances in response to load spikes, meeting the requirement to add or remove instances dynamically. Combined with availability zones, which distribute instances across physically separate datacenters within a region, the application remains available even if one entire datacenter fails. This pair ensures both high availability and elastic scaling for a stateless application.
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 application on a virtual machine scale set.
Why this is correct
An Azure virtual machine scale set (VMSS) deploys a group of identical, stateless VMs behind a load balancer and can automatically scale instances in or out based on demand. It spreads instances across fault domains and update domains, so hardware failures or maintenance events affect only a subset of instances while traffic continues to be served by the healthy ones. Because the app is stateless, instances can be freely added or removed without data consistency issues.
- ✓
Configure the deployment to use availability zones.
Why this is correct
Availability zones are physically separate locations within an Azure region, each with its own power, cooling, and network. Deploying your VMs across two or more zones protects against an entire datacenter failure, as traffic can be redirected to instances in another zone. This configuration yields a higher service-level agreement than single-zone or single-datacenter deployments and is a core part of a resilient architecture.
- ✗
Use a single availability set with one VM to reduce complexity.
Why it's wrong here
An availability set with a single VM still has only one fault domain and update domain, leaving no redundant capacity to absorb a hardware failure or maintenance reboot. Regardless of the availability set membership, a single instance is a single point of failure, and the setup cannot scale out to handle increased load. Availability sets are designed for distributing multiple VMs; placing just one VM in them provides no protection.
When this WOULD be correct
For a legacy application that is not stateless and cannot be distributed, and where cost is the primary concern with no high availability or scaling requirements, deploying a single VM in an availability set might be acceptable.
- ✗
Use a proximity placement group for the workload.
Why it's wrong here
A proximity placement group reduces network latency by co-locating VMs in the same Azure datacenter or within a small network distance. However, that tight co-location increases the blast radius: a failure in that shared infrastructure can take down every VM in the group simultaneously. It does not offer zone or fault-domain independence and does not support autoscaling, so it is not a suitable mechanism for resilience.
- ✗
Deploy one larger VM with a premium SSD instead of multiple instances.
Why it's wrong here
Scaling up to one very large VM with premium SSD does not address availability; if that VM fails, crashes, or is rebooted for planned maintenance, the application becomes completely unavailable. Premium SSDs optimize disk performance and IOPS, not fault tolerance, and a single VM cannot maintain concurrent connections if it goes down. Distributing load across multiple independent instances is required to achieve resilience.
When this WOULD be correct
If the question required maximizing performance for a single, non-distributed workload with strict latency requirements and no need for high availability or scalability, deploying one large VM with premium SSD would be correct.
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 application on a virtual machine scale set.Correct answer▾
Why this is correct
An Azure virtual machine scale set (VMSS) deploys a group of identical, stateless VMs behind a load balancer and can automatically scale instances in or out based on demand. It spreads instances across fault domains and update domains, so hardware failures or maintenance events affect only a subset of instances while traffic continues to be served by the healthy ones. Because the app is stateless, instances can be freely added or removed without data consistency issues.
✗Use a single availability set with one VM to reduce complexity.Wrong answer — click to see why▾
Why this is wrong here
A single availability set with one VM provides no redundancy; if the datacenter fails, the application goes down, and it cannot scale out to handle load spikes.
★ When this WOULD be the correct answer
For a legacy application that is not stateless and cannot be distributed, and where cost is the primary concern with no high availability or scaling requirements, deploying a single VM in an availability set might be acceptable.
Why candidates choose this
Candidates may think an availability set offers high availability even with one VM, or they may confuse availability sets with availability zones, believing it protects against datacenter failure.
✗Deploy one larger VM with a premium SSD instead of multiple instances.Wrong answer — click to see why▾
Why this is wrong here
Deploying one larger VM with premium SSD does not provide high availability across datacenters or scalability for load spikes; it creates a single point of failure and cannot dynamically add/remove instances.
★ When this WOULD be the correct answer
If the question required maximizing performance for a single, non-distributed workload with strict latency requirements and no need for high availability or scalability, deploying one large VM with premium SSD would be correct.
Why candidates choose this
Candidates may think a larger VM with premium SSD offers better performance and reliability, overlooking the need for redundancy and elastic scaling across datacenters.
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
Availability
Availability is the measure of how often a system or service is operational and accessible when needed, typically expressed as a percentage of uptime.
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 →
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.