VMware Carbon Black Cloud Enterprise EDR (2020) — Question 64
An administrator needs to get a list of all Tanzu Kubernetes clusters running in the current namespace.
Which command will provide the desired output?
Answer options
- A. kubectl get vmservice
- B. kubectl get clusters
- C. kubectl get virtualnetwork
- D. kubectl get tanzukubernetescluster
Correct answer: D
Explanation
The correct command is 'kubectl get tanzukubernetescluster' because it specifically targets Tanzu Kubernetes clusters. The other options do not pertain to Tanzu Kubernetes clusters: 'kubectl get vmservice' is for virtual machine services, 'kubectl get clusters' is too generic, and 'kubectl get virtualnetwork' is related to networking resources.