Developers pushed an update to App1 into Git1. webapp1 has deployment slots. To test the update before making it available to users, which two actions should you take?
Choose an answer
Tap an option to check your answer.
Correct answer: Swap the slots, Deploy the App1 update to webapp1-test and then test it.
Why this is the answer
To test an update without affecting the production environment, you should first deploy the update to a non-production slot. Therefore, deploying the App1 update to webapp1-test (a staging slot) allows for testing in an isolated environment. Once testing is complete and successful, you can then swap the webapp1-test slot with the webapp1-prod slot. This action instantly routes production traffic to the newly tested version in the former webapp1-test slot, while the previous production version moves to the webapp1-test slot, providing a quick rollback option if needed. Deploying directly to webapp1-prod would expose untested code to users. Stopping slots is not part of the standard deployment and testing process.
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