AZ-104 · Question #245
You have an app named App1 that runs on an Azure web app named webapp1. The developers at your company upload an update of App1 to a Git repository named Git1. Webapp1 has the deployment slots shown…
The correct answer is A. Swap the slots D. Deploy the App1 update to webapp1-test, and then test the update. Deploying an app to a slot first(Test is this case) and swapping it into production makes sure that all instances of the slot are warmed up before being swapped into production. After a swap, the slot with previously staged app now has the previous production app. If the…
Question
Options
- ASwap the slots
- BDeploy the App1 update to webapp1-prod, and then test the update
- CStop webapp1-prod
- DDeploy the App1 update to webapp1-test, and then test the update
- EStop webapp1-test
How the community answered
(28 responses)- A79% (22)
- B11% (3)
- C4% (1)
- E7% (2)
Explanation
Deploying an app to a slot first(Test is this case) and swapping it into production makes sure that all instances of the slot are warmed up before being swapped into production. After a swap, the slot with previously staged app now has the previous production app. If the changes swapped into the production slot aren't as you expect, you can perform the same swap immediately to get your "last known good site" back.
Community Discussion
No community discussion yet for this question.