nerdexam
Microsoft

AZ-104 · Question #32

You have an Azure web app named App1. App1 has the deployment slots shown in the following table: In webapp1-test, you test several changes to App1. You back up App1. You swap webapp1-test for…

The correct answer is B. Swap the slots. When you swap deployment slots, Azure swaps the Virtual IP addresses of the source and destination slots, thereby swapping the URLs of the slots. We can easily revert the deployment by https://docs.microsoft.com/en-us/azure/app-service/deploy-staging-slots

Submitted by alyssa_d· Mar 4, 2026Deploy and manage Azure compute resources

Question

You have an Azure web app named App1. App1 has the deployment slots shown in the following table: In webapp1-test, you test several changes to App1. You back up App1. You swap webapp1-test for webapp1-prod and discover that App1 is experiencing performance issues. You need to revert to the previous version of App1 as quickly as possible. What should you do?

Options

  • ARedeploy App1
  • BSwap the slots
  • CClone App1
  • DRestore the backup of App1

How the community answered

(33 responses)
  • A
    9% (3)
  • B
    85% (28)
  • C
    3% (1)
  • D
    3% (1)

Explanation

When you swap deployment slots, Azure swaps the Virtual IP addresses of the source and destination slots, thereby swapping the URLs of the slots. We can easily revert the deployment by https://docs.microsoft.com/en-us/azure/app-service/deploy-staging-slots

Community Discussion

No community discussion yet for this question.

Full AZ-104 Practice