100% Latest & Updated CNCF CKA Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 540
During an incident review, an operator must choose an accurate diagnosis. A PVC was deleted from a PV with reclaimPolicy Retain; the PV now shows Released with its former claimRef and a new claim cannot bind to it Context: the affected environment is `production` and the component is `gateway`. Identify only claims supported by this evidence. Choose ONE statement.
- Change kube-proxy Service mode to clear PV claimRef.
- Inspect the prior claimRef and validate whether the retained data may be reused.
- Set reclaimPolicy Delete retroactively to guarantee stored data is preserved.
- Assume Released Retain PV automatically binds the next PVC immediately.
Explanation
Correct Answer
B:a Released Retain volume is not automatically recycled into Available state.
Incorrect Answers
A:network proxy configuration does not modify persistent volume binding metadata.
C:Delete is oriented to removing backing storage, contrary to retention.
D:the old binding reference prevents automatic reuse until manual reclamation.
Question 541
Before applying a change, the cluster team checks what the configuration actually permits. A PVC was deleted from a PV with reclaimPolicy Retain; the PV now shows Released with its former claimRef and a new claim cannot bind to it Context: the affected environment is `staging` and the component is `indexer`. Identify only claims supported by this evidence. Choose ONE statement.
- Change kube-proxy Service mode to clear PV claimRef.
- Perform approved manual reclamation and claimRef cleanup after data handling.
- Assume Released Retain PV automatically binds the next PVC immediately.
- Set reclaimPolicy Delete retroactively to guarantee stored data is preserved.
Explanation
Correct Answer
B:Retain requires deliberate operator intervention before rebinding.
Incorrect Answers
A:Network proxy configuration does not modify persistent volume binding metadata. The prerequisite check or operation is 'Perform approved manual reclamation and claimRef cleanup after data handling': Retain requires deliberate operator intervention before rebinding.
C:The old binding reference prevents automatic reuse until manual reclamation. The prerequisite check or operation is 'Perform approved manual reclamation and claimRef cleanup after data handling': Retain requires deliberate operator intervention before rebinding.
D:Delete is oriented to removing backing storage, contrary to retention. The prerequisite check or operation is 'Perform approved manual reclamation and claimRef cleanup after data handling': Retain requires deliberate operator intervention before rebinding.
Question 542
During a remediation drill, the team evaluates the safe next steps and their consequences. A PVC was deleted from a PV with reclaimPolicy Retain; the PV now shows Released with its former claimRef and a new claim cannot bind to it Context: the affected environment is `payments` and the component is `controller`. Identify only claims supported by this evidence. Choose ONE statement.
- Set reclaimPolicy Delete retroactively to guarantee stored data is preserved.
- Change kube-proxy Service mode to clear PV claimRef.
- Recreate a compatible claim only after the PV is safely made available.
- Assume Released Retain PV automatically binds the next PVC immediately.
Explanation
Correct Answer
C:the new PVC still needs valid capacity, class and access-mode matching.
Incorrect Answers
A:Delete is oriented to removing backing storage, contrary to retention. Instead, 'Recreate a compatible claim only after the PV is safely made available' addresses the failure directly: The new PVC still needs valid capacity, class and access-mode matching.
B:Network proxy configuration does not modify persistent volume binding metadata. Instead, 'Recreate a compatible claim only after the PV is safely made available' addresses the failure directly: The new PVC still needs valid capacity, class and access-mode matching.
D:The old binding reference prevents automatic reuse until manual reclamation. Instead, 'Recreate a compatible claim only after the PV is safely made available' addresses the failure directly: The new PVC still needs valid capacity, class and access-mode matching.
Question 543
During an incident review, an operator must choose an accurate diagnosis. A Pod is CrashLoopBackOff and the current container instance is too new to contain the exit message from the previous crash Context: the affected environment is `production` and the component is `gateway`. Identify only claims supported by this evidence. Choose TWO statements.
- Delete Pod events before examining restart causes.
- Use `kubectl get services` as a substitute for the previous crashed container logs.
- Inspect Pod containerStatuses lastState and exit information.
- Use `kubectl logs <pod> --previous` for the relevant container.
- Assume `kubectl logs` without --previous always returns the last terminated instance.
Explanation
Correct Answers
C:container status can expose terminated reason and exit code.
D:the previous flag retrieves logs from the earlier terminated container instance when available.
Incorrect Answers
A:discarding diagnostic evidence hinders root-cause investigation.
B:Service objects do not contain application stderr/stdout from terminated containers.
E:by default logs target the current container instance, where one exists.
Question 544
Before applying a change, the cluster team checks what the configuration actually permits. A Pod is CrashLoopBackOff and the current container instance is too new to contain the exit message from the previous crash Context: the affected environment is `staging` and the component is `indexer`. Identify only claims supported by this evidence. Choose THREE statements.
- Assume `kubectl logs` without --previous always returns the last terminated instance.
- Delete Pod events before examining restart causes.
- Inspect Pod containerStatuses lastState and exit information.
- Use `kubectl get services` as a substitute for the previous crashed container logs.
- Correlate past log output with kubelet events and restartCount.
- Use `kubectl logs <pod> --previous` for the relevant container.
Explanation
Correct Answers
C:Container status can expose terminated reason and exit code. Before changing live state, distinguish this from 'Use `kubectl get services` as a substitute for the previous crashed container logs': Service objects do not contain application stderr/stdout from terminated containers.
E:events and previous logs help distinguish startup failures, probe restarts and OOM.
F:The previous flag retrieves logs from the earlier terminated container instance when available. Before changing live state, distinguish this from 'Assume `kubectl logs` without --previous always returns the last terminated instance': By default logs target the current container instance, where one exists.
Incorrect Answers
A:By default logs target the current container instance, where one exists. The prerequisite check or operation is 'Correlate past log output with kubelet events and restartCount': Events and previous logs help distinguish startup failures, probe restarts and OOM.
B:Discarding diagnostic evidence hinders root-cause investigation. The prerequisite check or operation is 'Use `kubectl logs <pod> --previous` for the relevant container': The previous flag retrieves logs from the earlier terminated container instance when available.
D:Service objects do not contain application stderr/stdout from terminated containers. The prerequisite check or operation is 'Use `kubectl logs <pod> --previous` for the relevant container': The previous flag retrieves logs from the earlier terminated container instance when available.
Question 545
During a remediation drill, the team evaluates the safe next steps and their consequences. A Pod is CrashLoopBackOff and the current container instance is too new to contain the exit message from the previous crash Context: the affected environment is `payments` and the component is `controller`. Identify only claims supported by this evidence. Choose ONE statement.
- Use `kubectl get services` as a substitute for the previous crashed container logs.
- Assume `kubectl logs` without --previous always returns the last terminated instance.
- Delete Pod events before examining restart causes.
- Correlate past log output with kubelet events and restartCount.
Explanation
Correct Answer
D:Events and previous logs help distinguish startup failures, probe restarts and OOM. 'Delete Pod events before examining restart causes' would not achieve the required recovery because Discarding diagnostic evidence hinders root-cause investigation.
Incorrect Answers
A:Service objects do not contain application stderr/stdout from terminated containers. Instead, 'Correlate past log output with kubelet events and restartCount' addresses the failure directly: Events and previous logs help distinguish startup failures, probe restarts and OOM.
B:By default logs target the current container instance, where one exists. Instead, 'Correlate past log output with kubelet events and restartCount' addresses the failure directly: Events and previous logs help distinguish startup failures, probe restarts and OOM.
C:Discarding diagnostic evidence hinders root-cause investigation. Instead, 'Correlate past log output with kubelet events and restartCount' addresses the failure directly: Events and previous logs help distinguish startup failures, probe restarts and OOM.
Question 546
During an incident review, an operator must choose an accurate diagnosis. kubectl top nodes returns Metrics API not available while ordinary kubectl get nodes works and API server authentication is valid Context: the affected environment is `production` and the component is `gateway`. Identify only claims supported by this evidence. Choose ONE statement.
- Check metrics-server and the metrics.k8s.io APIService availability.
- Change every Pod PVC to ReadWriteMany to enable the metrics API.
- Treat kubectl get nodes success as proof metrics.k8s.io is healthy.
- Change an Ingress host rule to fix metrics-server kubelet scrape.
Explanation
Correct Answer
A:kubectl top depends on a working resource metrics API aggregation path.
Incorrect Answers
B:storage access modes are unrelated to metrics-server API aggregation.
C:node discovery and resource metrics are different API endpoints.
D:Ingress host matching does not normally operate the node resource metrics pipeline.
Question 547
Before applying a change, the cluster team checks what the configuration actually permits. kubectl top nodes returns Metrics API not available while ordinary kubectl get nodes works and API server authentication is valid Context: the affected environment is `staging` and the component is `indexer`. Identify only claims supported by this evidence. Choose ONE statement.
- Change every Pod PVC to ReadWriteMany to enable the metrics API.
- Inspect metrics-server logs and kubelet scrape reachability.
- Treat kubectl get nodes success as proof metrics.k8s.io is healthy.
- Change an Ingress host rule to fix metrics-server kubelet scrape.
Explanation
Correct Answer
B:the metrics pipeline collects node/Pod metrics from kubelets.
Incorrect Answers
A:Storage access modes are unrelated to metrics-server API aggregation. The prerequisite check or operation is 'Inspect metrics-server logs and kubelet scrape reachability': The metrics pipeline collects node/Pod metrics from kubelets.
C:Node discovery and resource metrics are different API endpoints. The prerequisite check or operation is 'Inspect metrics-server logs and kubelet scrape reachability': The metrics pipeline collects node/Pod metrics from kubelets.
D:Ingress host matching does not normally operate the node resource metrics pipeline. The prerequisite check or operation is 'Inspect metrics-server logs and kubelet scrape reachability': The metrics pipeline collects node/Pod metrics from kubelets.
Question 548
During a remediation drill, the team evaluates the safe next steps and their consequences. kubectl top nodes returns Metrics API not available while ordinary kubectl get nodes works and API server authentication is valid Context: the affected environment is `payments` and the component is `controller`. Identify only claims supported by this evidence. Choose ONE statement.
- Treat kubectl get nodes success as proof metrics.k8s.io is healthy.
- Change every Pod PVC to ReadWriteMany to enable the metrics API.
- Retry kubectl top after fixing the metrics API path.
- Change an Ingress host rule to fix metrics-server kubelet scrape.
Explanation
Correct Answer
C:regular Kubernetes API availability alone does not establish resource metrics availability.
Incorrect Answers
A:Node discovery and resource metrics are different API endpoints. Instead, 'Retry kubectl top after fixing the metrics API path' addresses the failure directly: Regular Kubernetes API availability alone does not establish resource metrics availability.
B:Storage access modes are unrelated to metrics-server API aggregation. Instead, 'Retry kubectl top after fixing the metrics API path' addresses the failure directly: Regular Kubernetes API availability alone does not establish resource metrics availability.
D:Ingress host matching does not normally operate the node resource metrics pipeline. Instead, 'Retry kubectl top after fixing the metrics API path' addresses the failure directly: Regular Kubernetes API availability alone does not establish resource metrics availability.
Question 549
Namespace `billing` has ResourceQuota hard `requests.cpu=3` cores and used `requests.cpu=2500m`. A new Pod requests 700m. What is the quota outcome? Choose ONE answer.
- It is accepted because 700m is below the 3-core hard value.
- It is accepted because current CPU utilization is low.
- Admission rejects the request because total would be 3200m.
- The quota resets to zero after each Pod creation.
Explanation
Correct Answer
C:The new request exceeds the remaining 500m reservation budget.
Incorrect Answers
A:Quota compares cumulative usage plus requested additions, not the new Pod in isolation.
B:Quota tracks declared usage, not instantaneous CPU telemetry.
D:ResourceQuota usage is cumulative across matching resources in the namespace.
Question 550
A Pod admission error says `minimum memory usage per Container is 128Mi` in a namespace with a LimitRange. The Pod requests 64Mi memory. What is the relevant repair? Choose ONE answer.
- Lower the Deployment replica count only.
- Delete the kube-scheduler leader.
- Change node affinity to a larger node.
- Increase the container request to meet the LimitRange minimum.
Explanation
Correct Answer
D:The denial names a per-container LimitRange constraint rather than exhausted namespace quota.
Incorrect Answers
A:A per-container minimum is independent of replica count.
B:The issue is admission validation, not scheduler leadership.
C:A request below admission minimum is rejected before scheduler node selection.
Certified Kubernetes Administrator (CKA) Practice Tests