AZ-104 Question 169
Single answerYou have created an Azure App Service Web App for a .NET Core application. The development team wants to test new application versions with minimal downtime and easily roll back if needed. Which Azure App Service feature enables you to deploy to a non-production slot and then seamlessly swap to production?
- A
Deployment Slots
- B
Application Insights
- C
App Service Environment
- D
Continuous Integration
Show answer and explanation
Correct answer: A
Explanation
Deployment Slots are a crucial feature of Azure App Service that allow you to test new versions in isolation and then swap them to production without any downtime, making it easy to roll back if needed.
- A. Correct.
Deployment Slots let you deploy your code to a staging slot, test it, and then swap it with production for minimal downtime or quick rollback.
- B. Incorrect.
Application Insights is for monitoring and diagnosing performance issues, not for staging and swapping deployments.
- C. Incorrect.
An App Service Environment is an isolated environment used for scaling high-security workloads, not specifically for staging and swapping.
- D. Incorrect.
Continuous Integration automates code building and testing, but does not provide a staging-to-production swap mechanism.