Azure Container Apps can scale based on CPU usage. What happens when the CPU usage exceeds the configured threshold?
Think about how scaling helps manage load.
When CPU usage goes above the threshold, Azure Container Apps adds more container instances to handle the load and reduce CPU pressure.
If you configure a minimum replica count of 2 in your Container App's scaling rules, what is the expected behavior?
Minimum replicas prevent scaling below a certain number.
Setting a minimum replica count ensures the app always has that many instances running, even with no traffic, to reduce cold start delays.
You expect sudden spikes in traffic to your Container App. Which scaling rule configuration will best handle this scenario?
Think about responsiveness and capacity during traffic bursts.
A low CPU threshold triggers scaling early, and a high max replica count allows many instances to handle bursts smoothly.
If scaling rules allow unlimited scaling without limits, what security risk might occur?
Consider resource limits and attack vectors.
Unlimited scaling can cause resource exhaustion, leading to denial of service and exposing more instances to attacks.
To balance cost and performance, which scaling rule setup is best?
Think about avoiding cold starts and controlling costs.
Moderate CPU threshold triggers scaling when needed, minimum replicas avoid cold starts, and max replicas limit cost.