Exam 5v0-2320 All QuestionsBrowse all questions from this exam
Question 73

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

Which command will provide the desired output?

    Correct Answer: D

    To get a list of all Tanzu Kubernetes clusters running in the current namespace, the command 'kubectl get tanzukubernetescluster' is used. This command is specific for interacting with Tanzu Kubernetes clusters and provides the appropriate output directly pertaining to those clusters. Whereas 'kubectl get clusters' may seem relevant, it is not specific to Tanzu Kubernetes clusters.

Discussion
Abhi333Option: D

D kubectl get tanzukubernetesclusters

obeythefistOption: 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

sir_louOption: D

Page 398 https://docs.vmware.com/en/VMware-vSphere/7.0/vsphere-esxi-vcenter-server-703-vsphere- with-tanzu-guide.pdf

KingJ92Option: 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.

lurimodiOption: D

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

HenryDCaseOption: D

D is correct. Look at the wording of the question.