easymultiple choiceObjective-mapped

A company hosts a stateless web application behind a load balancer. Traffic increases during the day and drops at night. The team wants Azure to automatically add or remove identical VM instances based on demand. What should the administrator deploy?

Question 1easymultiple choice
Full question →

A company hosts a stateless web application behind a load balancer. Traffic increases during the day and drops at night. The team wants Azure to automatically add or remove identical VM instances based on demand. What should the administrator deploy?

Answer choices

Why each option matters

Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.

A

Distractor review

A single large virtual machine

A single VM can be resized, but it cannot automatically add more identical instances to handle changing traffic. It also creates a larger single point of failure. This does not meet the requirement for elastic scale-out and scale-in behavior.

B

Best answer

A virtual machine scale set

A virtual machine scale set is designed for deploying and managing multiple identical VMs as a group. It supports autoscaling rules so Azure can add or remove instances based on metrics such as CPU usage or scheduled demand. This is the best fit for a stateless web workload with changing traffic.

C

Distractor review

An availability set

An availability set improves VM placement for availability, but it does not automatically scale the number of instances. It helps with resilience, not elastic capacity management. You would still need to add or remove VMs manually.

D

Distractor review

A managed image

A managed image is used as a source for creating new VMs. It does not by itself provide autoscaling, traffic-based instance management, or a runtime platform for handling web traffic. It is part of the deployment process, not the scaling solution.

Common exam trap

Common exam trap: answer the scenario, not the keyword

Many certification questions include familiar terms but test a specific constraint. Read the exact wording before choosing an answer that is generally true but wrong for this case.

Technical deep dive

How to think about this question

This question should be treated as a scenario, not a definition check. Identify the problem, the constraint and the best action. Then compare each option against those facts.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.
  • Use explanations to understand the rule behind the answer.

TExam Day Tips

  • Underline the problem statement mentally.
  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Related practice questions

Related AZ-104 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

More questions from this exam

Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.

FAQ

Questions learners often ask

What does this AZ-104 question test?

Read the scenario before looking for a memorised answer.

What is the correct answer to this question?

The correct answer is: A virtual machine scale set — A virtual machine scale set is the right choice because it lets you manage a set of identical VMs and automatically scale the instance count based on demand. This is ideal for stateless workloads behind a load balancer, where each instance can serve any request. It provides both elasticity and easier operational management than standalone VMs. Why others are wrong: A single VM cannot scale out automatically. An availability set is about resilience, not autoscaling. A managed image helps you create VMs consistently, but it does not run the workload or manage capacity. The core requirement is automatic instance expansion and contraction, which VM scale sets provide.

What should I do if I get this AZ-104 question wrong?

Then try more questions from the same exam bank and focus on understanding why the wrong options are tempting.

Discussion

Loading comments…

Sign in to join the discussion.