exam questions

Exam 5V0-23.20 All Questions

View all questions & answers for the 5V0-23.20 exam

Exam 5V0-23.20 topic 1 question 74 discussion

Actual exam question from VMware's 5V0-23.20
Question #: 74
Topic #: 1
[All 5V0-23.20 Questions]

An administrator needs to get a list of all Tanzu Kubernetes clusters running in the current namespace.

Which command will provide the desired output?

  • A. kubectl get vmservice
  • B. kubectl get clusters
  • C. kubectl get virtualnetwork
  • D. kubectl get tanzukubernetescluster
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
sir_lou
1 month, 4 weeks ago
Selected Answer: D
Page 398 https://docs.vmware.com/en/VMware-vSphere/7.0/vsphere-esxi-vcenter-server-703-vsphere- with-tanzu-guide.pdf
upvoted 1 times
...
KingJ92
2 months, 1 week ago
Selected Answer: B
The correct command to get a list of all Tanzu Kubernetes clusters running in the current namespace is: B. kubectl get clusters In VMware Tanzu Kubernetes Grid (TKG), the command kubectl get clusters is used to retrieve information about Tanzu Kubernetes clusters in the current namespace. This command is specific to Tanzu Kubernetes Grid and is designed to provide details about the clusters created and managed within the Tanzu framework. Option D, kubectl get tanzukubernetescluster, is not a valid command. The correct command to interact with Tanzu Kubernetes clusters typically involves using the kubectl get clusters command, which is part of the Tanzu command-line interface.
upvoted 1 times
...
lurimodi
7 months, 2 weeks ago
D it is correct according with the documentation: https://docs.vmware.com/en/VMware-vSphere/7.0/vmware-vsphere-with-tanzu/GUID-DA1DF865-8FD7-4425-BABE-BEBAE4F27F56.html
upvoted 1 times
...
HenryDCase
8 months, 2 weeks ago
Selected Answer: D
D is correct. Look at the wording of the question.
upvoted 1 times
...
obeythefist
10 months ago
Selected Answer: D
I will go with "D", here's why: A. kubectl get vmservice - No, what's a "vmservice" at all? Joke answer B. kubectl get clusters - Very compelling, but no... remember, TKC is a separate kind of resource than a cluster. C. kubectl get virtualnetwork - No, huh, why would we want this? D. kubectl get tanzukubernetescluster - Yes, this is most correct
upvoted 2 times
...
Abhi333
10 months, 1 week ago
D kubectl get tanzukubernetesclusters
upvoted 4 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago