Microsoft Azure Developer Associate AZ-204 Practice Question
You have an Azure Container App named orders-api that was created by using the default settings. You plan to deploy an updated container image and gradually shift 20 percent of incoming traffic to the new revision while the remaining 80 percent continues to use the current revision. Before deploying the new image, which change must you make to the existing container app to support this traffic-splitting strategy?
Change the revisionMode setting of orders-api to multiple.
Create a second container app for the new image and configure an Azure Traffic Manager profile to distribute 20 percent of traffic to it.
Add a new autoscale rule with the canary policy type.
Enable the Dapr sidecar and add a component that defines canary percentages.
Azure Container Apps supports traffic-splitting across revisions only when revision management is set to multiple. The default setting for a newly created container app is single, which keeps only the latest revision active and routes all traffic to it. Changing the container app's revisionMode property to multiple (for example by running "az containerapp update --revision-mode multiple" or by redeploying with a YAML template that sets revisionMode: multiple) enables multiple active revisions and allows you to assign traffic weights such as 80/20. Enabling Dapr, configuring autoscale rules, or adding an external Azure Traffic Manager profile do not activate the built-in revision traffic-splitting capability, and creating a second container app would require DNS or gateway changes rather than the built-in percentage-based routing inside a single container app.
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 revisionMode setting in Azure Container Apps?
Open an interactive chat with Bash
How does traffic-splitting work in Azure Container Apps?
Open an interactive chat with Bash
Why is enabling Dapr not suitable for traffic-splitting in this scenario?
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 .