You manage an Azure Virtual Machine Scale Set named `VMSS1` configured with Uniform orchestration mode. You configure an Azure Autoscale setting for `VMSS1` containing two profiles as shown in the following table:
| Profile Name | Minimum Capacity | Maximum Capacity | Scale-out Rule | Scale-in Rule | Schedule |
|---|---|---|---|---|---|
| Profile 1 (Default) | CPU > 80% (add 1) | CPU < 30% (remove 1) | Always active | ||
| Profile 2 (PeakHours) | CPU > 70% (add 2) | CPU < 40% (remove 2) | Monday-Friday, 08:00-18:00 |
On Monday at 07:55 AM, `VMSS1` has running instances, and the average CPU usage is . The average CPU usage remains stable at until 08:30 AM.
At 08:30 AM, what is the total number of running instances in `VMSS1`?
- A4
- 6Answer
- C8
- D12
Answer
6 running instances
When Profile 2 (PeakHours) becomes active at 08:00 AM on Monday, the autoscale engine evaluates the capacity limits. Because the current instance count of 4 is less than the minimum capacity of 6 defined in Profile 2, the scale set immediately scales out to 6 instances to meet the minimum capacity requirement. Since the CPU usage remains at 50% (which is between the 40% scale-in and 70% scale-out thresholds of Profile 2), no further scaling rules are triggered by 08:30 AM, resulting in a total of 6 running instances.
Step-by-Step Solution
Key Concept
Autoscale profile capacity boundaries and scheduling
Estimated Time:3m 0s