Question

Difficulty: EasyConfigure Azure App Services

You host a web application in an Azure App Service web app. During peak hours, the web application experiences high traffic, causing the CPU utilization of the hosting App Service plan to reach 90%. You need to configure the App Service plan to automatically add more virtual machine instances to distribute the load. Which scaling action should you configure?

  1. Scale outAnswer
  2. B
    Scale up
  3. C
    Scale in
  4. D
    Scale down

Answer

Scale out
Scaling out is a horizontal scaling action that adds more virtual machine instances to the App Service plan, allowing the web app to handle higher traffic by distributing the load across multiple instances.

Step-by-Step Solution

1
Analyze the requirement to add more virtual machine instances to distribute the traffic load.
This requires horizontal scaling, which increases the instance count.
Horizontal scaling distributes load across multiple virtual machine instances.
2
Differentiate between horizontal and vertical scaling actions.
Scaling out corresponds to horizontal scaling (adding instances), whereas scaling up corresponds to vertical scaling (increasing size).
Vertical scaling (scaling up) changes the pricing tier or hardware specification but maintains the same instance count.
3
Identify the correct direction of horizontal scaling.
Scaling out increases the instance count, while scaling in decreases the instance count.
Since the system is under high CPU load, we need to increase capacity by scaling out.

Key Concept

Horizontal scaling (scaling out) vs. Vertical scaling (scaling up) in Azure App Service
Estimated Time:45s
Rate this question