Courseiva
Question 162 of 1,049
Deploy and Manage Azure ComputemediumMultiple ChoiceObjective-mapped

VMSS Autoscale Based on CPU Usage for Identical Web VMs

You need to deploy 20 identical Azure virtual machines that host the same web application. The solution must support automatic scale-out based on CPU usage and should minimize administrative overhead. What should you deploy?

Quick Answer

The answer is a Virtual Machine Scale Set (VMSS). This is the correct choice because VMSS is specifically designed to deploy and manage a group of identical, load-balanced VMs as a single resource, and it natively supports autoscale policies that trigger scale-out based on metrics like average CPU usage across all instances. On the AZ-104 exam, this scenario tests your understanding of when to choose VMSS over individual VMs or an availability set—the key trap is selecting individual VMs with a separate autoscale solution, which increases administrative overhead unnecessarily. Remember that VMSS minimizes overhead by handling VM creation, scaling rules, and load balancing together, making it ideal for identical web workloads. A quick memory tip: think "identical + autoscale = VMSS," and recall that the "S" in VMSS stands for "Scale Set," directly linking it to the scaling requirement.

⚠ Common exam trap

Candidates often confuse an availability set (which provides high availability but no scaling) with a scale set (which provides both scaling and high availability), or they mistakenly think deploying individual VMs in a resource group is simpler, ignoring the requirement for automatic scale-out and reduced administrative overhead.

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

A Virtual Machine Scale Set.

A Virtual Machine Scale Set (VMSS) is the correct choice because it automates the deployment and management of identical VMs, supports autoscaling based on CPU usage metrics, and minimizes administrative overhead by handling VM creation, load balancing, and scaling policies as a single resource. This aligns with the requirement for 20 identical VMs with automatic scale-out based on CPU usage.

Answer analysis

Option-by-option breakdown

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

  • 20 individual virtual machines in the same resource group.

    Why it's wrong here

    This requires more manual management and does not provide group autoscaling by default.

    When this WOULD be correct

    This option would be correct if the question required deploying a small number of VMs with different configurations or applications, and autoscaling was not needed. For example: 'You need to deploy two VMs running different operating systems for testing purposes.'

  • A Virtual Machine Scale Set.

    Why this is correct

    VM Scale Sets provide a managed group of identical VMs with autoscaling support.

  • An availability set.

    Why it's wrong here

    Availability sets improve redundancy for VMs but do not provide autoscaling or fleet management.

  • Azure Container Instances.

    Why it's wrong here

    This changes the compute model and does not fit the requirement for identical virtual machines.

    When this WOULD be correct

    You need to deploy a microservice application in containers with fast startup times and minimal management overhead, and the scaling requirements are handled externally (e.g., by Azure Container Apps or a manual trigger). The question would specify 'containerized application' and 'no need for automatic VM-level scaling'.

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.

A Virtual Machine Scale Set.Correct answer

Why this is correct

VM Scale Sets provide a managed group of identical VMs with autoscaling support.

20 individual virtual machines in the same resource group.Wrong answer — click to see why

Why this is wrong here

Managing 20 individual VMs requires manual configuration and lacks built-in autoscaling; it increases administrative overhead and does not meet the requirement for automatic scale-out based on CPU usage.

★ When this WOULD be the correct answer

This option would be correct if the question required deploying a small number of VMs with different configurations or applications, and autoscaling was not needed. For example: 'You need to deploy two VMs running different operating systems for testing purposes.'

Why candidates choose this

Candidates may think deploying individual VMs is simpler or more familiar, and they might overlook the autoscaling requirement or underestimate the administrative overhead of managing many VMs separately.

Azure Container Instances.Wrong answer — click to see why

Why this is wrong here

Azure Container Instances are designed for running containers without managing VMs, but they do not support automatic scale-out based on CPU usage natively; scaling requires additional orchestration like Azure Container Apps or Kubernetes, increasing administrative overhead.

★ When this WOULD be the correct answer

You need to deploy a microservice application in containers with fast startup times and minimal management overhead, and the scaling requirements are handled externally (e.g., by Azure Container Apps or a manual trigger). The question would specify 'containerized application' and 'no need for automatic VM-level scaling'.

Why candidates choose this

Candidates may think containers are always simpler and more scalable, overlooking that Azure Container Instances lack built-in autoscaling and are not ideal for identical VM workloads requiring CPU-based scale-out.

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 →

How Courseiva writes practice questions · Editorial policy

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 API runs on Azure VMs and experiences unpredictable traffic spikes during the day. The administrator must automatically add or remove identical VM instances based on CPU usage, and the platform should distribute instances across fault domains without manual placement. What should be used?

medium
  • A.Availability set
  • B.Virtual machine scale set
  • C.Availability zone
  • D.Proximity placement group

Why B: Virtual machine scale sets (VMSS) automatically manage identical VM instances and can scale out/in based on CPU usage metrics via autoscale rules. They distribute instances across fault domains automatically without manual placement, ensuring high availability during unpredictable traffic spikes.

Last reviewed: Jun 11, 2026

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.

Loading comments…

Sign in to join the discussion.

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.