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 39

Question 380

A CKA learner must investigate the following: A new storage integration must provision volumes without modifying kubelet core code. Which command or check supplies the MOST direct diagnostic evidence?

  1. Run kubectl auth can-i create deployments -n finance --as=team-user and inspect all relevant bindings.
  2. Inspect kubectl get csidrivers and CSI controller and node plugin Pods.
  3. Inspect installed CNI configuration and test runtime with crictl separately.
  4. Run kubectl describe pod in kube-system and check kubelet or container logs as appropriate.

Explanation

Correct Answer

B:

Inspect kubectl get csidrivers and CSI controller and node plugin Pods. This diagnostic examines the relevant resource or subsystem. CSI decouples storage provider implementation from Kubernetes core. The validating result would be: CSI objects and drivers become registered and claims can be provisioned.

Incorrect Answers

A:

This check is appropriate to the separate problem (An admin changed RoleBindings and wants proof the operator cannot create deployments.), but it is not the direct diagnostic for the described failure. Inspect kubectl get csidrivers and CSI controller and node plugin Pods.

C:

This check is appropriate to the separate problem (A team mistakes the container network interface for the container runtime interface.), but it is not the direct diagnostic for the described failure. Inspect kubectl get csidrivers and CSI controller and node plugin Pods.

D:

This check is appropriate to the separate problem (A new control-plane component does not appear ready after a manifest update.), but it is not the direct diagnostic for the described failure. Inspect kubectl get csidrivers and CSI controller and node plugin Pods.

Question 381

A Kubernetes operations team observes the following: Two clusters need the same base manifest but different replica counts and labels. What is the MOST appropriate corrective action?

  1. Use Kustomize bases and overlays rather than maintaining divergent full copies.
  2. Verify the intended cluster CA and regenerate a join command containing its correct discovery-token-ca-cert-hash.
  3. Confirm the Kubernetes and kubelet swap configuration and align host swap handling with supported policy.
  4. Drain the worker, upgrade kubeadm and kubelet components appropriately, then uncordon after validation.

Explanation

Correct Answer

A:

Use Kustomize bases and overlays rather than maintaining divergent full copies. This correction targets the specific failure. Kustomize composes declarative resources without requiring separate duplicated manifests. A successful result is: Rendered manifests share the base while environment-specific patches differ as intended.

Incorrect Answers

B:

Verify the intended cluster CA and regenerate a join command containing its correct discovery-token-ca-cert-hash. This procedure belongs to a different Kubernetes condition (A worker join fails with a discovery CA certificate hash mismatch.). It does not directly resolve the observed failure. The targeted action is: Use Kustomize bases and overlays rather than maintaining divergent full copies.

C:

Confirm the Kubernetes and kubelet swap configuration and align host swap handling with supported policy. This procedure belongs to a different Kubernetes condition (An intended kubeadm worker reports kubelet swap-related startup failures.). It does not directly resolve the observed failure. The targeted action is: Use Kustomize bases and overlays rather than maintaining divergent full copies.

D:

Drain the worker, upgrade kubeadm and kubelet components appropriately, then uncordon after validation. This procedure belongs to a different Kubernetes condition (The control plane is upgraded but one worker still runs an older supported kubelet.). It does not directly resolve the observed failure. The targeted action is: Use Kustomize bases and overlays rather than maintaining divergent full copies.

Question 382

A platform engineer receives this incident: A Service exists but its EndpointSlice contains no addresses even though backend Pods are running. Which change should be made first after validating the facts?

  1. Set a valid ingressClassName for an installed and healthy Ingress controller.
  2. Install or select a supported Gateway API controller and provision a valid GatewayClass and Gateway.
  3. Align the Service selector with ready Pod labels and verify endpoint membership.
  4. Configure a NodePort Service with the appropriate servicePort, targetPort and allowed nodePort.

Explanation

Correct Answer

C:

Align the Service selector with ready Pod labels and verify endpoint membership. This correction targets the specific failure. Service selectors and readiness determine which Pods become eligible endpoints. A successful result is: Ready backend Pod IPs appear in EndpointSlices for the Service.

Incorrect Answers

A:

Set a valid ingressClassName for an installed and healthy Ingress controller. This procedure belongs to a different Kubernetes condition (An Ingress resource has an address but no controller is processing its rules.). It does not directly resolve the observed failure. The targeted action is: Align the Service selector with ready Pod labels and verify endpoint membership.

B:

Install or select a supported Gateway API controller and provision a valid GatewayClass and Gateway. This procedure belongs to a different Kubernetes condition (An HTTPRoute cannot bind because its parent GatewayClass has no controller managing it.). It does not directly resolve the observed failure. The targeted action is: Align the Service selector with ready Pod labels and verify endpoint membership.

D:

Configure a NodePort Service with the appropriate servicePort, targetPort and allowed nodePort.

Question 383

The team is reviewing this failure mode: A worker is Ready but reports PIDPressure and new processes fail to launch. Which statement explains WHY the recommended control works?

  1. etcd storage quota alarms require careful backend maintenance and sufficient disk.
  2. Node PID exhaustion can affect kubelet and unrelated Pods.
  3. Resource pressure investigation requires measured utilization and scheduler reservation context.
  4. Service existence does not guarantee a healthy backend endpoint.

Explanation

Correct Answer

B:

Node PID exhaustion can affect kubelet and unrelated Pods. This principle explains the targeted result. A concrete response is: Identify excessive process counts and correct the offending workload or node capacity.

Incorrect Answers

A:

Etcd storage quota alarms require careful backend maintenance and sufficient disk. This principle is useful for another case (etcd returns a no-space alarm after excessive database growth.), but does not explain the most direct solution here. The governing consideration is: Node PID exhaustion can affect kubelet and unrelated Pods.

C:

This principle is useful for another case (A node reports high CPU use and latency spikes while the scheduler keeps assigning Pods.), but does not explain the most direct solution here. Node PID exhaustion can affect kubelet and unrelated Pods.

D:

Service existence does not guarantee a healthy backend endpoint. This principle is useful for another case (A Service DNS resolves but connections fail and EndpointSlices contain zero ready endpoints.), but does not explain the most direct solution here. The governing consideration is: Node PID exhaustion can affect kubelet and unrelated Pods.

Question 384

Select TWO technically sound statements for this situation, covering remediation and validation: A kubectl command is applying objects in the wrong environment after a context switch.

  1. Validation: kubectl commands target the authorized cluster and expected namespace.
  2. Remediation: Inspect available kubeconfig contexts and explicitly select or specify the intended context.
  3. Validation: An impersonated create deployment request is denied in the target namespace.
  4. Remediation: Run kubectl delete on whichever context happens to be active.
  5. Remediation: Plan the ordered control-plane upgrade using kubeadm upgrade plan and supported version skew guidance.

Explanation

Correct Answers

A:

Validation: kubectl commands target the authorized cluster and expected namespace. This result verifies the behavior the remediation is supposed to restore.

B:

Remediation: Inspect available kubeconfig contexts and explicitly select or specify the intended context. The remedy targets the reported failure rather than a different subsystem. kubectl uses current-context, user and cluster mappings that must be validated.

Incorrect Answers

C:

Validation: An impersonated create deployment request is denied in the target namespace. This evidence applies to a different condition (An admin changed RoleBindings and wants proof the operator cannot create deployments.), and would not verify this target fix: A kubectl command is applying objects in the wrong environment after a context switch.

D:

Remediation: Run kubectl delete on whichever context happens to be active. This is the unsafe shortcut for the case, not an acceptable intervention. kubectl uses current-context, user and cluster mappings that must be validated.

E:

Remediation: Plan the ordered control-plane upgrade using kubeadm upgrade plan and supported version skew guidance. This action targets a different condition (A kubeadm managed cluster must move one supported minor release forward.), not this reported failure: A kubectl command is applying objects in the wrong environment after a context switch.

Question 385

In a Kubernetes cluster, the following condition is observed: A cleanup should run nightly but prevent overlapping executions. Which remediation MOST directly addresses it?

  1. Label eligible hardware nodes and use an explicit nodeSelector or required node affinity.
  2. Configure a livenessProbe that detects the deadlock and uses safe thresholds.
  3. Create a CronJob with schedule and concurrencyPolicy Forbid if overlap is unsafe.
  4. Tune maxUnavailable and maxSurge in the RollingUpdate strategy with adequate capacity.

Explanation

Correct Answer

C:

Create a CronJob with schedule and concurrencyPolicy Forbid if overlap is unsafe. This correction targets the specific failure. CronJob concurrency policy controls overlapping scheduled executions. A successful result is: Scheduled Jobs launch on time and do not overlap while a previous run remains active.

Incorrect Answers

A:

Label eligible hardware nodes and use an explicit nodeSelector or required node affinity.

B:

This procedure belongs to a different Kubernetes condition (An HTTP server occasionally deadlocks while its process remains running.). Configure a livenessProbe that detects the deadlock and uses safe thresholds.

D:

Tune maxUnavailable and maxSurge in the RollingUpdate strategy with adequate capacity. This procedure belongs to a different Kubernetes condition (A Deployment must update without taking all replicas offline during rollout.). It does not directly resolve the observed failure. The targeted action is: Create a CronJob with schedule and concurrencyPolicy Forbid if overlap is unsafe.

Question 386

A review finds this Kubernetes issue: A proposed upgrade would run kubelet newer than kube-apiserver. Which suggestion would make troubleshooting or security worse?

  1. Verify the target cluster and namespace before mutating resources.
  2. Confirm actual node conditions and allocatable resources before scheduling changes.
  3. Apply scoped access rather than granting universal administration.
  4. Ignore component compatibility as long as Pods look healthy.

Explanation

Correct Answer

D:

Ignore component compatibility as long as Pods look healthy. Kubelet must not be newer than its kube-apiserver under normal supported skew rules. A safer course is: Reject the unsupported skew and follow the documented Kubernetes component version-skew policy.

Incorrect Answers

A:

Verify the target cluster and namespace before mutating resources. Explicit target context avoids changing the wrong environment. For the stated case, a focused correction is: Reject the unsupported skew and follow the documented Kubernetes component version-skew policy.

B:

Confirm actual node conditions and allocatable resources before scheduling changes. Scheduler behavior must be assessed against real node constraints. For the stated case, a focused correction is: Reject the unsupported skew and follow the documented Kubernetes component version-skew policy.

C:

Apply scoped access rather than granting universal administration. Least privilege limits accidental or excessive authority. For the stated case, a focused correction is: Reject the unsupported skew and follow the documented Kubernetes component version-skew policy.

Question 387

Following this Kubernetes scenario, an operator validates remediation: A database requires exclusive access by exactly one Pod to a PVC. Which measurable outcome shows success?

  1. The application receives the expected raw block device instead of a mounted filesystem.
  2. New eligible PVCs select the intended default class.
  3. Volume provisioning considers the selected Pod scheduling topology.
  4. A second Pod attempting the same PVC is denied or remains unschedulable.

Explanation

Correct Answer

D:

A second Pod attempting the same PVC is denied or remains unschedulable. This outcome shows the required behavior after correction. The corresponding action is: Use ReadWriteOncePod with a compatible CSI environment when strict single-Pod ownership is required.

Incorrect Answers

A:

The application receives the expected raw block device instead of a mounted filesystem. This is evidence for a separate case (A storage consumer expects a raw block device but the PVC is provisioned with volumeMode Filesystem.), not for the target problem. An appropriate validation would be: A second Pod attempting the same PVC is denied or remains unschedulable.

B:

New eligible PVCs select the intended default class. This is evidence for a separate case (New claims omit storageClassName and use an unintended slow storage provider.), not for the target problem. An appropriate validation would be: A second Pod attempting the same PVC is denied or remains unschedulable.

C:

Volume provisioning considers the selected Pod scheduling topology. This is evidence for a separate case (A topology-bound cloud disk is provisioned in the wrong zone before its Pod schedules.), not for the target problem. An appropriate validation would be: A second Pod attempting the same PVC is denied or remains unschedulable.

Question 388

An operations team tests its response to this finding: A node image update changes the runtime socket and kubelet can no longer create containers. Which outcome most clearly establishes that the fix worked?

  1. Network add-on handles Pod routes while the runtime handles container lifecycle.
  2. Kubelet connects successfully to the runtime and new Pods start.
  3. The intended nodes have the expected labels and targeted scheduling rules match them.
  4. TLS clients can authenticate after renewal and the control plane is healthy.

Explanation

Correct Answer

B:

Kubelet connects successfully to the runtime and new Pods start. The corresponding action is: Correct the kubelet CRI endpoint and verify runtime socket availability.

Incorrect Answers

A:

Network add-on handles Pod routes while the runtime handles container lifecycle. This is evidence for a separate case (A team mistakes the container network interface for the container runtime interface.), not for the target problem. An appropriate validation would be: Kubelet connects successfully to the runtime and new Pods start.

C:

The intended nodes have the expected labels and targeted scheduling rules match them. This is evidence for a separate case (Node role labels are inconsistent after provisioning new workers.), not for the target problem. An appropriate validation would be: Kubelet connects successfully to the runtime and new Pods start.

D:

TLS clients can authenticate after renewal and the control plane is healthy. This is evidence for a separate case (An API client certificate is about to expire on a kubeadm managed control plane.), not for the target problem. An appropriate validation would be: Kubelet connects successfully to the runtime and new Pods start.

Question 389

Following this Kubernetes scenario, an operator validates remediation: All Pods on one node disappear from monitoring after kubelet service stops. Which measurable outcome shows success?

  1. Kubelet resumes node reporting and reconciles static and managed Pods.
  2. Pods successfully pull the image and transition to Running.
  3. The team can reconstruct which failure came first and validate the repaired stage.
  4. The identified workload and node saturation explain latency and a targeted capacity change restores headroom.

Explanation

Correct Answer

A:

Kubelet resumes node reporting and reconciles static and managed Pods. The corresponding action is: Recover kubelet service after inspecting its systemd journal and configuration.

Incorrect Answers

B:

Pods successfully pull the image and transition to Running. This is evidence for a separate case (Pods stay ImagePullBackOff after a private registry migration.), not for the target problem. An appropriate validation would be: Kubelet resumes node reporting and reconciles static and managed Pods.

C:

The team can reconstruct which failure came first and validate the repaired stage. This is evidence for a separate case (An incident responder sees Pod recreation, image pull and readiness failures and needs the order of events.), not for the target problem. An appropriate validation would be: Kubelet resumes node reporting and reconciles static and managed Pods.

D:

The identified workload and node saturation explain latency and a targeted capacity change restores headroom. This is evidence for a separate case (A node reports high CPU use and latency spikes while the scheduler keeps assigning Pods.), not for the target problem. An appropriate validation would be: Kubelet resumes node reporting and reconciles static and managed Pods.

Question 390

A review finds this Kubernetes issue: An app writes errors to stderr but a team searches only a file in the container image. Which suggestion would make troubleshooting or security worse?

  1. Check applicable component version compatibility before upgrading.
  2. Keep backups or change history for potentially destructive maintenance.
  3. Verify the target cluster and namespace before mutating resources.
  4. Change CNI settings to restore an application error log file.

Explanation

Correct Answer

D:

Change CNI settings to restore an application error log file. Kubernetes container log viewing relies on container output streams, not arbitrary files. A safer course is: Inspect aggregated container stdout/stderr using kubectl logs or the configured logging pipeline.

Incorrect Answers

A:

Check applicable component version compatibility before upgrading. Supported version relationships prevent avoidable upgrade failures. For the stated case, a focused correction is: Inspect aggregated container stdout/stderr using kubectl logs or the configured logging pipeline.

B:

Keep backups or change history for potentially destructive maintenance. Recovery planning reduces the impact of a faulty change. For the stated case, a focused correction is: Inspect aggregated container stdout/stderr using kubectl logs or the configured logging pipeline.

C:

Verify the target cluster and namespace before mutating resources. Explicit target context avoids changing the wrong environment. For the stated case, a focused correction is: Inspect aggregated container stdout/stderr using kubectl logs or the configured logging pipeline.

Certified Kubernetes Administrator (CKA) Practice Tests