Courseiva
Deploy and Manage Azure ComputemediumMultiple ChoiceObjective-mapped

AZ-104 Deploy and Manage Azure Compute Practice Question

A stateless web application is hosted on an Azure virtual machine scale set. Traffic is predictable: CPU usage stays below 20% overnight, then rises above 70% during business hours. The administrator wants the instance count to increase automatically when average CPU stays high for 10 minutes and to decrease after demand drops. What should be configured?

⚠ Common exam trap

It's easy for candidates to confuse availability sets or proximity placement groups with autoscaling, thinking they provide automatic instance count adjustments, when in fact they only address placement or fault tolerance.

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

Autoscale rules on the virtual machine scale set.

Autoscale rules on the virtual machine scale set allow the administrator to define a scale-out condition (e.g., average CPU > 70% for 10 minutes) and a scale-in condition (e.g., average CPU < 20% for a specified duration). This matches the requirement for automatic, metric-based scaling based on predictable traffic patterns.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • A proximity placement group for the scale set instances.

    Why it's wrong here

    A proximity placement group does not change instance count; it physically groups VMSS instances to minimize network latency between them. While it can improve performance for tightly coupled workloads, it tightly constrains scaling because all instances must be placed within the same group, and demand spikes cannot trigger adding instances. The described CPU pattern requires dynamic horizontal scaling, which proximity placement groups, as a placement construct, do not provide.

    When this WOULD be correct

    When the question requires minimizing network latency between VMs in a scale set for a latency-sensitive distributed application, such as a high-performance computing (HPC) workload, a proximity placement group would be the correct choice.

  • Manual scale operations only.

    Why it's wrong here

    Manual scale operations require an operator to change the VMSS capacity, such as through the Azure portal, CLI, or PowerShell. Unlike autoscale, there is no rule that reacts to CPU thresholds, so the described changing CPU pattern would go unaddressed until a human intervenes. Manual scaling also lacks the scheduling and notification features of autoscale, making it unsuitable for automatically adapting to workload peaks.

    When this WOULD be correct

    If the question specified that the workload is unpredictable and requires human judgment to avoid scaling thrashing, or if the organization has a policy requiring manual approval for all scaling changes, then manual scale operations would be the correct answer.

  • Autoscale rules on the virtual machine scale set.

    Why this is correct

    Autoscale rules on the virtual machine scale set correctly solve this. Azure VMSS can scale out and in automatically based on a metric such as average CPU percentage, with thresholds and duration windows. The autoscale engine reacts to the changing CPU pattern by adding or removing instances, and because the app is stateless, new instances can serve traffic immediately. This is the only option that provides the required automatic, metric-driven scaling.

  • An availability set with three update domains.

    Why it's wrong here

    An availability set with three update domains is a high-availability construct for standalone VMs, not an instance-count scaling mechanism. It distributes VMs across different update and fault domains so maintenance events don't take down all VMs, but the VMSS uses its own fault-domain and instance-distribution settings. Moreover, update domains only affect maintenance sequencing; they do not add or remove instances based on CPU load.

    When this WOULD be correct

    A question asks: 'You need to deploy two VMs running a line-of-business application that must remain available during Azure platform updates. What should you configure?' In that case, an availability set with multiple update domains ensures that not all VMs are updated simultaneously.

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.

Autoscale rules on the virtual machine scale set.Correct answer

Why this is correct

Autoscale rules on the virtual machine scale set correctly solve this. Azure VMSS can scale out and in automatically based on a metric such as average CPU percentage, with thresholds and duration windows. The autoscale engine reacts to the changing CPU pattern by adding or removing instances, and because the app is stateless, new instances can serve traffic immediately. This is the only option that provides the required automatic, metric-driven scaling.

A proximity placement group for the scale set instances.Wrong answer — click to see why

Why this is wrong here

A proximity placement group reduces network latency between VMs but does not provide automatic scaling based on CPU usage, which is required to handle the predictable traffic pattern described.

★ When this WOULD be the correct answer

When the question requires minimizing network latency between VMs in a scale set for a latency-sensitive distributed application, such as a high-performance computing (HPC) workload, a proximity placement group would be the correct choice.

Why candidates choose this

Candidates may confuse placement groups with scaling configurations, thinking that grouping instances together helps with performance during scaling, but they do not automate instance count adjustments.

Manual scale operations only.Wrong answer — click to see why

Why this is wrong here

Manual scaling requires an administrator to manually change the instance count, which does not meet the requirement for automatic scaling based on CPU thresholds.

★ When this WOULD be the correct answer

If the question specified that the workload is unpredictable and requires human judgment to avoid scaling thrashing, or if the organization has a policy requiring manual approval for all scaling changes, then manual scale operations would be the correct answer.

Why candidates choose this

Candidates might think manual scaling is simpler or more reliable, or they may confuse manual scaling with scheduled scaling, not realizing that autoscale rules are needed for automatic response to CPU metrics.

An availability set with three update domains.Wrong answer — click to see why

Why this is wrong here

An availability set with three update domains is used to ensure high availability for VMs during planned maintenance, not for autoscaling based on CPU usage. It does not provide automatic scaling of instance count.

★ When this WOULD be the correct answer

A question asks: 'You need to deploy two VMs running a line-of-business application that must remain available during Azure platform updates. What should you configure?' In that case, an availability set with multiple update domains ensures that not all VMs are updated simultaneously.

Why candidates choose this

Candidates may confuse availability sets with scale sets, thinking that update domains help manage scaling, or they may assume that any high-availability feature can handle load changes.

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 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 →

How Courseiva writes practice questions · Editorial policy

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.