Recall & Review
beginner
What is a PersistentVolumeClaim (PVC) in Kubernetes?
A PersistentVolumeClaim (PVC) is a request for storage by a user. It allows pods to claim storage resources without knowing the details of the underlying storage.
Click to reveal answer
beginner
Which key fields are required in a basic PVC YAML definition?
apiVersion, kind, metadata (name), and spec (accessModes, resources.requests.storage).
Click to reveal answer
intermediate
What does the accessModes field in a PVC specify?
It specifies how the volume can be mounted. Common values are ReadWriteOnce, ReadOnlyMany, and ReadWriteMany.
Click to reveal answer
intermediate
How does a PVC relate to a PersistentVolume (PV)?
A PVC requests storage, and Kubernetes binds it to a matching PersistentVolume (PV) that provides the actual storage.
Click to reveal answer
intermediate
What happens if no matching PersistentVolume is available for a PVC?
The PVC stays in a pending state until a suitable PersistentVolume is available or dynamically provisioned.
Click to reveal answer
Which field in a PVC YAML defines the amount of storage requested?
✗ Incorrect
The storage size requested is specified under spec.resources.requests.storage.
What does the access mode ReadWriteOnce mean in a PVC?
✗ Incorrect
ReadWriteOnce means the volume can be mounted as read-write by only one node at a time.
If a PVC is created but no matching PV exists, what is the PVC status?
✗ Incorrect
The PVC remains in Pending state until a matching PV is found or provisioned.
Which Kubernetes object does a PVC bind to?
✗ Incorrect
A PVC binds to a PersistentVolume (PV) that provides the actual storage.
What is the kind value in a PVC YAML file?
✗ Incorrect
The kind field for a PVC YAML is PersistentVolumeClaim.
Explain the purpose of a PersistentVolumeClaim in Kubernetes and how it interacts with PersistentVolumes.
Think of PVC as a storage order and PV as the storage supply.
You got /4 concepts.
Describe the key fields in a PersistentVolumeClaim YAML and their roles.
Focus on the YAML structure and what each part means.
You got /4 concepts.