An organization hosts a web application named `FleetTelemetryAPI` on an App Service plan that is currently configured for the Basic () pricing tier. During peak operation hours, the application experiences CPU usage spikes that degrade performance. The administrator wants to configure autoscale rules to automatically scale out the application when CPU utilization is high, and scale it back in when demand decreases, ensuring that the configuration prevents flapping.
Which two of the following actions should you perform? (Select two.)
- Scale up the App Service plan to the Standard () tier or higher.Cevap
- Configure a scale-out rule to increase the instance count when CPU usage exceeds , and a scale-in rule to decrease the instance count when CPU usage drops below .Cevap
- CConfigure a scale-out rule to increase the instance count when CPU usage exceeds , and a scale-in rule to decrease the instance count when CPU usage drops below .
- DConfigure Azure Monitor autoscale rules directly on the existing Basic () App Service plan to scale out based on CPU usage.
Cevap
Scale up the App Service plan to the Standard () tier or higher, and configure a scale-out rule to increase the instance count when CPU usage exceeds , and a scale-in rule to decrease the instance count when CPU usage drops below .
Scaling out (horizontal scaling) and autoscale features require at least the Standard () tier of Azure App Service, as the Basic () tier only supports manual scale-up/down. Additionally, to prevent autoscale flapping, the scale-in metric threshold must be sufficiently lower than the scale-out threshold so that scaling in does not immediately trigger another scale-out event.
Adım Adım Çözüm
Anahtar Kavram
Azure App Service Scaling Tiers and Autoscale Flapping Prevention