A developer needs to deploy a containerized API to Azure Container Apps using the Azure CLI. The container image is stored in a public registry. Which sequence of Azure CLI commands must the developer execute to successfully deploy the application?
- 1Run `az group create` to provision a resource group.
- 2Run `az containerapp env create` to provision the environment.
- 3Run `az containerapp create` to deploy the application container.
Cevap
The developer must first create an Azure Resource Group, then create a Container Apps environment, and finally deploy the Container App inside the environment.
The correct order follows the logical resource hierarchy in Azure: the resource group acts as the top-level container, the Container Apps environment is provisioned inside it, and the Container App itself is deployed within that environment.
Adım Adım Çözüm
Anahtar Kavram
Deploying Azure Container Apps requires provisioning a Resource Group and a Container Apps Environment before deploying the container app resource itself.
Tahmini Süre:1m 0s