Create a Staging Slot for Azure App Service Plan and Web App | Exam AZ-104: Microsoft Azure Administrator

Create a Staging Slot for Plan1

Question

You create an App Service plan named Plan1 and an Azure web app named webapp1.

You discover that the option to create a staging slot is unavailable.

You need to create a staging slot for Plan1.

What should you do first?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

A

The app must be running in the Standard, Premium, or Isolated tier in order for you to enable multiple deployment slots.

If the app isn't already in the Standard, Premium, or Isolated tier, you receive a message that indicates the supported tiers for enabling staged publishing. At this point, you have the option to select Upgrade and go to the Scale tab of your app before continuing.

Scale up: Get more CPU, memory, disk space, and extra features like dedicated virtual machines (VMs), custom domains and certificates, staging slots, autoscaling, and more.

Incorrect:

Scale out: Increase the number of VM instances that run your app. You can scale out to as many as 30 instances

https://docs.microsoft.com/en-us/azure/app-service/deploy-staging-slots https://docs.microsoft.com/en-us/azure/app-service/manage-scale-up

The option to create a staging slot for an Azure Web App is only available if the App Service Plan that the web app is hosted on is in a Basic, Standard, Premium, or Isolated pricing tier. The Free and Shared pricing tiers do not support staging slots.

Therefore, the first thing to check is the pricing tier of the App Service Plan. If it is in the Free or Shared tier, the option to create a staging slot will not be available. To create a staging slot, you will need to scale up the App Service plan to at least the Basic pricing tier.

Option A: From Plan1, scale up the App Service plan This option is correct. Scaling up the App Service plan to at least the Basic pricing tier will enable the option to create a staging slot.

Option B: From webapp1, modify the Application settings Modifying the Application settings of the web app will not enable the option to create a staging slot.

Option C: From webapp1, add a custom domain Adding a custom domain to the web app will not enable the option to create a staging slot.

Option D: From Plan1, scale out the App Service plan Scaling out the App Service plan (increasing the number of instances) will not enable the option to create a staging slot.

Therefore, the correct answer is A. From Plan1, scale up the App Service plan.