ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 95 - DCA discussion

Report
Export

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?

Solution: The PVC remains unbound until a persistentVolume that matches all requirements of the PVC becomes available.

A.

Yes

Answers
A.

Yes

B.

No

Answers
B.

No

Suggested answer: A

Explanation:

= A persistentVolumeClaim (PVC) is a request for storage by a user. It is similar to a Pod.Pods consume node resources and PVCs consume PV resources1.A PVC can specify a storage class, which is a way of requesting a certain quality of service for the volume2.If the storage class is empty, it means the PVC does not have any specific storage class requirements and can be bound to any PV that satisfies its size and access mode3. However, if there is no existing PV that matches the PVC's requirements, the PVC remains unbound until a suitable PV becomes available.This can happen either by manual provisioning by an administrator or by dynamic provisioning using StorageClasses1.Reference:

Persistent Volumes | Kubernetes

Storage Classes | Kubernetes

Configure a Pod to Use a PersistentVolume for Storage | Kubernetes

asked 08/11/2024
Sharankumar Nadarajah
32 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first