Question

Difficulty: MediumConfigure Azure App Service Web Apps

You are configuring CPU-based autoscale rules for an Azure App Service web application to handle variable traffic spikes while preventing service instability caused by rapid, back-to-back scaling actions (flapping). Which of the following configuration settings should you implement? (Select TWO.)

  1. A scale-out rule triggered when CPU utilization exceeds 85%85\%, and a scale-in rule triggered when CPU utilization drops below 50%50\%.Answer
  2. A scale-cool-down duration of 1010 minutes to allow metrics to stabilize after any scaling operation.Answer
  3. C
    A scale-out rule triggered when CPU utilization exceeds 60%60\%, and a scale-in rule triggered when CPU utilization drops below 70%70\%.
  4. D
    A cool-down duration of 00 minutes to ensure the application immediately responds to traffic spikes.

Answer

Configure a scale-out threshold that is significantly higher than the scale-in threshold, and set an adequate cool-down duration to allow the system metrics to stabilize.
Implementing a scale-out threshold of 85%85\% and a scale-in threshold of 50%50\% ensures there is a wide enough gap to prevent immediate scaling-in after scale-out. A cool-down duration of 1010 minutes allows metrics to stabilize before another scaling event is considered.

Step-by-Step Solution

1
Evaluate the relationship between scale-out and scale-in thresholds.
Confirm that the scale-out threshold is set higher than the scale-in threshold with a sufficient margin.
If the scale-in threshold is higher than or too close to the scale-out threshold, the additional capacity from scaling out will immediately reduce average CPU usage and trigger a scale-in event, causing a flapping loop.
2
Establish a cool-down period.
Implement a positive cool-down duration (such as 1010 minutes).
This allows newly provisioned instances enough time to boot, initialize, and begin handling incoming requests, stabilizing telemetry metrics before another autoscale decision is evaluated.

Key Concept

Azure App Service Autoscale Rule and Flapping Prevention Configuration
Rate this question