Docker Certified Associate (DCA) — Question 56

A persistentVolumeClaim (PVC) is created with the specification storageClass: "", and size requirements that cannot be satisfied by any existing persistentVolume.

Is this an action Kubernetes takes in this situation?

Kubernetes returns an error indicating that the PVC could not be bound with the current resources.

Answer options

Correct answer: A

Explanation

When the PVC cannot be fulfilled due to a lack of matching persistentVolumes, Kubernetes will indeed return an error. This indicates that the requested resources cannot be allocated, making the correct answer 'Yes' while 'No' is incorrect as it suggests no error occurs.