AZ-104 exam dumps

AZ-104 practice question 152 of 289

Microsoft Certified: Azure Administrator Associate. Associate level, Microsoft. Free question with the correct answer and a full explanation.

AZ-104 Question 152

Select 2

You manage a virtual machine scale set (VMSS) hosting a stateless web application with fluctuating user demand. You need to ensure the VMSS automatically adds instances when CPU usage spikes and removes instances when demand falls, all without interrupting the running application. Which two configurations should you implement?

  1. A

    Enable autoscale rules based on CPU metrics

  2. B

    Use rolling upgrades for instance updates

  3. C

    Configure ephemeral OS disks for all VM instances

  4. D

    Enable overprovisioning for the scale set

Show answer and explanation

Correct answers: A, B

Explanation

To automatically scale the virtual machine instances in response to changing load, autoscale rules based on performance metrics are required. Rolling upgrades help update VM instances with little or no service interruption. Ephemeral OS disks and overprovisioning are useful features but do not address the core requirement of automated, non-disruptive scaling.

  • A. Correct.

    Autoscale rules based on CPU usage allow the scale set to dynamically add or remove instances as usage patterns change.

  • B. Correct.

    Using rolling upgrades helps ensure updates proceed in batches without taking the entire application offline.

  • C. Incorrect.

    Ephemeral OS disks can improve performance but do not directly influence uninterrupted scaling or dynamic resource allocation.

  • D. Incorrect.

    Overprovisioning can speed up deployment times by initially creating extra VMs, but it does not inherently prevent application downtime or address CPU-based scaling events.

Timed practice exam

Take a AZ-104 practice test under exam conditions

60 questions in 60 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam