You manage an AKS cluster from an Azure AD–joined device and need to deploy MyApp using a provided Kubernetes YAML. You install the Docker client on the device and run docker run -it microsoft/azure-cli:0.10.17. Does this accomplish the deployment goal?
Choose an answer
Tap an option to check your answer.
Correct answer: No.
Why this is the answer
Running docker run -it microsoft/azure-cli:0.10.17 only starts a container with an old version of the Azure CLI. While the Azure CLI can be used to interact with AKS, this command alone does not deploy MyApp. To deploy MyApp, you would typically use kubectl apply -f myapp.yaml after configuring kubectl to connect to your AKS cluster. The Docker client is used for managing Docker containers, not directly for deploying applications to Kubernetes clusters. You need kubectl and a configured context to interact with AKS.
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