Soru

Zorluk: OrtaScale Azure App Service Web Apps

You host a file compression utility named ZipArchiver on an Azure App Service Web App. The web app currently runs on a Basic (B2) App Service plan. During daytime operations, CPU utilization frequently spikes to 85%, causing request queues to build up. You need to configure the Web App to automatically scale out when CPU utilization exceeds 80% for more than 10 minutes, and scale in when CPU utilization drops below 40%.

What should you do first?

  1. A
    Configure an autoscale setting with a scale-out rule directly on the Basic (B2) plan.
  2. B
    Scale out the App Service plan manually to three instances using the Azure CLI.
  3. Scale up the App Service plan to the Standard (S1) tier.Cevap
  4. D
    Enable the Local Cache feature for the App Service Web App.

Cevap

Scale up the App Service plan to the Standard (S1) tier.
Scaling up the App Service plan to the Standard (S1) tier is the correct first step because the Basic tier does not support metric-based autoscale settings. Standard and higher tiers are required to configure automatic scale-out and scale-in actions based on CPU utilization.

Adım Adım Çözüm

1
Analyze the scaling requirement and the current pricing tier.
The requirement demands automatic scale-out and scale-in rules based on CPU utilization metrics, but the current plan is Basic (B2).
Different Azure App Service tiers support different scaling features; Basic only supports manual scale.
2
Evaluate the scaling capabilities of the Basic tier.
The Basic tier does not support metric-based autoscale rules.
To use autoscale rules, the App Service plan must support this capability.
3
Identify the minimum App Service tier that supports autoscale rules.
The Standard (S1) tier is the lowest tier that supports metric-based autoscale rules.
Upgrading the plan to the Standard tier is a necessary first step to allow configuring CPU-based autoscale rules.

Anahtar Kavram

Azure App Service scaling tiers and autoscale capabilities
Tahmini Süre:1m 30s
Bu soruyu puanla