Hotspot Question
You are developing a microservices-based application by using Azure Container Apps. The application consists of several containerized services that handle tasks, such as processing orders, managing inventory, and generating reports.
Processing orders has the following requirements:
- Orders must be triggered by a web request.
- Additional replicas must be added when the total number of web
requests exceeds 300 for at least 15 seconds.
- Processing orders must always be available based on incoming web
requests.
- Costs must be minimized for the Azure Container Apps instance.
You need to configure scaling.
How should you complete the CLI command? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Correct Answer:

Explanation:
Box 1: create
Example:
Create a container app with resource requirements and replica count limits.
az containerapp create -n my-containerapp -g MyResourceGroup \
--image nginx --environment MyContainerappEnv \
--cpu 0.5 --memory 1.0Gi \
--min-replicas 4 --max-replicas 8
Box 2: 0
Parameter:
--min-replicas
The minimum number of replicas.
Azure Container Apps manages automatic horizontal scaling through a set of declarative scaling rules. As a container app revision scales out, new instances of the revision are created on- demand. These instances are known as replicas.
Reference:
https://learn.microsoft.com/en-us/cli/azure/containerapp
https://learn.microsoft.com/en-us/azure/container-apps/scale-app