What is the purpose of a PersistentVolumeClaim in Kubernetes?

Study for the Kubernetes Certified Network Administrator Exam. Our test offers comprehensive flashcards, multiple-choice questions, and detailed explanations. Be confident for your exam!

Multiple Choice

What is the purpose of a PersistentVolumeClaim in Kubernetes?

Explanation:
A PersistentVolumeClaim is a request for storage resources that a pod can use. It lets you specify how much storage you need, the access mode (how the volume can be mounted by the pod), and optionally a storage class for provisioning. Kubernetes then binds this claim to a matching PersistentVolume (or dynamically provisions one via a StorageClass) and the pod can mount that storage by referencing the claim. This decouples the storage lifecycle from the pod lifecycle, enabling flexible, on-demand storage for workloads. The other choices describe network policy, container image, and memory limits, which are unrelated to reserving or binding storage resources.

A PersistentVolumeClaim is a request for storage resources that a pod can use. It lets you specify how much storage you need, the access mode (how the volume can be mounted by the pod), and optionally a storage class for provisioning. Kubernetes then binds this claim to a matching PersistentVolume (or dynamically provisions one via a StorageClass) and the pod can mount that storage by referencing the claim. This decouples the storage lifecycle from the pod lifecycle, enabling flexible, on-demand storage for workloads.

The other choices describe network policy, container image, and memory limits, which are unrelated to reserving or binding storage resources.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy