AZ-104 Practice Question 86: Container Apps Scale to Zero
Microsoft Azure Administrator Associate (AZ-104) · Test 9 · question 6 of 10
An HTTP API runs in Azure Container Apps and is used only during business hours. The team wants to pay for compute only while requests arrive, and the app must scale out when traffic increases.
Which configuration should the administrator use?
Show answer and explanation
Answer:
Container Apps can scale to zero replicas, and an HTTP scale rule adds replicas based on concurrent requests. With a minimum of zero the app costs nothing on the consumption plan while idle, and the first request starts a replica.
Option A keeps one replica running all the time, so the app is billed while idle.
Option B also keeps a replica running, and a fixed schedule does not follow real demand.
Option C fixes the capacity, so it neither scales out nor scales to zero.
Reference: Set scaling rules in Azure Container Apps