AZ-204 – Question 123

0
1094
⚠️ Retired / Legacy Exam: This exam has been retired or replaced. These practice questions are kept for reference only. Please check the official vendor website for current exam versions before studying.
Your company has an Azure Kubernetes Service (AKS) cluster that you manage from an Azure AD-joined device. The cluster is located in a resource group.

Developers have created an application named MyApp. MyApp was packaged into a container image.
You need to deploy the YAML manifest file for the application.

Q. 1: Solution: You install the Azure CLI on the device and run the kubectl apply `"f myapp.yaml command.

Does this meet the goal?

A. Yes

B. No

Correct Answer: A 

kubectl apply -f myapp.yaml applies a configuration change to a resource from a file or stdin.

Reference:
https://kubernetes.io/docs/reference/kubectl/overview/
https://docs.microsoft.com/en-us/cli/azure/aks

Q. 2: Solution: You install the docker client on the device and run the docker run -it microsoft/azure-cli:0.10.17 command.
Does this meet the goal?.

A. Yes
B. No

NO COMMENTS