A folk-festival merch API on Azure Container Apps is idle most of the year and should scale to zero when there is no traffic. A second worker in the same environment must scale only on CPU utilization. Which statement is correct?
Select an answer to reveal the explanation.
Short Explanation
Scale-to-zero is like shutting the merch booth when nobody is in line—you need a signal that means “no customers.” HTTP and event rules give you that empty-line signal. CPU and memory rules always assume something is running, so they will not take you all the way to zero.
Full Explanation
Azure Container Apps uses KEDA-backed scaling on HTTP traffic, events, or resource metrics. Official guidance is that HTTP and many event scale rules can reduce replicas to zero when idle, which fits seasonal APIs. Scale rules based on CPU or memory cannot scale to zero because those metrics require running replicas. ACI is a different host and is not required for this behavior.