Microsoft Azure Developer Associate AZ-204 Practice Question
You build a new Docker image called myacr.azurecr.io/api:20230920 and push it to an Azure Container Registry (ACR). An existing Linux App Service web app named api-prod was originally created by selecting the Docker Container option and is currently running an earlier tag of the same image. As part of your release pipeline, you must instruct the web app to pull and run the new image tag immediately after the push to ACR completes. Which configuration property of the web app should the pipeline update?
The site configuration property javaContainer.
The site configuration property linuxFxVersion.
The application setting WEBSITE_RUN_FROM_PACKAGE.
The application setting SCM_DO_BUILD_DURING_DEPLOYMENT.
For a Web App for Containers that runs on Linux, the container image (including tag) that the app should pull is stored in the site configuration property called linuxFxVersion. Tools such as the Azure CLI command "az webapp config container set" or the Azure/webapps-container-deploy GitHub Action internally modify this property to something like "DOCKER|myacr.azurecr.io/api:20230920". WEBSITE_RUN_FROM_PACKAGE is used for Zip deployments, SCM_DO_BUILD_DURING_DEPLOYMENT triggers an App Service build for code-based deployments, and javaContainer applies only to Java stacks, so none of those settings cause the web app to switch to a new container image.
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 the linuxFxVersion configuration property used for?
Open an interactive chat with Bash
How does the az webapp config container set command work?
Open an interactive chat with Bash
Why is WEBSITE_RUN_FROM_PACKAGE not suitable for container-based apps?
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 .