Kubernetes and Cloud Native Associate (KCNA) — Question 51
How does dynamic storage provisioning work?
Answer options
- A. A user requests dynamically provisioned storage by including an existing storage class in their PersistentVolumeClaim.
- B. An administrator creates a storage class and includes it in their pod YAML definition file without creating a PersistentVolumeClaim.
- C. A pod requests dynamically provisioned storage by including a storage class and the pod name in their PersistentVolumeClaim.
- D. An administrator creates a PersistentVolume and includes the name of the PersistentVolume in their pod YAML definition file.
Correct answer: A
Explanation
The correct answer, A, accurately describes that a user must include an existing storage class in their PersistentVolumeClaim to request dynamically provisioned storage. Options B and D are incorrect because they do not involve the necessary PersistentVolumeClaim for dynamic provisioning. Option C incorrectly states that a pod requests storage directly, which is not how dynamic provisioning works.