Soru

Zorluk: OrtaScale Azure App Service Web Apps

A backend service named ReportRunner handles report generation and is deployed to an Azure App Service Web App. The App Service is currently running on the Basic (B1) tier. During peak monthly billing cycles, report generation jobs stall because of resource constraints, and you must configure autoscale to automatically add instances when CPU utilization exceeds 70%70\%.

Which of the following actions should you perform first to support this requirement?

  1. Scale up the App Service plan to the Standard (S1) tier.Cevap
  2. B
    Enable autoscale rules directly on the Basic (B1) App Service plan using the CPU Percentage metric.
  3. C
    Scale out the Basic (B1) App Service plan to its maximum capacity of three instances to activate autoscale settings.
  4. D
    Scale up the App Service plan to the Standard (S1) tier, and configure a scale-out rule when CPU is above 70%70\% and a scale-in rule when CPU is below 75%75\%.

Cevap

Scale up the App Service plan to the Standard (S1) tier.
Scaling up the App Service plan to the Standard (S1) tier is correct because autoscale features, including rule-based scaling on metrics such as CPU Percentage, are not available in the Basic (B1) tier. The Basic tier only supports manual scaling up to three instances. Upgrading to the Standard tier is a prerequisite for configuring autoscale.

Adım Adım Çözüm

1
Verify the capabilities of the current App Service pricing tier.
Determine that the Basic (B1) tier only supports manual scaling up to three instances and does not support autoscale rules.
To evaluate if the current plan can host the required autoscale configuration.
2
Identify the minimum pricing tier required to enable automated metric-based scaling.
Determine that the Standard (S1) tier is the lowest tier that supports autoscale rules.
To establish the target tier for the scale-up action.
3
Ensure that the autoscale rules do not conflict or cause flapping.
Configure a scale-out rule at 70%70\% and a scale-in rule at a value significantly lower than 70%70\% (e.g., 50%50\%) on the new Standard plan.
To prevent the app service from constantly scaling out and scaling in repeatedly due to threshold overlap.

Anahtar Kavram

App Service Plan Tiers and Autoscale Configurations
Bu soruyu puanla