AI-200 practice question · Develop Containerized Solutions on Azure
A container app has two scale rules. An HTTP rule has concurrentRequests set to 50, and a custom azure-servicebus rule…
A container app has two scale rules. An HTTP rule has concurrentRequests set to 50, and a custom azure-servicebus rule has messageCount set to 10. During a batch import, HTTP traffic stays at about 20 concurrent requests, but the Service Bus queue grows to 200 messages. The app's maxReplicas setting has not been reached. What does Azure Container Apps do?
- AIt adds replicas, because a scaling event starts when any one of the configured rules is met
- BIt keeps the current replica count, because every configured rule must be met before scaling
- CIt ignores the queue rule, because an HTTP rule takes precedence over custom rules
- DIt rejects the configuration, because a revision supports only one active scale rule
Show the answer and explanation
Correct answer: A) It adds replicas, because a scaling event starts when any one of the configured rules is met
Azure Container Apps scales out as soon as any one of its configured scale rules is met (OR logic). A growing Service Bus backlog adds replicas even when HTTP load is below its threshold.
Why each option is right or wrong
- A) Correct. When more than one scale rule is defined, the container app starts to scale once the first condition of any rule is met. The Service Bus rule's threshold is exceeded, so replicas are added even though the HTTP rule's threshold isn't.
- B) Incorrect. Multiple scale rules aren't combined with AND logic. Scaling doesn't wait for the HTTP rule to agree with the queue rule.
- C) Incorrect. No rule type takes precedence over the others. HTTP, TCP, and custom KEDA-based rules can all trigger scaling, and any rule whose condition is met causes a scale-out.
- D) Incorrect. A container app revision can define several scale rules. The documentation describes how they behave together: scaling starts when any rule's condition is met.
- Exam domain
- Develop Containerized Solutions on Azure · 22% of AI-200
- Question type
- Multiple choice (one answer)
Related AI-200 questions
- An AI service hosted in Azure Container Apps uses a Dapr secret store component of type secretstores.azure.keyvault.Develop Containerized Solutions on Azure
- A developer packaging a Python-based AI inferencing application into a container needs a file that declares the base…Develop Containerized Solutions on Azure
- A team wants their main AI inferencing container to be paired with a second, helper container in the same pod that…Develop Containerized Solutions on Azure
- A containerized AI service runs as several replicas spread across multiple nodes in an AKS cluster.Develop Containerized Solutions on Azure
All 60 free AI-200 questions by domain · 15 sample questions on one page
Practise the full AI-200 exam
This question is one of a small free sample from the CertRidge AI-200 bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.
Original question written from the official exam guide. Not affiliated with Microsoft; never copied from the real exam.