What should you do?

Posted by: Pdfprep Category: AZ-303 Tags: , ,

You have an Azure Container Registry and an Azure container instance.

You pull an image from the registry, and then update the local copy of the image.

You need to ensure that the updated image can be deployed to the container instance. The solution must ensure that you can deploy the updated image or the previous version of the image.

What should you do?
A . Run the docker image push command and specify the tag parameter.
B . Run the az image copy command and specify the tag parameter.
C . Run the az aks update command and specify the attach-acr parameter.
D . Run the kubectl apply command and specify the dry-run parameter.

Answer: A

Explanation:

The command ‘docker image push’ pushes an image or a repository to a registry.

https://docs.docker.com/engine/reference/commandline/image_push/

https://docs.microsoft.com/en-us/cli/azure/ext/image-copy-extension/image

https://docs.microsoft.com/en-us/cli/azure/aks

https://kubernetes.io/docs/reference/kubectl/cheatsheet/#kubectl-apply

Leave a Reply

Your email address will not be published.