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 4

Question 30

An administrator is investigating this situation: A shared file workload requires concurrent writes from multiple nodes. Which action BEST resolves the underlying issue?

  1. Use a compatible StorageClass with volumeBindingMode WaitForFirstConsumer.
  2. Configure the intended default StorageClass annotation while checking existing defaults.
  3. Provision a storage backend and CSI driver that actually support ReadWriteMany.
  4. Choose a suitable storage access pattern or keep the volume attached to an allowed node.

Explanation

Correct Answer

C:

Provision a storage backend and CSI driver that actually support ReadWriteMany. This correction targets the specific failure. Access modes describe requested mounting capabilities but need backend support. A successful result is: Pods on different nodes mount the RWX volume successfully.

Incorrect Answers

A:

Use a compatible StorageClass with volumeBindingMode WaitForFirstConsumer. This procedure belongs to a different Kubernetes condition (A topology-bound cloud disk is provisioned in the wrong zone before its Pod schedules.). It does not directly resolve the observed failure. The targeted action is: Provision a storage backend and CSI driver that actually support ReadWriteMany.

B:

This procedure belongs to a different Kubernetes condition (New claims omit storageClassName and use an unintended slow storage provider.). Configure the intended default StorageClass annotation while checking existing defaults.

D:

This procedure belongs to a different Kubernetes condition (Two Pods on different nodes try to attach the same RWO block volume and one remains Pending.). Choose a suitable storage access pattern or keep the volume attached to an allowed node.

Question 31

For this Kubernetes administration case, select THREE statements that correctly identify a remedy, its governing principle and verification evidence: A new worker never registers though kubeadm join exited with an error.

  1. Remediation: Inspect kubeadm join output, API endpoint, token and discovery CA trust before retrying.
  2. Remediation: Copy an unrelated cluster's kubeconfig to force registration.
  3. Remediation: Correct image reference or registry credentials with an authorized imagePullSecret.
  4. Explanation: Node bootstrap failures must be distinguished from post-registration scheduling faults.
  5. Validation: The node registers with the intended cluster and becomes Ready.
  6. Validation: EndpointSlices contain the expected ready frontend Pods and requests succeed.

Explanation

Correct Answers

A:

Remediation: Inspect kubeadm join output, API endpoint, token and discovery CA trust before retrying. The remedy targets the reported failure rather than a different subsystem. Node bootstrap failures must be distinguished from post-registration scheduling faults.

D:

Explanation: Node bootstrap failures must be distinguished from post-registration scheduling faults. This is the technical mechanism supporting the recommended operation.

E:

Validation: The node registers with the intended cluster and becomes Ready. This result verifies the behavior the remediation is supposed to restore.

Incorrect Answers

B:

Remediation: Copy an unrelated cluster's kubeconfig to force registration. This is the unsafe shortcut for the case, not an acceptable intervention. Node bootstrap failures must be distinguished from post-registration scheduling faults.

C:

Remediation: Correct image reference or registry credentials with an authorized imagePullSecret. This action targets a different condition (Pods stay ImagePullBackOff after a private registry migration.), not this reported failure: A new worker never registers though kubeadm join exited with an error.

F:

Validation: EndpointSlices contain the expected ready frontend Pods and requests succeed. This evidence applies to a different condition (A newly deployed Service selector uses app=front while Pods are labeled app=frontend.), and would not verify this target fix: A new worker never registers though kubeadm join exited with an error.

Question 32

An operations team tests its response to this finding: All Pods lose service-name resolution after the CoreDNS Deployment becomes unavailable. Which outcome most clearly establishes that the fix worked?

  1. Requests to /api reach the API and / reach the frontend.
  2. In-cluster Service names resolve again from test Pods.
  3. Both internal Services and intended external domains resolve from Pods.
  4. Requests through ClusterIP reach backend Pods after dataplane repair.

Explanation

Correct Answer

B:

In-cluster Service names resolve again from test Pods. The corresponding action is: Restore healthy CoreDNS replicas and verify their upstream and service plugin configuration.

Incorrect Answers

A:

Requests to /api reach the API and / reach the frontend. This is evidence for a separate case (Traffic to /api is routed to the frontend Service rather than the API backend.), not for the target problem. An appropriate validation would be: In-cluster Service names resolve again from test Pods.

C:

Both internal Services and intended external domains resolve from Pods. This is evidence for a separate case (Internal Service names resolve but Pods cannot resolve public domains through CoreDNS.), not for the target problem. An appropriate validation would be: In-cluster Service names resolve again from test Pods.

D:

Requests through ClusterIP reach backend Pods after dataplane repair. This is evidence for a separate case (A Service virtual IP fails although direct Pod IP connectivity works.), not for the target problem. An appropriate validation would be: In-cluster Service names resolve again from test Pods.

Question 33

Following this Kubernetes scenario, an operator validates remediation: An application fails because its database initialization must happen before the main process. Which measurable outcome shows success?

  1. The intended Pod can schedule there while unrelated Pods remain excluded.
  2. Healthy replicas return to the previous image and readiness is restored.
  3. Main application containers start only after initContainers complete successfully.
  4. The container survives normal slow initialization then receives ongoing liveness checks.

Explanation

Correct Answer

C:

Main application containers start only after initContainers complete successfully. The corresponding action is: Use an initContainer for prerequisite checks or initialization steps.

Incorrect Answers

A:

The intended Pod can schedule there while unrelated Pods remain excluded. This is evidence for a separate case (A special node has NoSchedule taint and a permitted Pod remains Pending.), not for the target problem. An appropriate validation would be: Main application containers start only after initContainers complete successfully.

B:

Healthy replicas return to the previous image and readiness is restored. This is evidence for a separate case (A recent Deployment image change causes requests to fail and the previous revision worked.), not for the target problem. An appropriate validation would be: Main application containers start only after initContainers complete successfully.

D:

The container survives normal slow initialization then receives ongoing liveness checks. This is evidence for a separate case (A Java application needs two minutes to initialize but liveness checks restart it at 30 seconds.), not for the target problem. An appropriate validation would be: Main application containers start only after initContainers complete successfully.

Question 34

During cluster maintenance, an engineer finds this problem: An etcd snapshot is valid but the restored control plane is reading an empty data directory. Which next action is technically justified?

  1. Configure a stable shared controlPlaneEndpoint behind a correctly configured API server load balancer.
  2. Restore the snapshot to the intended data directory and update the relevant static Pod manifest safely.
  3. Adopt a version-controlled kubeadm configuration document with supported API schema and pinned intended settings.
  4. Bind a narrowly scoped Role to the controller ServiceAccount in team-a.

Explanation

Correct Answer

B:

Restore the snapshot to the intended data directory and update the relevant static Pod manifest safely. This correction targets the specific failure. Backup usefulness depends on using restored state in the active etcd configuration. A successful result is: The etcd member starts from restored data and expected Kubernetes API resources reappear.

Incorrect Answers

A:

This procedure belongs to a different Kubernetes condition (Two API servers run but workloads use one control-plane node IP as the endpoint.).

C:

Adopt a version-controlled kubeadm configuration document with supported API schema and pinned intended settings.

D:

This procedure belongs to a different Kubernetes condition (A controller ServiceAccount needs to read ConfigMaps only in team-a.). Bind a narrowly scoped Role to the controller ServiceAccount in team-a.

Question 35

In a Kubernetes cluster, the following condition is observed: Frontend Pods can unexpectedly connect to every Pod in a sensitive namespace. Which remediation MOST directly addresses it?

  1. Use a headless Service with clusterIP None matching the StatefulSet selector.
  2. Configure listener TLS certificateRefs to an accessible matching Secret and accepted hostname.
  3. Create a default-deny ingress NetworkPolicy for the sensitive namespace, then allow required traffic.
  4. Configure a NodePort Service with the appropriate servicePort, targetPort and allowed nodePort.

Explanation

Correct Answer

C:

Create a default-deny ingress NetworkPolicy for the sensitive namespace, then allow required traffic. This correction targets the specific failure. NetworkPolicy isolation is additive and defaults to allow without selecting policies. A successful result is: Unauthorized inbound connections fail while explicitly allowed paths work.

Incorrect Answers

A:

Use a headless Service with clusterIP None matching the StatefulSet selector. This procedure belongs to a different Kubernetes condition (StatefulSet peers must discover individual Pod DNS records rather than one virtual Service IP.). It does not directly resolve the observed failure. The targeted action is: Create a default-deny ingress NetworkPolicy for the sensitive namespace, then allow required traffic.

B:

This procedure belongs to a different Kubernetes condition (A Gateway HTTPS listener reports invalid certificate references.). Configure listener TLS certificateRefs to an accessible matching Secret and accepted hostname.

D:

This procedure belongs to a different Kubernetes condition (A development Service must be reachable on each eligible node at a defined node port.). Configure a NodePort Service with the appropriate servicePort, targetPort and allowed nodePort.

Question 36

Select TWO technically sound statements for this situation, covering remediation and validation: After a default-deny NetworkPolicy, a required API-to-database connection times out.

  1. Validation: Only the approved API-to-database traffic succeeds under policy enforcement.
  2. Remediation: Validate static Pod YAML syntax and restore the last correct manifest version.
  3. Remediation: Turn off the network plugin to bypass the policy.
  4. Validation: Connections through the Service reach the application on the correct port.
  5. Remediation: Add a specific policy allowing the expected source and destination labels and port.

Explanation

Correct Answers

A:

Validation: Only the approved API-to-database traffic succeeds under policy enforcement. This result verifies the behavior the remediation is supposed to restore.

E:

Remediation: Add a specific policy allowing the expected source and destination labels and port. The remedy targets the reported failure rather than a different subsystem. NetworkPolicies are additive allow lists once isolation applies.

Incorrect Answers

B:

Remediation: Validate static Pod YAML syntax and restore the last correct manifest version. This action targets a different condition (After a malformed YAML edit, kubelet stops running kube-controller-manager.), not this reported failure: After a default-deny NetworkPolicy, a required API-to-database connection times out.

C:

Remediation: Turn off the network plugin to bypass the policy. This is the unsafe shortcut for the case, not an acceptable intervention. NetworkPolicies are additive allow lists once isolation applies.

D:

Validation: Connections through the Service reach the application on the correct port. This evidence applies to a different condition (A Service has healthy endpoints but its targetPort points to 9090 while Pods listen on 8080.), and would not verify this target fix: After a default-deny NetworkPolicy, a required API-to-database connection times out.

Question 37

Following this Kubernetes scenario, an operator validates remediation: A Gateway exists but an HTTPRoute is not attached to its listener. Which measurable outcome shows success?

  1. Ready backend Pod IPs appear in EndpointSlices for the Service.
  2. Route conditions indicate acceptance and traffic reaches its backend Service.
  3. The listener becomes Programmed and serves the expected certificate.
  4. Traffic reaches local endpoints with the desired source-IP behavior and documented node distribution.

Explanation

Correct Answer

B:

Route conditions indicate acceptance and traffic reaches its backend Service. The corresponding action is: Correct HTTPRoute parentRefs, hostname and listener compatibility with the Gateway.

Incorrect Answers

A:

Ready backend Pod IPs appear in EndpointSlices for the Service. This is evidence for a separate case (A Service exists but its EndpointSlice contains no addresses even though backend Pods are running.), not for the target problem. An appropriate validation would be: Route conditions indicate acceptance and traffic reaches its backend Service.

C:

The listener becomes Programmed and serves the expected certificate. This is evidence for a separate case (A Gateway HTTPS listener reports invalid certificate references.), not for the target problem. An appropriate validation would be: Route conditions indicate acceptance and traffic reaches its backend Service.

D:

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: Route conditions indicate acceptance and traffic reaches its backend Service.

Question 38

An administrator reviews several possible responses to this condition: A temporary dynamically provisioned data volume should be removed with its claim. Which option creates an avoidable failure?

  1. Record a rollback approach before high-impact control-plane changes.
  2. Choose a storage access mode backed by real CSI capabilities.
  3. Check applicable component version compatibility before upgrading.
  4. Use Retain and assume cloud disk billing stops on PVC deletion.

Explanation

Correct Answer

D:

Use Retain and assume cloud disk billing stops on PVC deletion. Delete reclaim policy instructs supported provisioners to remove backing assets. A safer course is: Use a StorageClass and PV reclaimPolicy Delete where lifecycle deletion is authorized.

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: Use a StorageClass and PV reclaimPolicy Delete where lifecycle deletion is authorized.

B:

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 a StorageClass and PV reclaimPolicy Delete where lifecycle deletion is authorized.

C:

Check applicable component version compatibility before upgrading. Supported version relationships prevent avoidable upgrade failures. For the stated case, a focused correction is: Use a StorageClass and PV reclaimPolicy Delete where lifecycle deletion is authorized.

Question 39

During remediation, this failure appears: Pods on two different workers cannot reach one another but Pod traffic works within a node. Which action is the LEAST defensible?

  1. Choose a storage access mode backed by real CSI capabilities.
  2. Review controller logs and resource status to understand reconciliation failures.
  3. Verify the target cluster and namespace before mutating resources.
  4. Expose every Pod as a NodePort instead of fixing the CNI.

Explanation

Correct Answer

D:

Expose every Pod as a NodePort instead of fixing the CNI. Cluster networking requires a functioning CNI path between Pod address ranges. A safer course is: Investigate CNI routing, Pod CIDR allocation and inter-node network reachability.

Incorrect Answers

A:

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: Investigate CNI routing, Pod CIDR allocation and inter-node network reachability.

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: Investigate CNI routing, Pod CIDR allocation and inter-node network reachability.

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: Investigate CNI routing, Pod CIDR allocation and inter-node network reachability.

Question 40

To avoid guessing about this fault, what should be inspected first? A kubeadm managed cluster must move one supported minor release forward.

  1. Check load-balancer health and kubeconfig server addresses against the shared endpoint.
  2. Check crictl info with the intended runtime endpoint and inspect kubeadm criSocket.
  3. Run kubeadm upgrade plan and record supported target versions before any change.
  4. Inspect kubectl get csidrivers and CSI controller and node plugin Pods.

Explanation

Correct Answer

C:

Run kubeadm upgrade plan and record supported target versions before any change. This diagnostic examines the relevant resource or subsystem. Kubernetes upgrades must respect version skew and control-plane ordering. The validating result would be: The control plane reports the intended version before worker upgrades proceed safely.

Incorrect Answers

A:

This check is appropriate to the separate problem (Two API servers run but workloads use one control-plane node IP as the endpoint.), but it is not the direct diagnostic for the described failure. Run kubeadm upgrade plan and record supported target versions before any change.

B:

This check is appropriate to the separate problem (kubeadm reports multiple CRI sockets and cannot select the runtime.), but it is not the direct diagnostic for the described failure. Run kubeadm upgrade plan and record supported target versions before any change.

D:

This check is appropriate to the separate problem (A new storage integration must provision volumes without modifying kubelet core code.), but it is not the direct diagnostic for the described failure.

Certified Kubernetes Administrator (CKA) Practice Tests