Question 1
Q1A machine learning engineering team is deploying Python-based backend inference services to Azure. The team wants to build container images directly from application source code within Azure Container Registry (ACR) without authoring or maintaining a Dockerfile, and without running a local Docker daemon. Which Azure CLI command should the team execute?
Show answer & explanation
Correct answer: C
The az acr pack build command leverages Cloud Native Buildpacks directly within Azure Container Registry to compile application source code into a container image without requiring a Dockerfile. In contrast, az acr build performs a quick task build that requires a Dockerfile. az acr run executes commands inside an existing container image in ACR Tasks, and az acr import is used to import already-built images from external container registries.