cert
cert-1
cert-2

Pass CNCF CKA Exam in First Attempt Guaranteed!

Get 100% Latest Exam Questions, Accurate & Verified Answers to Pass the Actual Exam!
30 Days Free Updates, Instant Download!

cert-5
cert-6
CKA Exam - Verified By Experts
CKA Premium Bundle
$29.98

CKA Premium Bundle

$79.99
$109.97
  • Premium File 58 Questions & Answers. Last update: Nov 26, 2026
  • Training Course 138 Video Lectures
  • Study Guide 268 Pages
 
$109.97
$79.99
accept 26 downloads in last 7 days
block-screenshots
Purchase CNCF CKA Exam Training Products Individually
CNCF CKA Premium File
Premium File 58 Q&A
$76.99$69.99
CNCF CKA Video Training Course
Training Course 138 Lectures
$21.99 $19.99
CNCF CKA PDF Study Guide
Study Guide 268 Pages
$21.99 $19.99
CNCF CKA Practice Test 61

Question 600

A cluster team is handling this situation: A Service listens on port 80 but the container listens on 8080 and requests fail. Which proposed shortcut should be REJECTED?

  1. Record a rollback approach before high-impact control-plane changes.
  2. Change the Service type to LoadBalancer without fixing the port mapping.
  3. Validate a change with a repeatable positive and negative test.
  4. Test connectivity from the affected Pod before redesigning all Services.

Explanation

Correct Answer

B:

Change the Service type to LoadBalancer without fixing the port mapping. Service port and targetPort express different ends of routing. A safer course is: Set Service targetPort to the actual container listening port while retaining desired Service port.

Incorrect Answers

A:

Record a rollback approach before high-impact control-plane changes. Deliberate rollback improves operational recoverability. For the stated case, a focused correction is: Set Service targetPort to the actual container listening port while retaining desired Service port.

C:

Validate a change with a repeatable positive and negative test. A testable outcome provides stronger evidence than intent alone. For the stated case, a focused correction is: Set Service targetPort to the actual container listening port while retaining desired Service port.

D:

Test connectivity from the affected Pod before redesigning all Services. Layered checks separate DNS, network and application failures. For the stated case, a focused correction is: Set Service targetPort to the actual container listening port while retaining desired Service port.

Question 601

A CKA learner must investigate the following: A Pod is stuck ContainerCreating due to an attach timeout from a cloud block volume. Which command or check supplies the MOST direct diagnostic evidence?

  1. Inspect StorageClass allowVolumeExpansion and PVC conditions during resize.
  2. Inspect kubectl get volumeattachments and CSI controller/node Pod logs.
  3. Inspect PV and PVC storageClassName fields, selectors and claimRef.
  4. Inspect kubectl get storageclass fast -o yaml and CSI provisioner events.

Explanation

Correct Answer

B:

Inspect kubectl get volumeattachments and CSI controller/node Pod logs. This diagnostic examines the relevant resource or subsystem. CSI attachment and mounting rely on healthy controller and node components. The validating result would be: VolumeAttachment becomes healthy and the Pod mounts its claim.

Incorrect Answers

A:

This check is appropriate to the separate problem (A PVC is nearly full and its backing CSI driver supports growth.), but it is not the direct diagnostic for the described failure.

C:

This check is appropriate to the separate problem (A manually created PV is available but a PVC specifying an unmatched StorageClass never binds.), but it is not the direct diagnostic for the described failure. Inspect kubectl get volumeattachments and CSI controller/node Pod logs.

D:

This check is appropriate to the separate problem (A PVC requests storageClassName fast but no PV is created after several minutes.), but it is not the direct diagnostic for the described failure.

Question 602

A Kubernetes operations team observes the following: A special node has NoSchedule taint and a permitted Pod remains Pending. What is the MOST appropriate corrective action?

  1. Update the ConfigMap and roll out fresh Pods when environment variables need refresh.
  2. Use preferredDuringSchedulingIgnoredDuringExecution node affinity with weights.
  3. Add only the needed matching toleration to the workload or adjust node policy intentionally.
  4. Use a DaemonSet with node eligibility settings matching the intended workers.

Explanation

Correct Answer

C:

Add only the needed matching toleration to the workload or adjust node policy intentionally. This correction targets the specific failure. Taints repel Pods and tolerations allow consideration but do not force placement. A successful result is: The intended Pod can schedule there while unrelated Pods remain excluded.

Incorrect Answers

A:

This procedure belongs to a different Kubernetes condition (A Deployment consumes a ConfigMap through env vars and existing Pods still have old values.).

B:

Use preferredDuringSchedulingIgnoredDuringExecution node affinity with weights. This procedure belongs to a different Kubernetes condition (A workload prefers zone-b for latency but can operate in other zones.). It does not directly resolve the observed failure. The targeted action is: Add only the needed matching toleration to the workload or adjust node policy intentionally.

D:

Use a DaemonSet with node eligibility settings matching the intended workers. This procedure belongs to a different Kubernetes condition (Each worker needs exactly one log-collector Pod when nodes are added.). It does not directly resolve the observed failure. The targeted action is: Add only the needed matching toleration to the workload or adjust node policy intentionally.

Question 603

A platform engineer receives this incident: StatefulSet peers must discover individual Pod DNS records rather than one virtual Service IP. Which change should be made first after validating the facts?

  1. Create an ingress policy selecting the API Pods with combined namespaceSelector and podSelector peer criteria.
  2. Use kubectl port-forward to an appropriate Pod or Service for authorized short-lived access.
  3. Use a headless Service with clusterIP None matching the StatefulSet selector.
  4. Correct Ingress paths and pathType mapping to the proper Service backends.

Explanation

Correct Answer

C:

Use a headless Service with clusterIP None matching the StatefulSet selector. This correction targets the specific failure. Headless Services expose endpoint DNS without allocating a virtual ClusterIP. A successful result is: DNS returns individual eligible Pod endpoint addresses and stable peer identities.

Incorrect Answers

A:

Create an ingress policy selecting the API Pods with combined namespaceSelector and podSelector peer criteria.

B:

Use kubectl port-forward to an appropriate Pod or Service for authorized short-lived access.

D:

This procedure belongs to a different Kubernetes condition (Traffic to /api is routed to the frontend Service rather than the API backend.). Correct Ingress paths and pathType mapping to the proper Service backends.

Question 604

During cluster maintenance, an engineer finds this problem: Multiple scheduler Pods run but none can acquire the leader lease. Which next action is technically justified?

  1. Allow required DNS egress to the cluster resolver while retaining intended isolation.
  2. Check lease access, API connectivity and component identity for leader election.
  3. Inspect etcd endpoint health, disk latency, quorum and certificate connectivity.
  4. Compare resource requests against node allocatable rather than only live CPU utilization.

Explanation

Correct Answer

B:

Check lease access, API connectivity and component identity for leader election. This correction targets the specific failure. HA control-plane components coordinate active leadership through leases. A successful result is: One healthy instance holds the expected lease and scheduling resumes.

Incorrect Answers

A:

Allow required DNS egress to the cluster resolver while retaining intended isolation. This procedure belongs to a different Kubernetes condition (Only Pods selected by a new egress policy fail DNS while other Pods resolve normally.). It does not directly resolve the observed failure. The targeted action is: Check lease access, API connectivity and component identity for leader election.

C:

Inspect etcd endpoint health, disk latency, quorum and certificate connectivity. This procedure belongs to a different Kubernetes condition (The API server is slow and logs show etcd request timeouts.). It does not directly resolve the observed failure. The targeted action is: Check lease access, API connectivity and component identity for leader election.

D:

Compare resource requests against node allocatable rather than only live CPU utilization. This procedure belongs to a different Kubernetes condition (A node appears idle by CPU usage but a new Pod is unschedulable with Insufficient cpu.). It does not directly resolve the observed failure. The targeted action is: Check lease access, API connectivity and component identity for leader election.

Question 605

A reviewer wants proof that this issue was corrected: Traffic to /api is routed to the frontend Service rather than the API backend. Which observed result is the STRONGEST evidence?

  1. Requests to /api reach the API and / reach the frontend.
  2. Traffic reaches local endpoints with the desired source-IP behavior and documented node distribution.
  3. In-cluster Service names resolve again from test Pods.
  4. TLS negotiation presents the expected certificate chain for the intended host.

Explanation

Correct Answer

A:

Requests to /api reach the API and / reach the frontend. The corresponding action is: Correct Ingress paths and pathType mapping to the proper Service backends.

Incorrect Answers

B:

Traffic reaches local endpoints with the desired source-IP behavior and documented node distribution. This is evidence for a separate case (A team needs clients' original source IP preserved for a LoadBalancer Service.), not for the target problem. An appropriate validation would be: Requests to /api reach the API and / reach the frontend.

C:

In-cluster Service names resolve again from test Pods. This is evidence for a separate case (All Pods lose service-name resolution after the CoreDNS Deployment becomes unavailable.), not for the target problem. An appropriate validation would be: Requests to /api reach the API and / reach the frontend.

D:

TLS negotiation presents the expected certificate chain for the intended host. This is evidence for a separate case (An HTTPS Ingress serves the wrong certificate for app.example.org.), not for the target problem. An appropriate validation would be: Requests to /api reach the API and / reach the frontend.

Question 606

The team is reviewing this failure mode: Database replicas require stable identities and persistent storage across rescheduling. Which statement explains WHY the recommended control works?

  1. StatefulSets are suited to ordered, identity-aware stateful workloads.
  2. Taints repel Pods and tolerations allow consideration but do not force placement.
  3. Deployment rollout history can support a controlled rollback without rebuilding manifests.
  4. Liveness probes trigger container recovery when the application cannot progress.

Explanation

Correct Answer

A:

StatefulSets are suited to ordered, identity-aware stateful workloads. This principle explains the targeted result. A concrete response is: Use a StatefulSet with stable network identity and volumeClaimTemplates as appropriate.

Incorrect Answers

B:

This principle is useful for another case (A special node has NoSchedule taint and a permitted Pod remains Pending.), but does not explain the most direct solution here. StatefulSets are suited to ordered, identity-aware stateful workloads.

C:

This principle is useful for another case (A recent Deployment image change causes requests to fail and the previous revision worked.), but does not explain the most direct solution here.

D:

Liveness probes trigger container recovery when the application cannot progress. This principle is useful for another case (An HTTP server occasionally deadlocks while its process remains running.), but does not explain the most direct solution here. The governing consideration is: StatefulSets are suited to ordered, identity-aware stateful workloads.

Question 607

A review finds this Kubernetes issue: A workload prefers zone-b for latency but can operate in other zones. Which suggestion would make troubleshooting or security worse?

  1. Preserve relevant logs when diagnosing a repeating container crash.
  2. Use required affinity when every other zone must remain usable.
  3. Choose a storage access mode backed by real CSI capabilities.
  4. Record a rollback approach before high-impact control-plane changes.

Explanation

Correct Answer

B:

Use required affinity when every other zone must remain usable. This shortcut fails to address the root cause and risks a worse outcome. Preferred affinity guides placement without enforcing a hard constraint. A safer course is: Use preferredDuringSchedulingIgnoredDuringExecution node affinity with weights.

Incorrect Answers

A:

Preserve relevant logs when diagnosing a repeating container crash. This is an appropriate safeguard, not the unsafe shortcut. Prior process output often identifies the immediate cause. For the stated case, a focused correction is: Use preferredDuringSchedulingIgnoredDuringExecution node affinity with weights.

C:

Choose a storage access mode backed by real CSI capabilities. Requested volume semantics still depend on the storage implementation. For the stated case, a focused correction is: Use preferredDuringSchedulingIgnoredDuringExecution node affinity with weights.

D:

Record a rollback approach before high-impact control-plane changes. Deliberate rollback improves operational recoverability. For the stated case, a focused correction is: Use preferredDuringSchedulingIgnoredDuringExecution node affinity with weights.

Question 608

A platform engineer receives this incident: A Deployment must update without taking all replicas offline during rollout. Which change should be made first after validating the facts?

  1. Tune maxUnavailable and maxSurge in the RollingUpdate strategy with adequate capacity.
  2. Use a DaemonSet with node eligibility settings matching the intended workers.
  3. Use a StatefulSet with stable network identity and volumeClaimTemplates as appropriate.
  4. Ensure relevant CPU requests are defined and the resource metrics pipeline is working.

Explanation

Correct Answer

A:

Tune maxUnavailable and maxSurge in the RollingUpdate strategy with adequate capacity. This correction targets the specific failure. RollingUpdate availability and surge settings govern the rate of replica replacement. A successful result is: The rollout maintains the intended number of available replicas at each transition.

Incorrect Answers

B:

Use a DaemonSet with node eligibility settings matching the intended workers. This procedure belongs to a different Kubernetes condition (Each worker needs exactly one log-collector Pod when nodes are added.). It does not directly resolve the observed failure. The targeted action is: Tune maxUnavailable and maxSurge in the RollingUpdate strategy with adequate capacity.

C:

Use a StatefulSet with stable network identity and volumeClaimTemplates as appropriate. This procedure belongs to a different Kubernetes condition (Database replicas require stable identities and persistent storage across rescheduling.). It does not directly resolve the observed failure. The targeted action is: Tune maxUnavailable and maxSurge in the RollingUpdate strategy with adequate capacity.

D:

Ensure relevant CPU requests are defined and the resource metrics pipeline is working. This procedure belongs to a different Kubernetes condition (HPA reports unknown CPU utilization although Pods are running.). It does not directly resolve the observed failure. The targeted action is: Tune maxUnavailable and maxSurge in the RollingUpdate strategy with adequate capacity.

Question 609

A platform engineer receives this incident: A PVC requests storageClassName fast but no PV is created after several minutes. Which change should be made first after validating the facts?

  1. Verify the fast StorageClass provisioner and associated CSI controller health.
  2. Enable supported volume expansion and increase PVC requested storage safely.
  3. Configure the intended default StorageClass annotation while checking existing defaults.
  4. Inspect CSI controller, node plugin and VolumeAttachment state then restore the failing attachment path.

Explanation

Correct Answer

A:

Verify the fast StorageClass provisioner and associated CSI controller health. This correction targets the specific failure. Dynamic provisioning depends on a working provisioner and an appropriate StorageClass. A successful result is: A new PV is dynamically created and the claim becomes Bound.

Incorrect Answers

B:

Enable supported volume expansion and increase PVC requested storage safely. This procedure belongs to a different Kubernetes condition (A PVC is nearly full and its backing CSI driver supports growth.). It does not directly resolve the observed failure. The targeted action is: Verify the fast StorageClass provisioner and associated CSI controller health.

C:

Configure the intended default StorageClass annotation while checking existing defaults. This procedure belongs to a different Kubernetes condition (New claims omit storageClassName and use an unintended slow storage provider.). It does not directly resolve the observed failure. The targeted action is: Verify the fast StorageClass provisioner and associated CSI controller health.

D:

Inspect CSI controller, node plugin and VolumeAttachment state then restore the failing attachment path. This procedure belongs to a different Kubernetes condition (A Pod is stuck ContainerCreating due to an attach timeout from a cloud block volume.). It does not directly resolve the observed failure. The targeted action is: Verify the fast StorageClass provisioner and associated CSI controller health.

Question 610

An administrator reviews several possible responses to this condition: A manually created PV is available but a PVC specifying an unmatched StorageClass never binds. Which option creates an avoidable failure?

  1. Record a rollback approach before high-impact control-plane changes.
  2. Randomly set a nonexistent provisioner in the StorageClass to force binding.
  3. Use a staged rollout and observe readiness before full deployment.
  4. Inspect the exact Secret or ConfigMap reference without exposing credentials.

Explanation

Correct Answer

B:

Randomly set a nonexistent provisioner in the StorageClass to force binding. Static PV-PVC binding considers class, capacity and access requirements. A safer course is: Align the claim and PV storageClassName and required volume characteristics for static binding.

Incorrect Answers

A:

Record a rollback approach before high-impact control-plane changes. Deliberate rollback improves operational recoverability. For the stated case, a focused correction is: Align the claim and PV storageClassName and required volume characteristics for static binding.

C:

Use a staged rollout and observe readiness before full deployment. Staged changes reduce simultaneous loss of healthy replicas. For the stated case, a focused correction is: Align the claim and PV storageClassName and required volume characteristics for static binding.

D:

Inspect the exact Secret or ConfigMap reference without exposing credentials. Configuration errors can be diagnosed without leaking sensitive data. For the stated case, a focused correction is: Align the claim and PV storageClassName and required volume characteristics for static binding.

Certified Kubernetes Administrator (CKA) Practice Tests