100% Latest & Updated CNCF CKA Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 360
During a remediation drill, the team evaluates the safe next steps and their consequences. A selector-based Service has no endpoints after an app Deployment changes its Pods labels and readiness behavior Context: the affected environment is `payments` and the component is `controller`. Identify only claims supported by this evidence. Choose THREE statements.
- Change Service metadata.name to the Pod name to force backend discovery.
- Check the EndpointSlice ready conditions for selected Pods.
- Switch to NodePort as a remedy for nonmatching backend Pod labels.
- Compare the Service selector with the labels on the actual Pods.
- Restore matching labels and workload readiness before changing client URLs.
- Create an HPA solely to rewrite a mismatched Service selector.
Explanation
Correct Answers
B:Unready Pods may appear as not-ready endpoints and not receive normal service traffic. 'Switch to NodePort as a remedy for nonmatching backend Pod labels' would not achieve the required recovery because Service type changes port exposure but do not correct label selection.
D:EndpointSlice membership for selector Services is derived from label matches. 'Switch to NodePort as a remedy for nonmatching backend Pod labels' would not achieve the required recovery because Service type changes port exposure but do not correct label selection.
E:Client DNS can resolve the Service name even when no healthy endpoint is available. 'Switch to NodePort as a remedy for nonmatching backend Pod labels' would not achieve the required recovery because Service type changes port exposure but do not correct label selection.
Incorrect Answers
A:EndpointSlices derive from selectors and readiness, not name equality. Instead, 'Check the EndpointSlice ready conditions for selected Pods' addresses the failure directly: Unready Pods may appear as not-ready endpoints and not receive normal service traffic.
C:Service type changes port exposure but do not correct label selection. Instead, 'Check the EndpointSlice ready conditions for selected Pods' addresses the failure directly: Unready Pods may appear as not-ready endpoints and not receive normal service traffic.
F:Autoscaling the Deployment will not fix selection if new Pods have the same wrong labels. Instead, 'Compare the Service selector with the labels on the actual Pods' addresses the failure directly: EndpointSlice membership for selector Services is derived from label matches.
Question 361
A PVC has storageClassName: "" and requests an existing statically created PV also configured with storageClassName: "". A default StorageClass exists. What is the correct binding interpretation? Choose ONE answer.
- Any PV class may bind because the requested string is empty.
- The explicit empty string requests no StorageClass.
- The PVC automatically adopts the default class despite the empty string.
- StorageClass controls the RBAC identity of the Pod.
Explanation
Correct Answer
B:It prevents default StorageClass injection for that PVC.
Incorrect Answers
A:Classless PVCs require compatible classless PVs for this scenario.
C:An explicitly empty class opts out of defaulting.
D:StorageClass affects provisioning, not API authorization.
Question 362
A StorageClass is configured with volumeBindingMode: WaitForFirstConsumer. A PVC is Pending while no Pod references it. Why might this be expected? Choose ONE answer.
- WaitForFirstConsumer means the driver never provisions volumes.
- Provisioning can wait for a Pod with scheduling constraints.
- The claim is guaranteed to bind before any Pod references it.
- Adding a ClusterIP Service always triggers PV provisioning.
Explanation
Correct Answer
B:WaitForFirstConsumer coordinates topology-aware provisioning with placement.
Incorrect Answers
A:It delays, rather than disables, provisioning.
C:The configured mode explicitly defers binding.
D:Services are not storage consumers.
Question 363
A PV uses reclaimPolicy: Retain and has become Released after its claim was deleted. What should an administrator expect? Choose ONE answer.
- The backend volume is always deleted when the claim disappears.
- Changing a Pod label automatically wipes the retained data.
- The Released PV is instantly available for unrelated claims.
- Underlying data is retained for manual recovery or cleanup.
Explanation
Correct Answer
D:Retain deliberately avoids automatic backend deletion.
Incorrect Answers
A:Retain preserves the storage asset.
B:Pod labels do not control volume reclamation.
C:Prior claim reference and recovery policy require administrative handling.
Question 364
A PVC requests ReadWriteOncePod and a second Pod on the same node attempts to mount that same claim simultaneously using a compatible CSI driver. What is the key distinction? Choose ONE answer.
- ReadWriteOncePod limits the volume to a single Pod across the cluster.
- ReadWriteOncePod is equivalent to ReadOnlyMany.
- ReadWriteOncePod means any number of Pods may write if they share a node.
- A LoadBalancer Service permits the second mount.
Explanation
Correct Answer
A:The mode is stricter than a node-only single-writer restriction.
Incorrect Answers
B:One is single-Pod writer, the other multiple-reader.
C:ReadWriteOncePod restricts to one Pod.
D:Services do not override PVC access modes.
Question 365
A dynamically provisioned PVC asks for 12Gi, but its CSI driver does not support volume expansion. An administrator edits the claim to 24Gi. Which conclusions follow? Choose ONE answer.
- Every PVC resize succeeds merely because its spec was edited.
- The driver must support expansion for the requested resize to complete.
- A Pod Service port change expands storage capacity.
- Shrinking the PVC to 1Gi is always a supported recovery.
Explanation
Correct Answer
B:allowVolumeExpansion and CSI support govern resize operations.
Incorrect Answers
A:Storage backends require supported volume expansion.
C:Service traffic routing is unrelated to volume size.
D:Kubernetes does not generally support shrinking an existing bound PVC.
Question 366
An administrator deletes a PVC that uses a dynamically provisioned PV with reclaimPolicy: Delete. How is this different from Retain? Choose ONE answer.
- A delete reclaim policy grants access to Secrets.
- The provisioner can delete the underlying backing volume.
- ReclaimPolicy controls network routing to Services.
- Delete preserves backend data for manual reuse in all cases.
Explanation
Correct Answer
B:Delete is designed to remove storage after claim release.
Incorrect Answers
A:Storage policy does not confer RBAC privileges.
C:Volume cleanup is independent of Service routing.
D:Preservation is the purpose of Retain, not Delete.
Question 367
A Pod with a PVC is scheduled to node west, but the PV has nodeAffinity restricting it to zone east. What is the main scheduling issue? Choose ONE answer.
- A PV in east always mounts from a node in west.
- PV node affinity must be compatible with the selected node.
- Removing the PVC name from the Pod makes its data appear locally.
- Service nodePort changes resolve PV nodeAffinity.
Explanation
Correct Answer
B:Topology-limited volumes may only attach from supported zones.
Incorrect Answers
A:Affinity rules restrict volume placement.
C:A Pod requires a valid volume reference to mount the data.
D:Traffic ports do not influence storage attachment topology.
Question 368
A team sets volumeName: backup-pv on a PVC to prebind it, while the PV capacity is too small. What does prebinding guarantee? Choose ONE answer.
- Prebinding disables access-mode checks.
- A Pod label repairs a capacity mismatch.
- The PV must still satisfy the PVC resource requirements.
- volumeName increases PV storage capacity automatically.
Explanation
Correct Answer
C:Prebinding cannot bypass a capacity or access-mode mismatch.
Incorrect Answers
A:Compatibility rules still apply.
B:Labels are not part of the PV size requirement.
D:Binding references do not resize storage.
Question 369
A Pod uses a PVC with volumeMode: Block, but its container tries to use the volume through volumeMounts to a filesystem path. Which observations are accurate? Choose TWO statements.
- Block volumeMode controls PVC StorageClass names.
- An Ingress resource formats a raw block volume.
- Every Block PVC automatically becomes a filesystem mount.
- The Pod specification must use the correct volumeMode for its consumption pattern.
- A raw Block volume is exposed through volumeDevices rather than volumeMounts.
Explanation
Correct Answers
D:Block and Filesystem are distinct volume interfaces.
E:volumeDevices maps a block device into the container.
Incorrect Answers
A:VolumeMode and StorageClass are distinct claim fields.
B:Ingress is a networking API, unrelated to block devices.
C:Raw block devices are not formatted and mounted transparently.
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.
Certified Kubernetes Administrator (CKA) Practice Tests