You run a Web App in Azure App Service with production and staging deployment slots. For routine CI/CD releases, the app should automatically promote the staging slot to production after the deployment completes and the app is warmed up. Occasionally during maintenance windows, you want to validate and warm up the staging slot with production settings, test it under production traffic mappings, and then decide whether to complete or cancel the swap. What should you do?
Choose an answer
Tap an option to check your answer.
Correct answer: Enable Auto Swap from the staging slot to the production slot so that each successful deployment to staging is automatically swapped into production after warm-up., Use Swap with preview when you need manual validation, verify the warmed staging slot under the production configuration, and then choose Complete swap or Cancel..
Why this is the answer
The question describes two distinct scenarios for deployment slot management. For routine CI/CD releases where automatic promotion is desired, enabling Auto Swap on the staging slot ensures that after a successful deployment and warm-up, the staging slot automatically becomes the production slot. This automates the release process. For occasional maintenance windows requiring manual validation and testing with production settings before committing to a swap, the "Swap with preview" feature is the correct choice. This allows you to route production traffic to the warmed-up staging slot for testing without actually swapping the slots, and then you can decide to complete or cancel the swap. Azure Traffic Manager is for global traffic distribution, not slot swaps within App Service. Disabling ARR Affinity is unrelated to the described swap scenarios. Run From Package reduces cold-start times but doesn't address the specific requirements for automated or preview-based slot swaps.
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