Which command should you run next?

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

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 install-cli
C . kubectl apply Cf app1.yaml
D . az aks get-credentials –resource-group RG1 –name Clus1

Answer: C

Explanation:

kubectl apply Cf appl.yaml applies a configuration change to a resource from a file or stdin.

References:

https://kubernetes.io/docs/reference/kubectl/overview/

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

Leave a Reply

Your email address will not be published.