A cloud architect is designing a performance optimization strategy for a critical REST API hosted on an Azure App Service. The API currently runs on a Basic () App Service plan. During seasonal promotions, the API experiences high CPU utilization, and the team wants to implement a dynamic scaling solution. The configuration must automatically add instances when average CPU exceeds , remove instances during low-load periods, and prevent autoscale flapping. Which two actions should be performed to meet these requirements? (Select two.)
- Change the App Service plan pricing tier to Standard () or higher.Cevap
- Ensure the scale-in CPU threshold is less than the scale-out CPU threshold multiplied by the ratio of current instances to post-scale-out instances.Cevap
- CConfigure autoscale rules directly within the current Basic () tier.
- DSet the scale-in CPU threshold to a value equal to or greater than the scale-out CPU threshold.
Cevap
Change the App Service plan pricing tier to Standard () or higher, and ensure the scale-in CPU threshold is less than the scale-out CPU threshold multiplied by the ratio of current instances to post-scale-out instances.
To enable autoscale rules, the App Service plan must be upgraded to the Standard tier or higher because the Basic tier only supports manual scaling. To prevent autoscale flapping, the scale-in CPU threshold must be set below the expected load drop that occurs when the plan scales out. This drop is calculated by multiplying the scale-out threshold by the ratio of current instances to post-scale-out instances.
Adım Adım Çözüm
Anahtar Kavram
Autoscale rules and tier support in Azure App Service