Microsoft DevOps Engineer Expert AZ-400 Practice Question
You run a mission-critical web application on Azure App Service. To deploy a new version, you must meet all these requirements: keep the application available to users at all times, avoid exposing partially started instances, and enable an immediate rollback if unexpected errors appear. Which deployment approach satisfies the requirements with the least operational overhead?
Disable ARR affinity, scale the App Service Plan to twice the current instance count, and redeploy in place.
Enable auto-healing and deploy the new build to the production slot; rely on auto-healing to recycle unhealthy instances.
Redeploy the new build directly to the production slot, then restart the App Service with Always On enabled.
Deploy the new build to a staging deployment slot, verify health, and perform a VIP swap with the production slot.
Using a staging deployment slot lets you deploy the new build without touching the production slot. App Service automatically warms up the staging slot by routing requests to it, ensuring the code has started and health probes pass. When you initiate a VIP swap, the virtual IP addresses of the staging and production slots are exchanged almost instantaneously, so user connections are never dropped. If problems arise, you can perform another swap to roll back just as quickly. In-place restarts or scaling operations redeploy code on live instances and risk brief outages, and disabling ARR affinity does not in itself provide zero-downtime deployment.
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 VIP swap in Azure App Service?
Open an interactive chat with Bash
What are deployment slots in Azure App Service?
Open an interactive chat with Bash
How does Azure App Service ensure zero downtime during deployment?
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 .