Microsoft Azure Developer Associate AZ-204 Practice Question
You have an Azure App Service for Linux that runs a custom container image stored in Azure Container Registry (ACR). Developers frequently push new versions of the image by overwriting the existing "latest" tag. You must ensure the web app automatically pulls and runs the updated image each time the tag is pushed, without any manual steps. Which action should you take?
Enable Continuous Deployment for the ACR image in Deployment Center, allowing a registry webhook to redeploy the web app automatically.
Set the app setting WEBSITES_CONTAINER_START_TIME_LIMIT to 0 so App Service re-pulls the container image each time it starts.
Package the application code into a zip file and deploy it with Run-From-Package.
Create a staging deployment slot and configure autoswap to production whenever the slot restarts.
When you enable Continuous Deployment for an ACR-based image in the App Service Deployment Center, the portal creates a webhook in the registry that targets the web app. Every time the specified tag is pushed, ACR sends the webhook, which triggers App Service to pull and start the new image automatically. Changing WEBSITES_CONTAINER_START_TIME_LIMIT only affects the startup timeout and does not trigger image refreshes. Run-From-Package deploys code, not containers. Autoswap between deployment slots orchestrates slot traffic changes but does not cause the app to detect a new image in the registry.
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 Azure Deployment Center, and how does it enable Continuous Deployment?
Open an interactive chat with Bash
What is a webhook, and how is it used in Azure Continuous Deployment?
Open an interactive chat with Bash
Why doesn't changing the WEBSITES_CONTAINER_START_TIME_LIMIT trigger image refreshes?
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 .