CertKeen

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?

  1. A.A container app with ingress enabled and an HTTP scale rule
  2. B.A Container Apps job with a manual trigger that an operator starts from the portal after each upload
  3. C.A container app with minReplicas set to 1 and a CPU scale rule
  4. 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