Which command-line interface tool is used to deploy and manage container images directly to Azure Container Registry?
The az acr command group within the Azure CLI provides dedicated operations for building, pushing, importing and managing container images in Azure Container Registry, meeting the need to deploy and manage images directly against the registry.
Why this answer
The Azure CLI command group 'az acr' is specifically designed to manage Azure Container Registry, including building, pushing, and pulling container images directly to/from ACR. It provides native integration with ACR and supports tasks like creating registries, managing credentials, and running ACR Tasks. This makes it the correct tool for deploying and managing container images directly to ACR.
Exam trap
AI-200 often tests the difference between general container tools (Docker, Helm, kubectl) and Azure-specific management tools (az acr), causing candidates to choose a tool that builds images locally but does not directly manage ACR.
How to eliminate wrong answers
Option A is wrong because Helm is a package manager for Kubernetes, used to deploy applications, not to manage container images in ACR. Option B is wrong because 'docker build' builds images locally but does not deploy or manage them in ACR; you would still need 'docker push' or 'az acr' to push. Option D is wrong because kubectl is a Kubernetes command-line tool for managing clusters, not for directly managing container images in ACR.