How does dynamic provisioning of storage in Kubernetes differ from manual provisioning?

Study for the Kubernetes Cloud Native Associate (KCNA) Certification 1 Test. Master the core concepts of Kubernetes with multiple-choice questions and detailed explanations. Prepare and boost your confidence for the KCNA certification exam!

Multiple Choice

How does dynamic provisioning of storage in Kubernetes differ from manual provisioning?

Explanation:
The key idea is that dynamic provisioning creates storage automatically when a claim is made. In manual provisioning, an administrator must first create PV resources that represent specific storage resources, and a PVC can bind only to one of these pre-existing PVs. With dynamic provisioning, a StorageClass and its provisioner handle on-demand storage creation: when a PVC requests storage, Kubernetes talks to the provisioner to create the backing storage, then creates a PV and binds it to the PVC. This eliminates the need to pre-create PVs and enables on-the-fly provisioning across various backends (cloud disks, NFS, etc.). The other statements don’t fit because provisioning isn’t tied to pre-created PVs, doesn’t require a new StorageClass for every PVC, and isn’t limited to hostPath.

The key idea is that dynamic provisioning creates storage automatically when a claim is made. In manual provisioning, an administrator must first create PV resources that represent specific storage resources, and a PVC can bind only to one of these pre-existing PVs. With dynamic provisioning, a StorageClass and its provisioner handle on-demand storage creation: when a PVC requests storage, Kubernetes talks to the provisioner to create the backing storage, then creates a PV and binds it to the PVC. This eliminates the need to pre-create PVs and enables on-the-fly provisioning across various backends (cloud disks, NFS, etc.). The other statements don’t fit because provisioning isn’t tied to pre-created PVs, doesn’t require a new StorageClass for every PVC, and isn’t limited to hostPath.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy