Azure App Service Web Apps · AZ-204: Developing Solutions for Microsoft Azure Develop Azure Compute Solutions

A team wants to release a new version of an Azure App Service web app with minimal production downtime. The team has a staging slot and a production…

Practice question from Azure App Service Web Apps (AZ-204: Developing Solutions for Microsoft Azure Develop Azure Compute Solutions), with the correct answer and a step-by-step solution.

medium · MCQ · Q-EA14DF

A team wants to release a new version of an Azure App Service web app with minimal production downtime. The team has a staging slot and a production slot. Which deployment process best meets the requirement?

  1. A.Deploy the new version directly to the production slot and restart the web app.
  2. B.Deploy the new version to the staging slot, test it, and then swap the staging slot with the production slot.Correct answer
  3. C.Scale the production App Service plan down before deploying to the staging slot.
  4. D.Create a new App Service plan and manually copy the production files to it without using slots.

Solution

Deployment slots allow the new version to be deployed and tested before it receives production traffic. Swapping the staging and production slots promotes the validated version with minimal interruption.

More from Azure App Service Web Apps

All of Azure App Service Web Apps

Practise more Develop Azure Compute Solutions

Sign up free for adaptive practice on this chapter, with instant feedback and hints on every question.

Start practising free

Free to start · No credit card needed