Skip to Content

Microsoft AZ-104: How to Provision Azure Container Registry and Add Image using Azure CLI and Docker?

Learn the essential Azure CLI and Docker commands to create a new Azure Container Registry and push a Docker image to the registry. Master the az acr create and docker push commands for your AZ-104 exam.

Question

You have an Azure subscription that uses Azure Container Instances.

You have a computer that has Azure Command-Line Interface (CLI) and Docker installed.

You create a container image named image1.

You need to provision a new Azure container registry and add image1 to the registry.

Which command should you run for each requirement? To answer, select the options in the answer area.

Provision a new container registry:

  • az acr build
  • az acr create
  • az container create
  • docker create

Add image1 to the registry:

  • az acr create
  • az container create
  • docker pull
  • docker push

Answer

Provision a new container registry:az acr create

Add image1 to the registry: docker push

Microsoft AZ-104 certification exam assessment practice question and answer (Q&A) dump including multiple choice questions (MCQ) and objective type questions, with detail explanation and reference available free, helpful to pass the Microsoft AZ-104 exam and earn Microsoft AZ-104 certification.