Azure AI Cloud Developer (AI-200) · Free practice question 2 of 12
Event-driven Container Apps job
Each upload notification on a Storage queue at Pellucid Maps should start one container that converts a map tile set and then exits. No container should run while the queue is empty. Which Azure Container Apps resource fits best?
- A.A container app with ingress enabled and an HTTP scale rule
- B.A Container Apps job with a manual trigger that an operator starts from the portal after each upload
- C.A container app with minReplicas set to 1 and a CPU scale rule
- D.A Container Apps job with an event-driven trigger that uses the azure-queue scaler
Show answer and explanation
Correct answer: D. A Container Apps job with an event-driven trigger that uses the azure-queue scaler
Why: Container Apps jobs run containers that do a finite piece of work and then stop. An event-driven job uses a KEDA scaler, such as azure-queue, to start executions when messages arrive and runs nothing when the queue is empty. A container app is meant for long-running processes, HTTP rules don't react to queue messages, and minReplicas 1 keeps a container running at all times. Manual triggers don't respond to events.
More free Azure AI Cloud Developer (AI-200) questions
- Importing a public image into ACR
- Horizontal Pod Autoscaler on CPU
- Container TTL for chat history
- Optimistic concurrency with ETag
- IVFFlat lists and probes tuning
- Entra ID connection to Azure Managed Redis
- Deferring Service Bus messages
- Event Grid system topic for storage events
- NCRONTAB timer trigger schedule
- User-assigned identity shared by apps
- KQL distinct counts with dcount