nerdexam
Microsoft

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…

Submitted by tyler.j· Mar 4, 2026Deploy and manage Azure compute resources

Question

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 in the following table. You need to ensure that the App1 update is tested before the update is made available to users. Which two actions should you perform? Each correct answer presents part of the solution.

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)
  • A
    79% (22)
  • B
    11% (3)
  • C
    4% (1)
  • E
    7% (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.

Full AZ-104 Practice