QuestionQ3

Develop containerized solutions on Azure

You develop a message-processing service that is deployed to Azure Container Apps. The service reads messages from an Azure Service Bus queue.

The solution must minimize costs by ensuring that no compute resources are consumed when the queue is empty.

You need to configure scaling for the service.

Which two actions should you take? Each correct answer presents part of the solution.

> NOTE: Each correct selection is worth one point.

Choose two
  • A Increase the scaling rule to allow for the maximum running replica count.
  • B Configure the scaling rule to allow for the termination of all active replicas.
  • C Configure a Kubernetes Event-driven Autoscaler rule that monitors queue length.
  • D Enable HTTP ingress concurrency scaling.
Explanation

Azure Container Apps uses KEDA-based custom scaling rules to scale on Azure Service Bus queue messages. Configuring a KEDA rule that monitors queue length starts replicas when messages are pending, and allowing all replicas to terminate permits the app to scale to zero when the queue is empty, eliminating idle compute consumption.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!