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

How is information found about all Kubernetes Persistent Volumes in a vSphere environment?

    Correct Answer: B

    To find information about all Kubernetes Persistent Volumes in a vSphere environment, the command 'kubectl get persistentvolumes' can be used. This command provides detailed information about each persistent volume, including its name, capacity, access modes, reclaim policy, availability status, associated PVC, associated storage class, notes, and age. This method leverages Kubernetes' native command-line tool, making it the correct choice for obtaining comprehensive information about persistent volumes directly in a Kubernetes environment.

Discussion
hicallOption: A

I think it's A since stated on official docs vmware https://docs.vmware.com/en/VMware-vSphere/7.0/vmware-vsphere-with-tanzu/GUID-B2C5A356-7BB6-4DA5-BB2F-B13E1E29B644.html

sir_louOption: A

I think we have to take into consideration the part that says "in the vSphere Environment" so sure the command from cli will work but it's not directly from the vSphere Environment

obeythefist

It looks like both A and B are correct.

Mwafrika

Have you attempted this Exam @obeythefist? I think A is most correct, B will only list

obeythefist

Have you ever used Kubernetes, @Mwafrika? kubectl get persistentvolumes provides more than just a list. It will show, for each PV: - Name - Capacity - Access Modes - Reclaim Policy - Availability status - Associated PVC - Associated storage class - Notes - Age of the PV This is more than just a "list". Before you attempt this exam, you should endeavour to become familiar with Kubernetes.

SuperDuperSpamBox

is 'kubectl get persistentvolumes' even a command? ...i thought 'kubectl get pv' just lists sorted by capacity?

SuperDuperSpamBox

Disregard ...just tested in a Lab and obeythefist is correct, pv and persistentvolumes can be used interchangeably and does include all that information.