11.) Can a single pod use multiple volumes?
A) No
B) Yes
C) Only for StatefulSets
D) Only in DaemonSets
12.) Which object defines the provisioner used for dynamic storage allocation?
A) PV
B) PVC
C) StorageClass
D) Pod
13.) Which volume type allows sharing data between containers in the same pod?
A) emptyDir
B) hostPath
C) configMap
D) secret
14.) What happens to an emptyDir volume when a pod is deleted?
A) Data is retained
B) Data is backed up
C) Volume persists
D) Data is deleted
15.) What is the use of hostPath volume?
A) Persistent multi-node access
B) Mounting a node’s directory into a pod
C) Cloud storage integration
D) Mounting from remote servers
16.) Which of these is NOT a valid Kubernetes volume type?
A) gcsBucket
B) azureDisk
C) awsElasticBlockStore
D) nfs
17.) What is a CSI driver?
A) Container Storage Interface
B) Cloud Storage Integrator
C) Container Side Interface
D) Cluster Storage Integrator
18.) What command is used to create a PVC from a YAML manifest file named pvc.yaml?
A) kubectl apply -f pvc.yaml
B) kubectl create volume pvc.yaml
C) kubectl deploy pvc.yaml
D) kubectl run pvc.yaml
19.) What is a limitation of using hostPath volumes?
A) Only available in cloud
B) No dynamic provisioning
C) Only supports Windows
D) Tightly coupled to node
20.) What is the key benefit of using StorageClass?
A) Monitoring volumes
B) Automating pod restarts
C) Managing namespaces
D) Enabling dynamic provisioning of storage
Related