Azure Container Apps 10/90 revision traffic split with a warm minimum replica
Short answer
B Create a new revision for version 2, assign ingress traffic weights of 10 and 90 across the two revisions, and set the minimum replica count to one so a warm replica never scales to zero.
Question
Key Takeaways
Azure Container Apps revision traffic splitting plus a non-zero minimum replica count is what satisfies a 10/90 rollout that must avoid cold starts. Creating a second revision, weighting ingress traffic 10/90 across the two revisions, and pinning the minimum replica count to one is the correct configuration here, because replacing version 1 in place, changing only the image tag, or capping the maximum replica count at one cannot keep both versions live and warm.
Expert Analysis
A new revision preserves version 1 while providing an independently addressable version 2. Assigning traffic weights of 10 percent and 90 percent produces the required controlled rollout. Setting the minimum replica count to one keeps capacity ready instead of allowing every replica to scale to zero, thereby reducing cold-start exposure.
Traffic distribution in a container app is resolved at the ingress layer against revisions, not against container images or registry tags, so the only configuration that can hold version 1 at 90 percent while version 2 takes 10 percent is one that creates a second revision and then weights the two revisions. Option B does exactly that: version 2's image is deployed as a new revision, ingress weights of 10 and 90 are assigned across the two revisions, and the scale floor is raised to one so the app never idles at zero replicas.
The cold-start clause is what makes the scale setting load-bearing rather than incidental. Container apps default to a minimum replica count of zero, which allows every replica of a revision to be deactivated when no requests arrive; the next request then pays a startup penalty while a replica is provisioned and the image is pulled. Pinning the minimum to one keeps a single warm replica resident, so the 10 percent slice of production traffic reaches an already-running instance. The two settings also decouple the requirements cleanly: the weight split governs where traffic goes, while the minimum replica count governs whether anything is awake to receive it.
Why the distractors fail
Option A replaces version 1 in place. Once replaced, no revision remains to carry the 90 percent share and there is no path back without a redeploy — the opposite of a controlled rollout. Enabling scale-to-zero for all replicas adds a second violation by guaranteeing that no replica stays warm, contradicting the cold-start constraint outright.
Option C treats an image tag as a routing construct. A separate tag is only an artifact pointer in the registry; it changes nothing about which revision ingress sends requests to, and nothing in the platform moves traffic between versions automatically — weights are explicit values an operator sets. A new tag with no revision and no weights leaves version 1 serving 100 percent.
Option D conflates the scale ceiling with the scale floor. Setting the maximum replica count to one caps capacity at a single instance, so the app can neither serve the 90 percent majority reliably nor absorb a burst, and directing all traffic to version 2 discards the 10 percent requirement entirely.
The mechanism the option text leaves implicit
Ingress traffic weights are integer percentages attached to each revision the app targets, and the assigned set must total 100 — in CLI terms, one weight per revision suffix, such as 90 for version 1 and 10 for version 2. That is why the split is expressed as a pair rather than as a single "10 percent" toggle: the remainder is an explicit value, not an inference from what is left over. Because weights live on the ingress configuration and not inside the revision's image definition, a revision is never rebuilt to change its share of traffic. Shifting version 2 from 10 percent to 0, or back up, is an ingress update against already-deployed revisions, which is precisely what makes this pattern safe for a progressive rollout with an instant rollback path.
That same split of responsibilities explains why the minimum replica count cannot be judged on the traffic side. Weights answer the distribution question; the replica floor answers the availability question, and only the two together satisfy a requirement that names both a percentage and a readiness guarantee.
Official Reference
- https://learn.microsoft.com/en-us/azure/container-apps/traffic-splitting
- https://learn.microsoft.com/en-us/azure/container-apps/scale-app
These links open the official vendor documentation in a new tab.
Exam Strategy
Split multi-constraint Container Apps items into one knob per constraint before reading the options: a percentage requirement maps to ingress revision weights, and a readiness requirement maps to the minimum replica count. Then eliminate any option that routes by image tag instead of by revision, or that touches the maximum replica count when the stated concern is idleness. Options that bundle two opposite actions — such as cutting over version 1 in place while also enabling scale-to-zero — usually violate both constraints at once.
Related Analysis
Practice All AI-200 Questions
Access 69 questions with complete answers and detailed explanations.
View Full AI-200 Practice Test →