Kubernetes MCQs – Storage Management

Storage is a fundamental component of deploying stateful applications in Kubernetes. Through features like Volumes, Persistent Volumes (PVs), Persistent Volume Claims (PVCs), and StorageClasses, Kubernetes simplifies how storage is provisioned and managed across clusters.

This set of multiple-choice questions (MCQs) on Kubernetes Storage Management is designed to help learners test and enhance their understanding of persistent storage, access modes, reclaim policies, and dynamic provisioning. Whether you’re preparing for interviews or a Kubernetes certification, these MCQs will improve your practical and theoretical knowledge of storage in Kubernetes.

1.) What is the primary purpose of a Kubernetes Volume?

A) Persistent storage across container restarts
B) Load balancing
C) Monitoring pod health
D) Networking configuration

Answer: Option A

Explanation: Volumes provide storage that outlives container restarts within a pod.

2.) Which Kubernetes object is used to request storage from the cluster?

A) VolumeMount
B) Persistent Volume Claim (PVC)
C) Deployment
D) StatefulSet

Answer: Option B

Explanation: PVCs allow users to request and consume storage resources defined by PVs.

3.) What does PV stand for in Kubernetes?

A) Pod Volume
B) Persistent Volume
C) Provisioned Volume
D) Public Volume

Answer: Option B

Explanation: A PV is a storage resource in the cluster that has been provisioned manually or dynamically.

4.) What is the relationship between PV and PVC?

A) PVCs create PVs
B) PVs create PVCs
C) PVCs bind to PVs
D) PVCs delete PVs

Answer: Option C

Explanation: A PVC requests storage, and the system finds a matching PV to bind.

5.) Which of the following enables dynamic provisioning of storage in Kubernetes?

A) StatefulSet
B) StorageClass
C) NodePort
D) ConfigMap

Answer: Option B

Explanation: StorageClasses define the provisioner and parameters for dynamic volume creation.

6.) Which access mode allows a volume to be mounted by a single node for read/write?

A) ReadOnlyMany
B) ReadWriteMany
C) ExclusiveAccess
D) ReadWriteOnce

Answer: Option D

Explanation: ReadWriteOnce allows only one node to mount the volume for reading and writing.

7.) Which access mode allows multiple pods to read and write the same volume from multiple nodes?

A) ReadWriteMany
B) ReadOnlyOne
C) ReadWriteOnce
D) SharedWrite

Answer: Option A

Explanation: This mode allows multiple pods across nodes to share a writable volume.

8.) What is the default reclaim policy for Persistent Volumes?

A) Recycle
B) Delete
C) Retain
D) Archive

Answer: Option C

Explanation: The default reclaim policy is Retain, meaning the data is preserved after PVC deletion.

9.) Which field in the PVC YAML specifies the amount of storage requested?

A) size
B) storageSize
C) resources.requests.storage
D) spec.size

Answer: Option C

Explanation: PVCs specify requested resources under resources.requests.storage.

10.) What is a VolumeMount in a Pod spec?

A) External volume configuration
B) Part of Kubernetes dashboard
C) Location for mounting ConfigMaps
D) It defines where the volume is mounted inside the container

Answer: Option D

Explanation: volumeMounts specify mount paths inside the container for attached volumes.

Leave a Reply

Your email address will not be published. Required fields are marked *