You are deploying a containerized microservice to Azure Container Apps. The service handles image processing workloads that arrive in bursts. During quiet periods, you want zero containers running to save cost. During peak periods, you want up to 20 container replicas automatically. What is the correct scaling configuration?

Direct Answer (Verified)Reviewed by Sunny (Senior Cloud Engineer)

Correct Answer: Configure a KEDA scaler (e.g., Azure Service Bus or HTTP scaler) with a min replica count of 0 and a max replica count of 20

Azure Container Apps natively uses KEDA (Kubernetes Event-driven Autoscaling) for scaling. Setting min replicas to 0 enables scale-to-zero for cost savings, and KEDA scalers (HTTP,...

๐Ÿ“‹Part of Microsoft Certified: Azure Developer Associate (AZ-204) ยท Azure Certification Practice
Real Exam ScenarioAzure Container Apps

You are deploying a containerized microservice to Azure Container Apps. The service handles image processing workloads that arrive in bursts. During quiet periods, you want zero containers running to save cost. During peak periods, you want up to 20 container replicas automatically. What is the correct scaling configuration?

โœ“ Correct Answer & ExplanationAzure Container Apps

Correct Answer

Configure a KEDA scaler (e.g., Azure Service Bus or HTTP scaler) with a min replica count of 0 and a max replica count of 20

Why This Answer Is Correct

Azure Container Apps natively uses KEDA (Kubernetes Event-driven Autoscaling) for scaling. Setting min replicas to 0 enables scale-to-zero for cost savings, and KEDA scalers (HTTP, Service Bus, queue length, etc.) trigger scale-out automatically as load increases.

๐Ÿ“š What This Question Tests

This question evaluates your knowledge of Azure Container Apps โ€” a core concept tested in Microsoft Certified: Azure Developer Associate (AZ-204). Understanding Azure Container Apps is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.