A Container Apps API must never suffer a cold start, but it should add replicas when HTTP traffic spikes. Which configuration meets both goals?
- A Minimum replicas 0 with an HTTP scale rule
- B Minimum replicas 1 with an HTTP scale rule (correct answer)
- C Minimum replicas 0 with a CPU scale rule
- D A fixed replica count equal to peak demand
Shortcut: No cold starts in Container Apps = minimum replicas of at least 1. A minimum of zero allows scale to zero, which brings cold starts back, and a fixed peak-sized count pays for idle replicas off-peak.
A minimum of one replica keeps an instance warm, so the first request never waits for a container to start, and the HTTP rule adds replicas as concurrent requests grow. A minimum of zero allows scale to zero, which brings cold starts back, and a fixed peak-sized count pays for idle replicas off-peak.