Microsoft DevOps Engineer Expert AZ-400 Practice Question
You administer an Azure App Service web app that processes millions of real-time purchase requests each day. Deployment of a new build must meet the following requirements:
The build must be validated under the same compute resources and connection strings that are used in production before any customer traffic is routed to it.
No user-perceived downtime or cold-start latency is acceptable during the rollout.
If a critical bug is detected after the rollout starts, rollback must finish in less than 10 seconds.
Which deployment approach should you use to satisfy all of the requirements?
Create a new App Service plan in the same region, deploy the build there, and update the application's public DNS record to the new plan's endpoint.
Perform an in-place deployment directly to the production slot and rely on the App Service automatic restart behavior for availability.
Configure a rolling upgrade that sequentially removes instances from the load balancer, deploys the build, and adds the instances back.
Deploy the build to a staging deployment slot, warm it up, and perform a Swap with preview, reversing the swap if a fault is found.
Deploying the new build to a deployment slot that shares the same App Service plan lets the code run on the identical hardware, network, and application settings as production. By using Swap with preview, you can warm up the staging slot, run smoke tests, and then complete the virtual IP (VIP) swap, keeping latency to a minimum because no app restarts occur on the production slot during the swap. If an issue is found after traffic begins flowing, reversing the swap is an instantaneous VIP operation that typically completes in seconds, meeting the rollback time-to-recover target. In-place upgrades or separate App Service plans introduce restart time or DNS propagation delays, and rolling updates at the load-balancer level do not give you an isolated slot that shares production configuration before cut-over.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a deployment slot in Azure App Services?
Open an interactive chat with Bash
What is Swap with Preview in Azure App Services?
Open an interactive chat with Bash
Why is rollback faster with Swap in Azure App Services?
Open an interactive chat with Bash
What is a deployment slot in Azure App Service?
Open an interactive chat with Bash
How does the Swap with preview feature work?
Open an interactive chat with Bash
What is the difference between an in-place deployment and using deployment slots?
Open an interactive chat with Bash
Microsoft DevOps Engineer Expert AZ-400
Design and implement build and release pipelines
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .