A development team has deployed a Tanzu Kubernetes cluster and would like to verify the version of Kubernetes that is running. Which command will show this information?
This question is fundamentally flawed as no answer is explicitly correct. I believe ExamTopics have an error in the translation of answer "C", that should read "kubectl version", not "kubectl get version"
A. kubectl describe tkc dev-cluster - No, this shows us details about the TKC resource, not Kubernetes. Also, this *does not show the versions of the nodes in the TKC!!!*
B. kubectl explain tkg dev-cluster - No, "explain" is not the correct syntax
C. kubectl get version - Typo? "kubectl version", shows the version of Kubernetes. This seems the most obvious answer from all choices, which are all wrong.
D. kubectl get vm dev-cluster - No, this is not the correct syntax, Kubernetes is not about VMs (heck, you can have your nodes on bare metal if you really want).
If you sit the exam, watch this question, I'd bet cash money "kubectl version" is one of the answers.
I believe this is a typo from ExamTopics. A will not get you the versions either. "kubectl version" will, however, give the result that answers the question.
Correct answer : A
In my lab
Topology:
Control Plane:
Replicas: 3
Storage Class: tanzu-k8s-vsan
Tkr:
Reference:
Name: v1.21.6---vmware.1-tkg.1.b3d708a
Vm Class: best-effort-large
Node Pools:
Name: workers
Replicas: 3
Storage Class: tanzu-k8s-vsan
see detail of mi tkg
It's "kubectl version"
kubectl version [--client] [flags] Display the Kubernetes version running on the client and server.
upvoted 3 times
...
Log in to ExamTopics
Sign in:
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.
atinivelli
4 months, 1 week agoobeythefist
11 months, 1 week ago0511fer
1 year, 1 month agoobeythefist
11 months, 1 week agoJiraya22
1 year, 2 months agoMattE76
1 year, 2 months agoyushee81
1 year, 2 months agoDFdohled
1 year, 2 months ago