You manage a web application named LogiRoute that runs on a Standard (S2) App Service plan. The plan currently has 2 instances. You configure an autoscale scale-out rule to increase the instance count by 1 when the average CPU percentage exceeds . During a peak period, the average CPU utilization across the 2 instances reaches , triggering a scale-out event. You need to configure a scale-in rule to decrease the instance count by 1 when the load decreases, ensuring that the scale-in action does not immediately trigger another scale-out (preventing autoscale flapping). Assuming the total workload remains constant immediately after scaling, what is the maximum CPU percentage threshold you should set for the scale-in rule?
- A CPU percentage threshold of on the Standard (S2) App Service planAnswer
- BA CPU percentage threshold of on the Standard (S2) App Service plan
- CA CPU percentage threshold of on the Standard (S2) App Service plan
- DA CPU percentage threshold of on a Basic (B1) App Service plan
Answer
A CPU percentage threshold of on the Standard (S2) App Service plan
The correct option is correct because the total workload of is divided across 3 instances after scaling out, resulting in CPU load per instance. To prevent immediate scale-in (flapping), the scale-in threshold must be set below . A threshold of on a Standard (S2) plan is valid and prevents flapping.
Step-by-Step Solution
Key Concept
Autoscale flapping prevention and pricing tier constraints