Microsoft Azure Developer Associate AZ-204 Practice Question
You run a Linux-based Azure App Service web app named contoso-api. A staging slot is configured with auto-swap to production. You must ensure that the swap finishes only after every instance in the staging slot responds with HTTP 200 from the path /health. Which App Service setting should you add or update?
Enable ARR affinity cookies in the General settings.
Turn on Always On in the General settings.
Add the app setting WEBSITE_SWAP_WARMUP_PING_PATH with the value /health.
Configure the Health check path to /health under Monitoring.
During an auto-swap, Azure repeatedly sends warm-up requests to the path defined in the WEBSITE_SWAP_WARMUP_PING_PATH app setting. The swap completes only when every instance returns a status code listed in WEBSITE_SWAP_WARMUP_PING_STATUSES (200 by default if the setting is omitted). By setting WEBSITE_SWAP_WARMUP_PING_PATH to /health, you make the swap contingent on the /health endpoint returning HTTP 200 from all instances. ARR affinity, Always On, and the Health check feature do not control swap warm-up behavior.
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 staging slot in Azure App Service?
Open an interactive chat with Bash
How does WEBSITE_SWAP_WARMUP_PING_PATH work during an auto-swap?
Open an interactive chat with Bash
What is ARR affinity in Azure App Service, and why is it not relevant here?
Open an interactive chat with Bash
Microsoft Azure Developer Associate AZ-204
Develop Azure compute solutions
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 .