100% Latest & Updated CNCF CKA Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 370
A StatefulSet scales replicas from three to four while using volumeClaimTemplates. What storage behavior should be expected? Choose THREE statements.
- Persistent claims remain associated with stable ordinal identities.
- All StatefulSet replicas are forced to mount the same exclusive ReadWriteOncePod PVC.
- Services supply persistent disks automatically without a PVC.
- The fourth replica receives its own PVC generated from the template.
- Scaling a StatefulSet deletes every existing PVC immediately.
- Claim retention behavior depends on StatefulSet PVC retention policy.
Explanation
Correct Answers
A:The controller tracks per-Pod storage across replacements.
D:StatefulSet volumeClaimTemplates create a claim per stable Pod identity.
F:PVC deletion on scale-down is controlled separately from Pod deletion.
Incorrect Answers
B:Claims are generated per replica rather than one shared claim.
C:Service discovery and persistent storage are independent.
E:Scale-up does not destroy existing claims.
Question 371
A Pod cannot mount a claim and reports Multi-Attach error after movement between nodes. What is an appropriate diagnosis? Choose ONE answer.
- Binding a PVC guarantees that every node can mount it simultaneously.
- Service discovery must be changed before volume attachments are evaluated.
- The volume may still be attached to the previous node.
- Multi-Attach always means the ConfigMap is missing.
Explanation
Correct Answer
C:Certain access modes and CSI drivers limit simultaneous attachment.
Incorrect Answers
A:Topology and access-mode restrictions may remain.
B:Networking Services do not control CSI attachments.
D:ConfigMaps do not implement block volume attachment.
Question 372
A PV of capacity 20Gi advertises ReadWriteOnce and storageClass fast. A PVC requests 8Gi, ReadWriteMany and class fast. Which conclusions are accurate? Choose ONE answer.
- ReadWriteOnce is automatically treated as ReadWriteMany if capacity is high.
- A ClusterRoleBinding can convert the PV access mode.
- The class mismatch is the blocking factor in this example.
- The access-mode mismatch prevents static binding to this PV.
Explanation
Correct Answer
D:ReadWriteOnce does not satisfy a ReadWriteMany claim.
Incorrect Answers
A:Access mode values are not ordered by capacity.
B:RBAC grants API permissions, not storage capability.
C:Both objects explicitly use fast; the mismatch is access mode.
Question 373
A PVC has no storageClassName field, and the cluster administrator creates a default StorageClass after the PVC. Which behavior should be considered? Choose ONE answer.
- PVCs with an explicitly empty class must be silently changed.
- All existing bound PVCs are forcibly rebound to new PVs.
- A default StorageClass changes the namespace of the claim.
- Kubernetes can retroactively assign a default StorageClass to eligible unbound PVCs.
Explanation
Correct Answer
D:Default StorageClass assignment can be retroactive for claims with an unset class.
Incorrect Answers
A:Explicit no-class intent is preserved.
B:Defaulting targets eligible unset claims, not forcibly reassigning bound data.
C:StorageClass objects are cluster-scoped and do not move PVCs.
Question 374
A Pod writes to a volume backed by a PVC. The PV is Bound but the application sees permission denied on a directory. Which troubleshooting steps follow? Choose ONE answer.
- The fix is always to delete all PVs first.
- Being Bound guarantees writable Linux permissions for every UID.
- Inspect filesystem ownership and Pod securityContext or fsGroup settings.
- Changing the Service selector fixes filesystem permission denied.
Explanation
Correct Answer
C:Unix ownership and group permissions can block mounted paths.
Incorrect Answers
A:Destructive deletion is unnecessary and risks data loss.
B:Filesystem access is controlled by ownership, modes, and applicable security policy.
D:Traffic selection does not modify mounted file modes.
Question 375
A Pod is using a PVC from a StorageClass with Immediate binding, but the provisioned local volume is in a zone not allowed by the Pod node affinity. What could improve provisioning? Choose ONE answer.
- The StorageClass mode changes Kubernetes node labels automatically.
- Immediate always guarantees the Pod can be scheduled.
- Deleting NetworkPolicy guarantees the PV will move zones.
- Using WaitForFirstConsumer can defer topology choice until Pod scheduling.
Explanation
Correct Answer
D:The binding mode can account for Pod placement constraints.
Incorrect Answers
A:Binding mode is not a node labeling operation.
B:Immediate provisioning may occur before topology constraints are known.
C:Pod network traffic policy is unrelated to storage topology.
Question 376
A PVC is Bound to a PV whose reclaimPolicy is Retain, and the application is being retired. What steps protect the data? Choose ONE answer.
- A Service deletion automatically destroys PV contents.
- Delete the PVC to guarantee secure deletion of Retain storage.
- Rebinding a retained PV without inspecting old data is always safe.
- Record the PV backend identity and confirm backup or retention requirements.
Explanation
Correct Answer
D:The reclaim policy leaves the backing asset for explicit administration.
Incorrect Answers
A:Services do not own PersistentVolume lifecycle.
B:Retain intentionally preserves the asset.
C:Old data can remain and create confidentiality or integrity risk.
Question 377
A PV supports ReadWriteOnce and a claim selects it. Two Pods on the same node attempt to use the claim. Choose TWO correct statements. Choose TWO answers.
- RWO implies mounting read-only on all workers.
- ReadWriteOncePod is the purpose-built stricter single-Pod mode.
- RWO guarantees only one Pod even on the same node.
- ReadWriteOnce is node-scoped rather than inherently Pod-scoped.
- The claim automatically converts to RWX.
Explanation
Correct Answers
B:RWOP is designed to enforce access by one Pod at a time.
D:The mode generally constrains simultaneous read-write access to one node.
Incorrect Answers
A:RWO permits read-write use within its node scope.
C:That claim confuses node-scoped RWO with RWOP.
E:A PVC does not change access modes merely because two Pods reference it.
Question 378
A PVC is Bound to a zonal PV whose nodeAffinity restricts use to zone=west. Its Pod has hard nodeSelector zone=east, and all nodes are otherwise healthy. Why does this Pod remain Pending? Choose ONE answer.
- Its hard Pod placement conflicts with the bound volume’s node affinity.
- The scheduler automatically changes the PV node affinity to east.
- Service EndpointSlice readiness blocks volume mounts.
- The PVC can never be Bound to a zonal PV.
Explanation
Correct Answer
A:The scheduler must find a node satisfying both Pod node selection and bound PV topology constraints.
Incorrect Answers
B:Binding does not cause Kubernetes to mutate storage topology to match an arbitrary Pod selector.
C:Service readiness does not resolve incompatible Pod and PV node placement.
D:PVC binding can succeed even though a particular consumer Pod is not placeable.
Question 379
A claim requests 30Gi, access mode ReadWriteOnce and StorageClass slow. A static PV has 20Gi, ReadWriteOnce and slow. No other PVs exist. Why does the claim remain unbound? Choose ONE answer.
- Static PVs are never bindable.
- ReadWriteOnce cannot match ReadWriteOnce.
- PVCs require exact capacity equality.
- The PV is smaller than the claim’s requested capacity.
Explanation
Correct Answer
D:PV capacity must meet or exceed the PVC storage request for a matching bind.
Incorrect Answers
A:Manually created PVs can bind PVCs when their requirements match.
B:Both access modes are compatible here.
C:A larger suitable PV can satisfy a smaller claim; exact equality is unnecessary.
Question 380
An application must ensure a PVC is mounted read-write by only one Pod in the cluster, including Pods on the same node. Which supported access mode expresses that requirement? Choose ONE answer.
- ReadWriteOnce.
- ReadWriteOncePod.
- ReadOnlyMany.
- ReadWriteMany.
Explanation
Correct Answer
B:RWOP expresses single-Pod exclusivity, stricter than node-scoped RWO.
Incorrect Answers
A:RWO constrains read-write mounting to one node and may still allow multiple Pods on that node.
C:ROX permits read-only mounts across nodes and does not express a writable exclusive mount.
D:RWX permits concurrent read-write mounting, the opposite of the requirement.
Certified Kubernetes Administrator (CKA) Practice Tests