Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 1 question 4 discussion

Actual exam question from Microsoft's AZ-204
Question #: 4
Topic #: 1
[All AZ-204 Questions]

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?

  • A. Yes
  • B. No
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
jay158
Highly Voted 3 years, 4 months ago
Correct Answer NO docker run -it microsoft/azure-cli:0.10.17 is no k8s command
upvoted 16 times
...
lugospod
Highly Voted 2 years, 10 months ago
K8 Out of scope for 2021!
upvoted 11 times
...
Nhantran20000502
Most Recent 3 weeks ago
Selected Answer: B
Installing the Docker client and running the docker run -it microsoft/azure-cli:0.10.17 command will start an interactive Azure CLI session within a Docker container, but it does not directly deploy the YAML manifest file to the AKS cluster. To deploy the YAML manifest file, you need to use the kubectl apply -f myapp.yaml command, which is specifically designed for interacting with Kubernetes clusters
upvoted 1 times
...
L____L
7 months, 1 week ago
Selected Answer: B
Kubernetes cannot use docker command.
upvoted 1 times
...
man5484
7 months, 1 week ago
Selected Answer: B
The provided solution is incorrect for deploying the YAML manifest file for the application (MyApp) to the Azure Kubernetes Service (AKS) cluster. Using the Docker client (docker run -it microsoft/azure-cli:0.10.17 command) would only allow you to interact with Docker containers, not Kubernetes clusters. To deploy the YAML manifest file for the application to the AKS cluster, you should use the Kubernetes command-line tool (kubectl) rather than the Docker client. Therefore, the solution provided does not meet the goal.
upvoted 1 times
...
Ciupaz
10 months, 2 weeks ago
Is a Docker command, not a Kubernetes command. So answer is No.
upvoted 1 times
...
Mohanraj_SV5
11 months ago
Selected Answer: B
B - No
upvoted 1 times
...
collocollo
1 year, 2 months ago
Selected Answer: B
B - No
upvoted 1 times
...
viking2
1 year, 4 months ago
Selected Answer: B
NO, use kubectl
upvoted 1 times
...
SmartTechieGrv
1 year, 7 months ago
Correct Answer No
upvoted 1 times
...
forgetfulalligator
1 year, 8 months ago
Selected Answer: B
To apply the Kubernetes manifest file to the AKS cluster, you would typically use the kubectl apply command. This command applies the desired state described in the manifest file to the cluster, which will result in the creation and deployment of the specified resources, including the containerized application.
upvoted 3 times
...
uffuchsi
1 year, 9 months ago
B - No
upvoted 1 times
...
guschess
1 year, 9 months ago
Selected Answer: B
The answer 3 helps with this topic.
upvoted 1 times
...
ExamTopicsAnkur
1 year, 11 months ago
Selected Answer: B
Answer is No
upvoted 2 times
...
Chouffie
2 years, 1 month ago
The Answer is NO To deploy a YAML file to Kubernetes you need to use the “kubectl” command. An example could be: kubectl apply -f myapp.yaml
upvoted 5 times
...
HafizSalmanMalik
2 years, 1 month ago
Correct answer is No because " docker run -it microsoft/azure-cli:0.10.17 " it's a Docker command, not a K8's command. Thanks
upvoted 2 times
...
Mev4953
2 years, 10 months ago
Any reference?
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...