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

The Gold storage policy has been assigned to the Web namespace, and the DevOps engineer wants to place a persistent volume for the Web application in the Gold storage class.

How should this goal be accomplished?

    Correct Answer: A

    To place a persistent volume for the Web application in the Gold storage class, the Gold storage class should be indicated in the persistent volume claim specification. In Kubernetes, the storage class is specified in the persistent volume claim (PVC) to ensure the persistent volume (PV) uses the desired storage class. This allows the PVC to request a PV that matches the specified storage class, in this case, the Gold storage class.

Discussion
lotsoOption: A

A. Indicate the Gold storage class in the persistent volume claim specification https://docs.vmware.com/en/VMware-Tanzu-Kubernetes-Grid/1.5/vmware-tanzu-kubernetes-grid-15/GUID-tanzu-k8s-clusters-storage.html

dmbuilOption: A

Storage Classes are specified within the PVC YAML definition.

dmbuilOption: A

Storage Classes are defined on the PVCs

atinivelliOption: A

Storage Classes are related to PVC in K8S

[Removed]Option: C

C. Indicate the Gold storage class in the persistent volume specification. In Kubernetes, you specify the storage class in the persistent volume (PV) specification, not in the persistent volume claim (PVC) specification. The PV represents the actual storage resource, and you can define its storage class in its specification to ensure it uses the desired class, in this case, the Gold storage class.

MwafrikaOption: A

https://itnext.io/kubernetes-tip-how-to-use-the-storageclass-attribute-75cf47e7c6b0

MattE76Option: A

Agree with A