QuestionQ186
VerifiedDevelop Azure compute solutionsYou are developing a microservices-based application by using Azure Container Apps. The application includes several containerized services that perform tasks such as processing orders, managing inventory, and generating reports.
Order processing has these requirements:
- Orders must be triggered by a web request.
- Additional replicas must be added when the total web-request count exceeds 300 for at least 15 seconds.
- Order processing must remain available according to incoming web requests.
- Costs for the Azure Container Apps instance must be minimized.
You need to configure scaling.
How should you complete the CLI command?
Select
az containerapp \ --name OrderProcessingApp \ --resource-group MyResourceGroup \ --environment MyEnvironmentName \ --image myimage:latest \ --min-replicas \ --max-replicas 10 \ --scale-rule-name azure-http-rule \ --scale-rule-type http \ --scale-rule-http-concurrency 20
Community Discussion