What is the purpose of a Persistent Volume 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 Persistent Volume in Kubernetes?

Explanation:
Persistent volumes provide durable storage in the cluster that persists beyond the life of any individual pod. This decouples storage from application pods, so data isn’t lost if a pod restarts, reschedules, or moves to another node. A PV is a cluster-wide resource backed by a concrete storage backend (such as a cloud disk, NFS, or local disk) and can be created by an admin or provisioned automatically via a StorageClass. A pod requests storage by using a PersistentVolumeClaim, and the control plane binds a PV to that claim so the pod can mount the volume. This setup gives data longevity and portability across pod lifecycles. (Other options describe different concepts: routing network traffic is handled by Services/Ingress, and configuration data is managed with ConfigMaps/Secrets.)

Persistent volumes provide durable storage in the cluster that persists beyond the life of any individual pod. This decouples storage from application pods, so data isn’t lost if a pod restarts, reschedules, or moves to another node. A PV is a cluster-wide resource backed by a concrete storage backend (such as a cloud disk, NFS, or local disk) and can be created by an admin or provisioned automatically via a StorageClass. A pod requests storage by using a PersistentVolumeClaim, and the control plane binds a PV to that claim so the pod can mount the volume. This setup gives data longevity and portability across pod lifecycles.

(Other options describe different concepts: routing network traffic is handled by Services/Ingress, and configuration data is managed with ConfigMaps/Secrets.)

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy