- Home
- All questions
- Storage
CKA study material: Storage
113 questions of the 1000 in the CKA — Certified Kubernetes Administrator quiz. Each opens with its answer, the reasoning and where that is written down.
Challenge yourself on this topic → Study as cards
The questions
- 137. A StatefulSet is scaled from five replicas to two. What happens to the two removed Pods' volumes?
- 138. Which StatefulSet field gives each Pod its own PersistentVolumeClaim?
- 145. Which two settings make up a StatefulSet's persistentVolumeClaimRetentionPolicy? Choose two.
- 146. A StatefulSet Pod is replaced after its node fails. What happens to its PersistentVolumeClaim?
- 183. Which filesystem does the nodefs eviction signal describe?
- 198. What can a LimitRange enforce? Choose two.
- 301. What is the relationship between a PersistentVolume and a PersistentVolumeClaim?
- 302. How may a PersistentVolume be provisioned? Choose two.
- 303. A PVC requests 5Gi and the only matching PV offers 10Gi. What does the control loop do?
- 304. How many PVCs may bind to one PersistentVolume?
- 305. Which reclaim policies exist for a PersistentVolume? Choose two.
- 306. A PVC bound to a Retain volume is deleted. Which two statements describe the PV? Choose two.
- 307. An administrator deletes a Retain PersistentVolume object. What happens to the storage behind it?
- 308. Which reclaim policy is deprecated in favour of dynamic provisioning?
- 309. A PVC is deleted while a Pod still uses it, and it does not disappear. What is happening?
- 310. What status does a PVC show while in-use protection holds it?
- 311. How do the two volumeModes differ? Choose two.
- 312. What does the ReadWriteOnce access mode actually allow?
- 313. An NFS server supports many writers but a PV backed by it is read-only. Which two statements explain this? Choose two.
- 314. An attempt to expand a PVC fails because of a capacity constraint. What can be tried next?
- 315. Which three fields does a StorageClass carry for dynamic provisioning? Choose two of them.
- 316. A PVC omits storageClassName in a cluster with a default StorageClass. What happens?
- 317. Two StorageClasses are both annotated as default. Which does a classless PVC get?
- 318. What is the default reclaimPolicy of a StorageClass?
- 319. A cluster uses topology-constrained storage and Pods keep landing where their volume is unreachable. Which setting fixes this?
- 320. What is the default value of volumeBindingMode?
- 321. A StorageClass uses WaitForFirstConsumer but a Pod sets nodeName directly. What is the consequence?
- 322. Which StorageClass field must be true before a PVC can be resized?
- 323. Which StorageClass field is mandatory?
- 324. Which two statements about StorageClass provisioners are correct? Choose two.
- 325. What is true of an emptyDir volume? Choose two.
- 326. An emptyDir is configured to be backed by RAM. What is the trade-off?
- 327. Why does the documentation discourage hostPath volumes?
- 328. How do the hostPath types DirectoryOrCreate and FileOrCreate behave? Choose two.
- 329. A hostPath volume sets an empty type. What check is performed before mounting?
- 330. Which is true of a local volume?
- 331. What makes a local PersistentVolume safer to use than a hostPath volume?
- 332. Where do the contents of a mounted Secret volume live on the node?
- 333. What does a projected volume do?
- 334. How does one volume serve several purposes inside a single Pod?
- 335. What is true of subPathExpr? Choose two.
- 336. A downward API volume mounted through subPath stops reflecting a changed field value. Why?
- 337. Which volumes are local ephemeral storage managed by the kubelet? Choose two.
- 338. What distinguishes a generic ephemeral volume from a CSI ephemeral volume?
- 339. Which snapshot object corresponds to a PersistentVolume?
- 340. What is required for volume snapshots to work? Choose two.
- 341. Which snapshot API objects are CustomResourceDefinitions rather than core kinds? Choose two.
- 342. Why does a VolumeSnapshotClass exist separately from a StorageClass?
- 343. A pre-provisioned VolumeSnapshot stays unbound. What is it waiting for?
- 344. A PVC must bind to one specific PersistentVolume. What is set? Choose two.
- 345. Naming a PV from a PVC does not stop another claim binding first. What actually reserves it?
- 346. Which resource can currently be set or requested on a PersistentVolume?
- 347. A PersistentVolume has no storageClassName. Which claims can bind to it?
- 348. What problem did CSI solve for storage vendors?
- 349. A hostPath PersistentVolume is used in a multi-node cluster and behaves inconsistently. What is the supported alternative?
- 350. A PVC has been Pending for some time. Which explanations are consistent with that?
- 641. A StatefulSet with three replicas and a volumeClaimTemplate is deleted, with no retention policy configured. What happens to its PersistentVolumeClaims?
- 645. A StatefulSet should keep its volumes when scaled down but discard them when the whole set is deleted. Which two settings express that? Choose two.
- 801. A PersistentVolume is bound ReadWriteOnce. Three Pods of the same Deployment land on the same node and all mount the claim. What happens?
- 802. kubectl shows a PersistentVolume's access mode as RWOP. Which mode is that?
- 803. A PersistentVolume is declared ReadOnlyMany, yet a Pod writes to it successfully. Why?
- 804. A team wants ReadWriteOncePod on an NFS-backed PersistentVolume provisioned by an in-tree plugin. What blocks them?
- 805. A PersistentVolume uses the Retain reclaim policy and its claim is deleted. Which two statements are true? Choose two.
- 806. A developer deletes a PersistentVolumeClaim created from the default StorageClass, and the data is gone. What explains this?
- 807. A PersistentVolume shows the phase Released. What does that mean?
- 808. A Retain-policy PersistentVolume is stuck in Released and a new claim will not bind to it. What must be done?
- 809. A PersistentVolumeClaim has been deleted but sits in Terminating with the finalizer kubernetes.io/pvc-protection. What is holding it?
- 810. A PersistentVolume backed by an empty block device is mounted by a Pod for the first time, with volumeMode left unset. What happens?
- 811. A statically created PersistentVolume has no storageClassName. Which claim can bind to it?
- 812. An administrator pre-creates a PersistentVolume and writes a claim that omits storageClassName, expecting it to bind. Instead a new volume is provisioned. Why?
- 813. An edit that raises a PersistentVolumeClaim's storage request is rejected. What is the likely cause?
- 814. A StorageClass leaves volumeBindingMode unset. When is a volume provisioned for a new claim?
- 815. In a multi-zone cluster, Pods keep failing to start because their volume is in a different zone. Which StorageClass setting fixes this?
- 816. Which values may a StorageClass's reclaimPolicy take, and what is the default?
- 817. A cluster needs dynamic provisioning for NFS, which has no in-tree provisioner. What does a StorageClass allow?
- 818. A Pod uses an emptyDir volume. Which two events preserve its contents? Choose two.
- 819. A Pod uses an emptyDir with medium set to Memory and is OOM-killed after writing a large file to it. Why?
- 820. What is the documented alternative to a hostPath volume where node-local storage is genuinely needed?
- 821. An admission policy restricts hostPath volumes to a list of approved directories. What else must it require to be effective?
- 822. Which two statements about local volumes are correct? Choose two.
- 823. A node holding a local PersistentVolume becomes unhealthy. What happens to the Pod using it?
- 824. Two containers in a Pod must share one PersistentVolumeClaim but keep their data in separate directories. Which field arranges that?
- 825. What is the default value of mountPropagation on a volume mount?
- 826. Which requirement applies to a container using Bidirectional mount propagation?
- 827. A claim omitting storageClassName stays Pending in a cluster where no StorageClass is annotated as default. Why?
- 828. Which pairing correctly describes the volume snapshot objects?
- 829. An operator wants to change a VolumeSnapshotClass's deletionPolicy. What does the API allow?
- 830. kubectl get volumesnapshots returns "the server doesn't have a resource type". What is missing?
- 831. Which two volume types are local ephemeral storage managed by the kubelet rather than by a storage driver? Choose two.
- 832. A projected volume combines a Secret from another namespace with a ConfigMap from the Pod's own. What is the problem?
- 833. A cluster has CSIStorageCapacity objects but the scheduler still places Pods on nodes with no room. What is likely unset?
- 834. A Pod requiring a new attached volume stays Pending on an otherwise idle node with plenty of CPU and memory. What limit could explain it?
- 835. What distinguishes a generic ephemeral volume from an ordinary PersistentVolumeClaim?
- 836. Before deleting a claim in front of a production database, an operator wants to be sure the data survives. What should they change first?
- 837. A cluster has two StorageClasses both annotated as default. What state is that?
- 838. Which two fields on a CSI PersistentVolume must correspond to values the driver itself reports? Choose two.
- 839. One container mounts a volume with readOnly: true. What does that mean for the other containers in the Pod?
- 840. A hostPath volume of /mnt is mounted read-only into a container, but a tmpfs mounted at /mnt/data on the host is writable inside. Why?
- 841. recursiveReadOnly is set to Enabled on a volume mount. Which two conditions must hold? Choose two.
- 842. Which Pod field sets the group that owns the files in a Pod's mounted volumes?
- 843. A node's ephemeral storage is filling up. Besides emptyDir volumes, which two things draw on it? Choose two.
- 844. A namespace has a quota on ephemeral-storage, but a Pod consuming a great deal of scratch space is admitted anyway. What explains it?
- 845. Where does a CSI driver's report that a volume is unhealthy appear?
- 846. Which two conditions must hold to clone a PersistentVolumeClaim? Choose two.
- 847. An existing ReadWriteOnce volume must be moved to ReadWriteOncePod without losing data. What does the documented procedure involve?
- 848. A PersistentVolume uses the Delete reclaim policy and its claim is removed. What is deleted?
- 849. An old manifest sets persistentVolumeReclaimPolicy to Recycle. What is the current guidance?
- 850. A PersistentVolume lists ReadWriteOnce and ReadOnlyMany among its access modes. How is it mounted?
- 912. A drain stops on Pods using emptyDir volumes. What does --delete-emptydir-data acknowledge?
- 996. A node is powered off abruptly and a StatefulSet Pod stays Terminating while its replacement cannot start. What is holding the replacement?
- 997. The node.kubernetes.io/out-of-service taint is applied to a node confirmed powered off. Which two things follow? Choose two.
- 998. What must be verified before applying the out-of-service taint to a node?
- 999. After how long does Kubernetes force-detach a volume from a node where a Pod deletion has not succeeded and the node is unhealthy?