nerdexam
MicrosoftMicrosoft

AZ-204 · Question #269

AZ-204 Question #269: Real Exam Question with Answer & Explanation

The correct answer is B: No. To deploy a YAML file to Kubernetes you need to use the “kubectl” command. An example could be: kubectl apply -f myapp.yaml.

Submitted by tunde_lagos· Mar 30, 2026

Question

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. 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?

Options

  • AYes
  • BNo

Explanation

To deploy a YAML file to Kubernetes you need to use the “kubectl” command. An example could be: kubectl apply -f myapp.yaml.

Community Discussion

No community discussion yet for this question.

Full AZ-204 PracticeBrowse All AZ-204 Questions