AZ-104 Practice Question 86: Container Apps Scale to Zero

Microsoft Azure Administrator Associate (AZ-104) · Test 9 · question 6 of 10

Computemedium

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?

Select one answer
Show answer and explanation

Answer:

  • D. A minimum of zero replicas and an HTTP scaling rule

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

Practice Test 9 ›

Study guides for AZ-104