AZ-204 Practice Question: Container Apps scale-to-zero for containerized…
The internal API team is deploying a containerized .NET API that receives sporadic requests — sometimes none for hours, then bursts of activity. Cost is a priority. The team wants the container to stop running when idle and start automatically when a request arrives, with no server management overhead. Which Azure service is the best fit?
⚠ Common exam trap
Watch out — candidates often confuse 'scale to zero' with 'autoscaling to a minimum of zero nodes' in AKS, but AKS cannot scale to zero nodes due to system pod requirements, whereas Azure Container Apps supports scale-to-zero at the replica level without managing nodes.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Azure Container Apps with scale-to-zero enabled on the HTTP ingress
Azure Container Apps with scale-to-zero enabled on the HTTP ingress is the best fit because it allows the container to scale down to zero replicas when idle, automatically stopping the container to save costs, and scales back up to handle incoming HTTP requests with no server management overhead. This serverless platform abstracts Kubernetes infrastructure, meeting the team's requirement for minimal operational burden and cost efficiency.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Azure Container Apps with scale-to-zero enabled on the HTTP ingress
Why this is correct
Container Apps scales to zero replicas when idle. The first request after an idle period incurs a cold-start delay (typically seconds) while a replica starts. Subsequent requests in the burst are served by the running replica. Billing is consumption-based — zero replicas means zero compute cost during idle periods.
- ✗
Azure Kubernetes Service with the cluster autoscaler set to a minimum node count of zero
Why it's wrong here
AKS can scale node pools to zero, but scaling a node from zero requires provisioning a new VM (1-3 minutes cold start). AKS also requires cluster management, control plane costs, and node pool configuration — not the 'no server management' profile the team wants.
- ✗
Azure App Service on a B1 (Basic) plan with Always On disabled
Why it's wrong here
App Service Basic plans do not support scale-to-zero. Always On being disabled means the app shuts down after 20 minutes of idle, but the App Service plan continues running and incurring compute charges. Only Consumption (serverless) plans support true scale-to-zero, and only for Azure Functions, not containerized apps.
- ✗
Azure Virtual Machine Scale Sets with scheduled scaling to zero instances overnight
Why it's wrong here
Scheduled scaling sets instance count on a time schedule — it cannot respond dynamically to sporadic, unpredictable request arrival. If a burst arrives during a scheduled zero-instance window, all requests would fail until the schedule brings instances back up.
Quick reference
Cloud Service Model Comparison
| Model | You Manage | Provider Manages | Examples |
|---|---|---|---|
| IaaS | OS, runtime, apps, data | Hardware, hypervisor, networking | EC2, Azure VMs, GCP Compute Engine |
| PaaS | Apps and data | OS, runtime, middleware, hardware | Elastic Beanstalk, Azure App Service |
| SaaS | Data and settings only | Everything else | Microsoft 365, Salesforce, Workday |
| FaaS / Serverless | Function code only | Infra, scaling, runtime | Lambda, Azure Functions, Cloud Run |
| CaaS | Containers and apps | Kubernetes, OS, hardware | EKS, AKS, GKE |
Go deeper
Related to this question
About these practice questions
Courseiva writes every AZ-204 question from scratch — 881 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AZ-204 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-204 exam.