Notifications
Clear all
Topic starter
20/07/2022 9:33 pm
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some
question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You deploy an Azure Kubernetes Service (AKS) cluster named AKS1.
You need to deploy a YAML file to AKS1.
Solution: From the Azure CLI, you run the kubectl client.
Does this meet the goal?
- A . Yes
- B . No
Suggested Answer: B
Explanation:
Installing Azure CLI doesn't mean that Azure Kubernates client is installed. So before running kubectl client command, you have install kubectl, the Kubernetes command-line client.
First need to run az aks install-cli to install Kubernetes CLI, which is kubectl
Reference: https://docs.microsoft.com/en-us/cli/azure/aks?view=azure-cli-latest
Explanation:
Installing Azure CLI doesn't mean that Azure Kubernates client is installed. So before running kubectl client command, you have install kubectl, the Kubernetes command-line client.
First need to run az aks install-cli to install Kubernetes CLI, which is kubectl
Reference: https://docs.microsoft.com/en-us/cli/azure/aks?view=azure-cli-latest