DCA · Question #68
DCA Question #68: Real Exam Question with Answer & Explanation
The correct answer is A: Yes. If a default StorageClass is configured and a PersistentVolumeClaim is created, Kubernetes will dynamically provision a PersistentVolume.
Question
Are these conditions sufficient for Kubernetes to dynamically provision a persistentVolume, assuming there are no limitations on the amount and type of available external storage? Solution: A default storageClass is specified, and subsequently a persistentVolumeClaim is created.
Options
- AYes
- BNo
Explanation
If a default StorageClass is configured and a PersistentVolumeClaim is created, Kubernetes will dynamically provision a PersistentVolume.
Common mistakes.
- B. These conditions are precisely what Kubernetes requires for dynamic provisioning when a
PersistentVolumeClaimdoes not explicitly name aStorageClass.
Concept tested. Kubernetes dynamic PV with default StorageClass
Reference. https://kubernetes.io/docs/concepts/storage/persistent-volumes/#default-storage-class
Topics
Community Discussion
No community discussion yet for this question.