Kubernetes - Persistent StorageWhich field in a PersistentVolume YAML defines the storage capacity?Aspec.capacity.storageBmetadata.nameCspec.accessModesDspec.persistentVolumeReclaimPolicyCheck Answer
Step-by-Step SolutionSolution:Step 1: Identify capacity field in PV specThe storage size is specified under spec.capacity.storage in the YAML.Step 2: Confirm other fields' purposesmetadata.name is the PV name, accessModes define access type, reclaimPolicy defines cleanup behavior.Final Answer:spec.capacity.storage -> Option AQuick Check:Storage size = spec.capacity.storage [OK]Quick Trick: Storage size is under spec.capacity.storage [OK]Common Mistakes:Using metadata.name for capacityConfusing accessModes with capacityMistaking reclaimPolicy for size
Master "Persistent Storage" in Kubernetes9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More Kubernetes Quizzes ConfigMaps - Why configuration separation matters - Quiz 7medium ConfigMaps - Creating ConfigMaps from literals - Quiz 2easy ConfigMaps - Why configuration separation matters - Quiz 6medium Ingress - Why Ingress manages external access - Quiz 2easy Persistent Storage - Access modes (ReadWriteOnce, ReadOnlyMany, ReadWriteMany) - Quiz 12easy Resource Management - Cluster Autoscaler concept - Quiz 15hard Resource Management - CPU requests and limits - Quiz 12easy Scheduling - Pod affinity and anti-affinity - Quiz 10hard Scheduling - DaemonSets for per-node workloads - Quiz 8hard Scheduling - Pod priority and preemption - Quiz 5medium