Question

Difficulty: MediumConfigure Azure App Services

You have a web application named `app-portal` hosted on an Azure App Service plan named `asp-portal`. The App Service plan is currently configured for the Basic (B1B1) pricing tier.

You need to implement a deployment slot named `staging` for the web app and route 10%10\% of the production web traffic to the `staging` slot for testing purposes.

Which two actions should you perform? (Select two.)

  1. Scale up the App Service plan `asp-portal` to the Standard (S1S1) pricing tier.Answer
  2. In the settings of `app-portal`, add a deployment slot named `staging` and set its Traffic % to 1010.Answer
  3. C
    Create a separate App Service plan named `asp-staging` in the Standard (S1S1) pricing tier to host the `staging` slot.
  4. D
    Create an Azure Traffic Manager profile to route 10%10\% of the traffic to the `staging` slot.

Answer

To configure the staging slot and route 10%10\% of the traffic, you must scale up the App Service plan to the Standard (S1S1) pricing tier and add the staging slot with the Traffic % set to 1010 on the App Service.
To use deployment slots, the App Service plan must be scaled up to at least the Standard (S1S1) tier, as the Basic (B1B1) tier does not support slots. Once scaled up, adding a slot and setting its Traffic % to 1010 natively routes that proportion of traffic to the slot.

Step-by-Step Solution

1
Identify the pricing tier requirement for deployment slots.
Determine that the current Basic (B1B1) tier does not support deployment slots, whereas the Standard (S1S1) tier or higher is required.
Deployment slots are a feature of Standard, Premium, and Isolated App Service plans.
2
Scale up the App Service plan `asp-portal`.
The plan is upgraded from Basic (B1B1) to Standard (S1S1).
Enables deployment slot functionality and traffic routing features on the App Service.
3
Add the deployment slot and configure traffic routing.
A deployment slot named `staging` is added to `app-portal`, and its routing percentage is set to 10%10\%.
Allows 10%10\% of incoming production traffic to be directed to the staging slot for testing.

Key Concept

App Service Deployment Slots and Pricing Tiers
Rate this question