You have Registry1 (an Azure Container Registry) and Cluster1 (an AKS cluster). You created a container image named App1 on your workstation. What should you do first to deploy App1 to Cluster1?
Choose an answer
Tap an option to check your answer.
Correct answer: Run the docker push command..
Why this is the answer
To deploy a container image to an AKS cluster, the image must first be accessible from a container registry. Since App1 was created on your workstation, you need to upload it to Registry1. The docker push command is used to push a local Docker image to a specified container registry, making it available for AKS to pull and deploy. Creating an App Service plan is irrelevant as App Service is a separate platform-as-a-service offering, not directly used for deploying container images to AKS. The az acr build command is used to build a container image directly within Azure Container Registry from source code, not to upload an already built local image. The az aks create command is used to create a new AKS cluster, which is not the immediate next step for deploying an existing image to an existing cluster.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed