To enable fast rollback to the previous version with minimal downtime for an Azure Web App deployed via Azure Pipelines, which deployment configuration should you use?
Choose an answer
Tap an option to check your answer.
Correct answer: A single Web App and two deployment slots.
Why this is the answer
Using a single Web App with two deployment slots (e.g., 'production' and 'staging') allows for seamless blue-green deployments. You deploy the new version to the staging slot, test it, and then swap the slots. If issues arise, swapping back to the previous production slot provides an immediate rollback with minimal downtime. This is a built-in feature of Azure App Service designed for this exact scenario. Two deployment pipelines don't inherently provide fast rollback; they define the deployment process. Two separate Web Apps with a load balancer or Traffic Manager could work but introduce more management overhead and cost compared to deployment slots, which are specifically designed for this within a single App Service Plan.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed