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 11

Question 100

A Kubernetes operations team observes the following: A custom resource cannot be created because the API server does not recognize its kind. What is the MOST appropriate corrective action?

  1. Correct the kubelet CRI endpoint and verify runtime socket availability.
  2. Initialize kubeadm with a Pod CIDR compatible with the selected CNI and deploy that CNI.
  3. Install or correct the matching CRD, then verify the API discovery before applying the custom object.
  4. Check effective permissions using impersonation rather than relying on the YAML file alone.

Explanation

Correct Answer

C:

Install or correct the matching CRD, then verify the API discovery before applying the custom object. This correction targets the specific failure. CRDs extend Kubernetes API schemas before custom instances can be created. A successful result is: kubectl recognizes the new kind and the custom resource can be admitted.

Incorrect Answers

A:

This procedure belongs to a different Kubernetes condition (A node image update changes the runtime socket and kubelet can no longer create containers.). Correct the kubelet CRI endpoint and verify runtime socket availability.

B:

This procedure belongs to a different Kubernetes condition (A new control-plane node initializes but Pods will not receive Pod network addresses.). Initialize kubeadm with a Pod CIDR compatible with the selected CNI and deploy that CNI.

D:

This procedure belongs to a different Kubernetes condition (An admin changed RoleBindings and wants proof the operator cannot create deployments.). Check effective permissions using impersonation rather than relying on the YAML file alone.

Question 101

To avoid guessing about this fault, what should be inspected first? An app cannot reach a database and the error is a TCP timeout, not DNS NXDOMAIN.

  1. Inspect node conditions and host process counts with ps and /proc metrics.
  2. Inspect kubectl get lease -n kube-system and scheduler leader-election logs.
  3. Inspect kubectl describe node and node filesystem usage with df -h and crictl images.
  4. Use nslookup, curl or nc from a debug Pod and compare Pod and Service ports.

Explanation

Correct Answer

D:

Use nslookup, curl or nc from a debug Pod and compare Pod and Service ports. This diagnostic examines the relevant resource or subsystem. DNS, network path and application listener failures require different diagnostics. The validating result would be: The investigation identifies the first failed networking layer and a targeted fix restores connectivity.

Incorrect Answers

A:

This check is appropriate to the separate problem (A worker is Ready but reports PIDPressure and new processes fail to launch.), but it is not the direct diagnostic for the described failure.

B:

This check is appropriate to the separate problem (Multiple scheduler Pods run but none can acquire the leader lease.), but it is not the direct diagnostic for the described failure. Use nslookup, curl or nc from a debug Pod and compare Pod and Service ports.

C:

This check is appropriate to the separate problem (Pods on one worker fail while the node reports DiskPressure.), but it is not the direct diagnostic for the described failure.

Question 102

A reviewer wants proof that this issue was corrected: A storage consumer expects a raw block device but the PVC is provisioned with volumeMode Filesystem. Which observed result is the STRONGEST evidence?

  1. The application receives the expected raw block device instead of a mounted filesystem.
  2. The expected PV binds to the intended PVC without unrelated provisioning.
  3. VolumeAttachment becomes healthy and the Pod mounts its claim.
  4. PVC and filesystem capacity increase to the requested size once reconciliation completes.

Explanation

Correct Answer

A:

The application receives the expected raw block device instead of a mounted filesystem. The corresponding action is: Configure compatible PVC and PV volumeMode Block and Pod volumeDevices when supported.

Incorrect Answers

B:

The expected PV binds to the intended PVC without unrelated provisioning. This is evidence for a separate case (A manually created PV is available but a PVC specifying an unmatched StorageClass never binds.), not for the target problem. An appropriate validation would be: The application receives the expected raw block device instead of a mounted filesystem.

C:

VolumeAttachment becomes healthy and the Pod mounts its claim. This is evidence for a separate case (A Pod is stuck ContainerCreating due to an attach timeout from a cloud block volume.), not for the target problem. An appropriate validation would be: The application receives the expected raw block device instead of a mounted filesystem.

D:

PVC and filesystem capacity increase to the requested size once reconciliation completes. This is evidence for a separate case (A PVC is nearly full and its backing CSI driver supports growth.), not for the target problem. An appropriate validation would be: The application receives the expected raw block device instead of a mounted filesystem.

Question 103

During remediation, this failure appears: An app container restarts so quickly that current kubectl logs show only its latest attempt. Which action is the LEAST defensible?

  1. Test connectivity from the affected Pod before redesigning all Services.
  2. Apply scoped access rather than granting universal administration.
  3. Verify the target cluster and namespace before mutating resources.
  4. Assume no earlier logs exist because the current log is empty.

Explanation

Correct Answer

D:

Assume no earlier logs exist because the current log is empty. This shortcut fails to address the root cause and risks a worse outcome. Current container output can omit the earlier process that caused CrashLoopBackOff. A safer course is: Read the prior container instance logs using the --previous option.

Incorrect Answers

A:

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: Read the prior container instance logs using the --previous option.

B:

Apply scoped access rather than granting universal administration. Least privilege limits accidental or excessive authority. For the stated case, a focused correction is: Read the prior container instance logs using the --previous option.

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: Read the prior container instance logs using the --previous option.

Question 104

To avoid guessing about this fault, what should be inspected first? A Pod requests a non-existent node label through required node affinity.

  1. Trace connection from a test Pod and inspect host egress NAT and route tables.
  2. Use kubectl logs pod-name --previous -c app and inspect referenced ConfigMaps.
  3. Inspect Pod requiredDuringScheduling node affinity and node labels.
  4. Inspect kubectl describe pod events and Secret existence without exposing data.

Explanation

Correct Answer

C:

Inspect Pod requiredDuringScheduling node affinity and node labels. This diagnostic examines the relevant resource or subsystem. Required node affinity is a hard placement constraint. The validating result would be: The Pod schedules on an appropriate node that satisfies required affinity.

Incorrect Answers

A:

This check is appropriate to the separate problem (Pods reach cluster Services but cannot contact external APIs from private node networks.), but it is not the direct diagnostic for the described failure. Trace connection from a test Pod and inspect host egress NAT and route tables.

B:

This check is appropriate to the separate problem (A newly deployed app repeatedly exits with invalid configuration errors.), but it is not the direct diagnostic for the described failure. Use kubectl logs pod-name --previous -c app and inspect referenced ConfigMaps.

D:

This check is appropriate to the separate problem (A Deployment's Pods report CreateContainerConfigError due to a missing Secret.), but it is not the direct diagnostic for the described failure. Inspect kubectl describe pod events and Secret existence without exposing data.

Question 105

An engineer needs to justify a change for this issue: A worker requires OS maintenance while running replicated customer Pods. Which technical reason is MOST relevant?

  1. Kubelet automatically manages static Pods from its configured manifest path.
  2. Graceful node maintenance coordinates schedulability and safe workload eviction.
  3. etcd contains cluster state and needs tested, consistent backups.
  4. The CRI is the node-side interface for container lifecycle management.

Explanation

Correct Answer

B:

Graceful node maintenance coordinates schedulability and safe workload eviction. This principle explains the targeted result. A concrete response is: Cordon and drain the node with appropriate eviction safeguards before maintenance.

Incorrect Answers

A:

Kubelet automatically manages static Pods from its configured manifest path. This principle is useful for another case (The kube-scheduler static Pod disappeared after someone edited its manifest incorrectly.), but does not explain the most direct solution here. The governing consideration is: Graceful node maintenance coordinates schedulability and safe workload eviction.

C:

Etcd contains cluster state and needs tested, consistent backups. This principle is useful for another case (A stacked-etcd control plane needs a recoverable snapshot before upgrade.), but does not explain the most direct solution here. The governing consideration is: Graceful node maintenance coordinates schedulability and safe workload eviction.

D:

This principle is useful for another case (A node image update changes the runtime socket and kubelet can no longer create containers.), but does not explain the most direct solution here. Graceful node maintenance coordinates schedulability and safe workload eviction.

Question 106

A review finds this Kubernetes issue: A Deployment's Pods report CreateContainerConfigError due to a missing Secret. Which suggestion would make troubleshooting or security worse?

  1. Paste the password into a publicly visible Deployment annotation.
  2. Review controller logs and resource status to understand reconciliation failures.
  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

A:

Paste the password into a publicly visible Deployment annotation. Kubernetes Secret references are namespaced and need valid names and keys. A safer course is: Create the intended Secret securely or correct secretKeyRef and namespace.

Incorrect Answers

B:

Review controller logs and resource status to understand reconciliation failures. Controller evidence can distinguish desired state from observed failure. For the stated case, a focused correction is: Create the intended Secret securely or correct secretKeyRef and namespace.

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: Create the intended Secret securely or correct secretKeyRef and namespace.

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: Create the intended Secret securely or correct secretKeyRef and namespace.

Question 107

A cluster administrator must address the following case: Pods cannot resolve cluster Service names and CoreDNS Pods are CrashLoopBackOff. Select TWO appropriate statements, one corrective action and one observable outcome.

  1. Remediation: Replace every Service name with a random static IP rather than fixing DNS.
  2. Remediation: Review CoreDNS logs and Corefile configuration, then restore a valid DNS Deployment.
  3. Validation: Kubelet resumes node reporting and reconciles static and managed Pods.
  4. Remediation: Inspect scheduler static Pod health, logs and leader election before targeted repair.
  5. Validation: CoreDNS becomes Ready and service DNS lookups succeed.

Explanation

Correct Answers

B:

Remediation: Review CoreDNS logs and Corefile configuration, then restore a valid DNS Deployment. The remedy targets the reported failure rather than a different subsystem. Malformed DNS plugin configuration can disable cluster name resolution.

E:

Validation: CoreDNS becomes Ready and service DNS lookups succeed. This result verifies the behavior the remediation is supposed to restore.

Incorrect Answers

A:

Remediation: Replace every Service name with a random static IP rather than fixing DNS. This is the unsafe shortcut for the case, not an acceptable intervention. Malformed DNS plugin configuration can disable cluster name resolution.

C:

Validation: Kubelet resumes node reporting and reconciles static and managed Pods. This evidence applies to a different condition (All Pods on one node disappear from monitoring after kubelet service stops.), and would not verify this target fix: Pods cannot resolve cluster Service names and CoreDNS Pods are CrashLoopBackOff.

D:

Remediation: Inspect scheduler static Pod health, logs and leader election before targeted repair. This action targets a different condition (New Pods remain Pending even with free node resources and kube-scheduler is unhealthy.), not this reported failure: Pods cannot resolve cluster Service names and CoreDNS Pods are CrashLoopBackOff.

Question 108

During an operational review, this fact emerges: A Pod in payments namespace cannot resolve the short name api for a Service in catalog namespace. Which Kubernetes behavior MOST directly governs the result?

  1. Egress policies must allow necessary dependency traffic such as DNS.
  2. Unqualified Service names resolve relative to the client's namespace search path.
  3. Gateway listeners own TLS configuration and certificate references must resolve.
  4. StatefulSet DNS identities require appropriate Service and Pod hostname relationships.

Explanation

Correct Answer

B:

Unqualified Service names resolve relative to the client's namespace search path. This principle explains the targeted result. A concrete response is: Use the Service's namespace-qualified name such as api.catalog.svc.cluster.local.

Incorrect Answers

A:

This principle is useful for another case (Egress-isolated Pods cannot resolve DNS even though their app traffic policy is correct.), but does not explain the most direct solution here. Unqualified Service names resolve relative to the client's namespace search path.

C:

Gateway listeners own TLS configuration and certificate references must resolve. This principle is useful for another case (A Gateway HTTPS listener reports invalid certificate references.), but does not explain the most direct solution here. The governing consideration is: Unqualified Service names resolve relative to the client's namespace search path.

D:

This principle is useful for another case (A StatefulSet member cannot resolve its ordinal hostname after the governing Service changed.), but does not explain the most direct solution here. Unqualified Service names resolve relative to the client's namespace search path.

Question 109

A reviewer wants proof that this issue was corrected: A Pod in payments namespace cannot resolve the short name api for a Service in catalog namespace. Which observed result is the STRONGEST evidence?

  1. The hostNetwork Pod resolves Kubernetes Service records as intended.
  2. Expected per-Pod DNS records resolve for stable StatefulSet member names.
  3. DNS resolves the desired Service from other namespaces.
  4. The Service obtains an external address and routes to ready backend Pods.

Explanation

Correct Answer

C:

DNS resolves the desired Service from other namespaces. The corresponding action is: Use the Service's namespace-qualified name such as api.catalog.svc.cluster.local.

Incorrect Answers

A:

The hostNetwork Pod resolves Kubernetes Service records as intended. This is evidence for a separate case (A hostNetwork Pod cannot resolve cluster Services using its inherited host resolver configuration.), not for the target problem. An appropriate validation would be: DNS resolves the desired Service from other namespaces.

B:

Expected per-Pod DNS records resolve for stable StatefulSet member names. This is evidence for a separate case (A StatefulSet member cannot resolve its ordinal hostname after the governing Service changed.), not for the target problem. An appropriate validation would be: DNS resolves the desired Service from other namespaces.

D:

The Service obtains an external address and routes to ready backend Pods. This is evidence for a separate case (An external HTTP service needs an infrastructure-managed public listener.), not for the target problem. An appropriate validation would be: DNS resolves the desired Service from other namespaces.

Question 110

The team is reviewing this failure mode: An operator receives HTTP 403 Forbidden from the API server when listing Secrets. Which statement explains WHY the recommended control works?

  1. Autoscaling requires available metrics and valid target configuration.
  2. CrashLoopBackOff is a symptom; process exit messages reveal the cause.
  3. An API 403 indicates authorization failure after reaching the API endpoint.
  4. Node bootstrap failures must be distinguished from post-registration scheduling faults.

Explanation

Correct Answer

C:

An API 403 indicates authorization failure after reaching the API endpoint. This principle explains the targeted result. A concrete response is: Diagnose RBAC authorization and effective identity rather than treating it as a network outage.

Incorrect Answers

A:

Autoscaling requires available metrics and valid target configuration. This principle is useful for another case (HPA displays <unknown> target metrics while replicas never scale.), but does not explain the most direct solution here. The governing consideration is: An API 403 indicates authorization failure after reaching the API endpoint.

B:

CrashLoopBackOff is a symptom; process exit messages reveal the cause. This principle is useful for another case (A newly deployed app repeatedly exits with invalid configuration errors.), but does not explain the most direct solution here. The governing consideration is: An API 403 indicates authorization failure after reaching the API endpoint.

D:

This principle is useful for another case (A new worker never registers though kubeadm join exited with an error.), but does not explain the most direct solution here. An API 403 indicates authorization failure after reaching the API endpoint.

Certified Kubernetes Administrator (CKA) Practice Tests