Question

Difficulty: MediumScale Azure App Service Web Apps

An organization deploys a web application named `InvoiceProcessorApp` to an Azure App Service. The application is hosted on a Basic (B1B1) App Service plan. During monthly billing cycles, the application experiences brief but severe CPU utilization spikes, leading to slow response times for users. You need to implement a solution that automatically scales the application out by adding instances when CPU utilization exceeds 75%75\% and scales in when CPU utilization drops.

What should you do first?

  1. Scale up the App Service plan to the Standard (S1S1) tier.Answer
  2. B
    Configure an autoscale rule based on the CPU Percentage metric on the existing Basic (B1B1) plan.
  3. C
    Manually increase the instance count of the App Service plan to three instances.
  4. D
    Enable the scale-up setting on the App Service plan to automatically transition to a Premium (P1v2P1\text{v}2) tier during CPU spikes.

Answer

Scale up the App Service plan to the Standard (S1S1) tier.
To configure automatic scaling (autoscale) rules based on metrics such as CPU Percentage, the App Service plan must be in the Standard (S1S1) tier or higher. The Basic tier only supports manual scaling (up to three instances). Therefore, you must first scale up the App Service plan to the Standard (S1S1) tier.

Step-by-Step Solution

1
Determine the scaling capabilities of the current Basic (B1B1) App Service plan.
The Basic tier only supports manual scaling up to a maximum of three instances.
Before configuring autoscale, we must check if the current tier supports the feature.
2
Identify the minimum pricing tier required for autoscale rules.
The Standard (S1S1) tier is the minimum tier that supports metric-based autoscale rules.
To automate instance scaling based on CPU metrics, the plan must support autoscale rules.
3
Select the correct first action to take.
The App Service plan must be scaled up to the Standard (S1S1) tier before any autoscale rules can be configured.
This establishes the prerequisite platform capability for automatic scaling.

Key Concept

Pricing tier requirements for configuring Azure App Service autoscale rules.
Estimated Time:1m 30s
Rate this question