Soru

Zorluk: KolayScale Azure App Service Web Apps

A company hosts a web application on an Azure App Service Web App that currently runs on the Shared (D1D1) pricing tier. You are tasked with configuring the web app to automatically scale out (add more instances) when CPU usage exceeds 80%80\% and scale in when CPU usage falls below 30%30\%.

Which two actions should you perform to meet these requirements?

  1. Scale up the App Service plan to the Standard (S1S1) pricing tierCevap
  2. Configure autoscale rules with scale-out and scale-in conditions based on the CPU Percentage metricCevap
  3. C
    Configure autoscale rules directly on the Shared (D1D1) pricing tier to scale out based on CPU usage
  4. D
    Scale up the App Service plan to the Basic (B1B1) pricing tier and configure the autoscale rules

Cevap

To meet the requirements, you must scale up the App Service plan to the Standard (S1S1) pricing tier and configure autoscale rules based on the CPU Percentage metric.
To implement autoscale rules, the App Service plan must be scaled up to at least the Standard (S1S1) tier because the Shared (D1D1) and Basic (B1B1) tiers do not support autoscale. Once on a supported tier, autoscale rules must be configured with both scale-out and scale-in conditions based on the CPU Percentage metric to handle the load characteristics dynamically.

Adım Adım Çözüm

1
Evaluate the current App Service pricing tier for autoscale support.
The Shared (D1D1) pricing tier does not support scaling out. The Basic (B1B1) pricing tier supports manual scale-out but does not support autoscale rules. The Standard (S1S1) pricing tier is the minimum tier that supports autoscale rules.
Choosing the correct pricing tier is required before autoscale rules can be configured.
2
Configure the autoscale conditions.
Create a scale-out rule for CPU usage above 80%80\% and a scale-in rule for CPU usage below 30%30\% using the CPU Percentage metric.
This implements the automatic scaling behavior required by the load characteristics.

Anahtar Kavram

Pricing tier requirements for Azure App Service autoscale rules
Bu soruyu puanla