KCNA · Question #47
KCNA Question #47: Real Exam Question with Answer & Explanation
The correct answer is A: A user requests dynamically provisioned storage by including an existing storage class in their. Dynamic storage provisioning in Kubernetes occurs when a user requests storage via a PersistentVolumeClaim (PVC) that references an existing StorageClass, which then automatically provisions a PersistentVolume (PV).
Question
How does dynamic storage provisioning work?
Options
- AA user requests dynamically provisioned storage by including an existing storage class in their
- BAn administrator creates a storage class and includes it in their pod YAML definition file without
- CA pod requests dynamically provisioned storage by including a storage class and the pod name in
- DAn administrator creates a PersistentVolume and includes the name of the PersistentVolume in
Explanation
Dynamic storage provisioning in Kubernetes occurs when a user requests storage via a PersistentVolumeClaim (PVC) that references an existing StorageClass, which then automatically provisions a PersistentVolume (PV).
Common mistakes.
- B. An administrator creates a
StorageClass, but it is the user who references it in a PVC, not an administrator including it directly in a pod YAML definition without a PVC. - C. A pod requests dynamically provisioned storage indirectly through a PersistentVolumeClaim (PVC), not by directly including a StorageClass and the pod name in its definition.
- D. An administrator creating a PersistentVolume and then including the name of that specific PersistentVolume in a PersistentVolumeClaim describes static provisioning, not dynamic provisioning.
Concept tested. Kubernetes dynamic storage provisioning
Reference. https://kubernetes.io/docs/concepts/storage/dynamic-provisioning/
Topics
Community Discussion
No community discussion yet for this question.