Question 251 · 570 in bank
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 Azure CLI, you run az aks. Does this meet the goal?
Show answer
Answer: B
Explanation
To deploy a YAML file to AKS1, you would typically use the `kubectl` command. The `az aks` command in Azure CLI is primarily used to manage AKS clusters, not to deploy resources into them. For example, to deploy a YAML file, you would use: ``` kubectl apply -f .yaml ``` Simply running `az aks` would not deploy a YAML file to AKS1. So, the answer is: B. No
Source: Adapted from community discussion — iamchoy

