An organization runs a CPU-intensive background job processing application on an Azure App Service Web App that currently uses the Basic (B2) pricing tier. During business hours, the processing queue grows rapidly, causing delays. You must implement an autoscaling strategy that automatically scales the application out up to a maximum of instances when CPU utilization spikes, and scales in when demand drops. The solution must minimize monthly hosting costs and prevent autoscale flapping.
Which scaling configuration should you recommend?
- Scale the App Service Plan to the Standard (S1) tier. Configure a scale-out rule to increase the instance count by when the average CPU Percentage is greater than for minutes, and a scale-in rule to decrease the instance count by when the average CPU Percentage is less than for minutes.Cevap
- BScale the App Service Plan to the Standard (S1) tier. Configure a scale-out rule to increase the instance count by when the average CPU Percentage is greater than for minutes, and a scale-in rule to decrease the instance count by when the average CPU Percentage is less than for minutes.
- CScale the App Service Plan to the Basic (B3) tier. Configure a scale-out rule to increase the instance count by when the average CPU Percentage is greater than for minutes, and a scale-in rule to decrease the instance count by when the average CPU Percentage is less than for minutes.
- DScale the App Service Plan to the Premium V3 (P1v3) tier. Configure a scale-out rule to increase the instance count by when the average CPU Percentage is greater than for minutes, and a scale-in rule to decrease the instance count by when the average CPU Percentage is less than for minutes.
Cevap
Scale the App Service Plan to the Standard (S1) tier. Configure a scale-out rule to increase the instance count by when the average CPU Percentage is greater than for minutes, and a scale-in rule to decrease the instance count by when the average CPU Percentage is less than for minutes.
The configuration using the Standard (S1) tier and a scale-in threshold is correct because the Standard tier is the lowest-cost tier that supports automated scale-out (up to instances). The scale-in threshold ensures that when scaling down from instances to instance, the CPU load of the remaining instance will not exceed the scale-out threshold, thereby preventing autoscale flapping.
Adım Adım Çözüm
Anahtar Kavram
App Service Plan pricing tier capabilities and autoscale rule configuration to prevent flapping.