Kubernetes and Cloud Native Associate (KCNA) — Question 83

Which resource do you use to attach a volume in a Pod?

Answer options

Correct answer: D

Explanation

The correct resource to attach a volume to a Pod is the PersistentVolumeClaim, which is a request for storage by a user. The other options, such as StorageVolume and PersistentVolume, are related to storage management but do not directly facilitate the attachment to a Pod, while StorageClass is used to define the storage type but does not connect the volume itself.