ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 204 - AZ-104 discussion

Report
Export

You create the following resources in an subscription:

• An Azure Container Registry instance named Registry1

• An Azure Kubernetes Service (AKS) cluster named Cluster1

You create a container image named App 1 on your administrative workstation.

You need to deploy App1 to cluster 1.

What should you do first?

A.
Create a host pool on Cluster1
Answers
A.
Create a host pool on Cluster1
B.
Run the docker push command.
Answers
B.
Run the docker push command.
C.
Run the kubect1 apply command.
Answers
C.
Run the kubect1 apply command.
D.
Run the az aks create command.
Answers
D.
Run the az aks create command.
Suggested answer: B

Explanation:

An Azure container registry stores and manages private Docker container images, similar to the way Docker Hub stores public Docker images. You can use the Docker command-line interface (Docker CLI) for login, push, pull, and other operations on your container registry.

After you login to the registry you can run push command to upload the image.

Below is an sample of that command docker push myregistry.azurecr.io/samples/nginx

Reference:

https://docs.microsoft.com/en-us/azure/container-registry/container-registry-get-started-docker-cli

asked 26/09/2024
Damir Stojsic
33 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first