Home » Microsoft » AZ-303 v.2 » Which command should you run next?
You have an Azure Kubernetes Service (AKS) cluster named Clus1 in a resource group named RG1.
An administrator plans to manage Clus1 from an Azure AD-joined device.
You need to ensure that the administrator can deploy the YAML application manifest file for a container application.
You install the Azure CLI on the device.
Which command should you run next?
A. kubectl get nodes
B. az aks enable-addons –addons virtual-node -name Clust1
–resource-group RG1
C. az aks install-cli
D. kubectl apply -f app1.yaml
Correct Answer: D
Explanation/Reference:
Explanation: kubectl apply -f appl.yaml applies a configuration change to a resource from a file or stdin.
Incorrect Answers:
A: kubectl get nodes gets a list of all nodes.
B: az aks enable-addons enable Kubernetes addons, in this case a virtual node.
C: az aks install-cli download and install the Kubernetes command-line tool.
Reference:
https://kubernetes.io/docs/reference/kubectl/overview/
https://docs.microsoft.com/en-us/cli/azure/aks
How To Pass Azure AZ-305 Exam?
Microsoft Azure AZ-305 PDF dumps.
High quality AZ-305 PDF and software. VALID exam to help you pass.
|
|