100% Latest & Updated CNCF CKA Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 120
During a remediation drill, the team evaluates the safe next steps and their consequences. A three-member etcd cluster has lost one member but the other two remain healthy and in communication Context: the affected environment is `payments` and the component is `controller`. Identify only claims supported by this evidence. Choose THREE statements.
- Two of three voting members retain a majority quorum.
- One healthy member is enough to commit writes in a three-member etcd cluster.
- Investigate and restore the failed member before another member fails.
- Check peer connectivity and member health before changing membership.
- Add arbitrary members without checking quorum state to recover faster.
- Restart CoreDNS to replace a missing etcd voting member.
Explanation
Correct Answers
A:A three-member etcd cluster requires a strict majority of two to commit writes. 'One healthy member is enough to commit writes in a three-member etcd cluster' would not achieve the required recovery because One vote is below the required strict majority of two.
C:Losing a second member would leave only one of three votes, below quorum. 'One healthy member is enough to commit writes in a three-member etcd cluster' would not achieve the required recovery because One vote is below the required strict majority of two.
D:Unnecessary membership changes while quorum is fragile can worsen datastore availability. 'One healthy member is enough to commit writes in a three-member etcd cluster' would not achieve the required recovery because One vote is below the required strict majority of two.
Incorrect Answers
B:One vote is below the required strict majority of two. Instead, 'Check peer connectivity and member health before changing membership' addresses the failure directly: Unnecessary membership changes while quorum is fragile can worsen datastore availability.
E:Membership operations must respect Raft quorum and consistent peer configuration. Instead, 'Check peer connectivity and member health before changing membership' addresses the failure directly: Unnecessary membership changes while quorum is fragile can worsen datastore availability.
F:Cluster DNS runs above the control plane and cannot substitute for a datastore voter. Instead, 'Check peer connectivity and member health before changing membership' addresses the failure directly: Unnecessary membership changes while quorum is fragile can worsen datastore availability.
Question 121
During an incident review, an operator must choose an accurate diagnosis. kubeadm initialization has completed and the control plane is reachable, but ordinary Pods report sandbox creation failures until pod networking is installed Context: the affected environment is `production` and the component is `gateway`. Identify only claims supported by this evidence. Choose ONE statement.
- Install/configure a compatible CNI implementation for the cluster.
- Increase Pod CPU limits to configure the CNI route table.
- Create a PVC to assign an IP address to each Pod.
- Create an Ingress resource to supply every Pod network interface.
Explanation
Correct Answer
A:the CNI plugin configures Pod network interfaces and routes needed for sandbox networking.
Incorrect Answers
B:CPU throttling limits do not install or configure the CNI plugin.
C:persistent storage provisioning does not allocate Pod network interfaces.
D:Ingress manages application HTTP exposure, not node CNI attachment.
Question 122
After kubeadm init, control-plane API calls succeed, but new Pods report `FailedCreatePodSandBox` with network plugin not ready and no CNI config on the node. What is the likely missing component? Choose ONE answer.
- A ServiceAccount with cluster-admin for every application.
- A suitable CNI installation and configuration.
- A PVC with ReadWriteMany mode.
- An updated Service targetPort.
Explanation
Correct Answer
B:The kubelet needs a configured container network plugin to create ordinary Pod sandboxes.
Incorrect Answers
A:Application RBAC grants do not install the node’s missing CNI.
C:Persistent storage is not required to initialize the CNI runtime.
D:Service routing is not the source of network plugin readiness failures.
Question 123
During a remediation drill, the team evaluates the safe next steps and their consequences. kubeadm initialization has completed and the control plane is reachable, but ordinary Pods report sandbox creation failures until pod networking is installed Context: the affected environment is `payments` and the component is `controller`. Identify only claims supported by this evidence. Choose ONE statement.
- Create a PVC to assign an IP address to each Pod.
- Create an Ingress resource to supply every Pod network interface.
- Increase Pod CPU limits to configure the CNI route table.
- Verify node readiness and Pod-to-Pod connectivity after CNI is healthy.
Explanation
Correct Answer
D:control-plane readiness alone does not show that the cluster Pod network functions.
Incorrect Answers
A:Persistent storage provisioning does not allocate Pod network interfaces. Instead, 'Verify node readiness and Pod-to-Pod connectivity after CNI is healthy' addresses the failure directly: Control-plane readiness alone does not show that the cluster Pod network functions.
B:Ingress manages application HTTP exposure, not node CNI attachment. Instead, 'Verify node readiness and Pod-to-Pod connectivity after CNI is healthy' addresses the failure directly: Control-plane readiness alone does not show that the cluster Pod network functions.
C:CPU throttling limits do not install or configure the CNI plugin. Instead, 'Verify node readiness and Pod-to-Pod connectivity after CNI is healthy' addresses the failure directly: Control-plane readiness alone does not show that the cluster Pod network functions.
Question 124
During an incident review, an operator must choose an accurate diagnosis. The kubelet is healthy as a process, yet it reports runtime service unavailable while `containerd` is not running on its configured socket Context: the affected environment is `production` and the component is `gateway`. Identify only claims supported by this evidence. Choose ONE statement.
- Check the container runtime service and its CRI endpoint before restarting workloads.
- Change a namespace label to restart `containerd`.
- Recreate all Service endpoints as the primary runtime repair.
- Patch a Secret to make kubelet speak CRI.
Explanation
Correct Answer
A:kubelet depends on the node CRI runtime for Pod sandbox and container operations.
Incorrect Answers
B:namespace metadata has no authority over the systemd runtime service.
C:Service EndpointSlices do not start or connect node container runtimes.
D:Secrets mounted in Pods do not configure the local kubelet runtime socket.
Question 125
Before applying a change, the cluster team checks what the configuration actually permits. The kubelet is healthy as a process, yet it reports runtime service unavailable while `containerd` is not running on its configured socket Context: the affected environment is `staging` and the component is `indexer`. Identify only claims supported by this evidence. Choose ONE statement.
- Patch a Secret to make kubelet speak CRI.
- Recreate all Service endpoints as the primary runtime repair.
- Change a namespace label to restart `containerd`.
- Restore the runtime or correct the kubelet CRI socket path.
Explanation
Correct Answer
D:a healthy runtime endpoint is required for kubelet to create or inspect containers.
Incorrect Answers
A:Secrets mounted in Pods do not configure the local kubelet runtime socket. The prerequisite check or operation is 'Restore the runtime or correct the kubelet CRI socket path': A healthy runtime endpoint is required for kubelet to create or inspect containers.
B:Service EndpointSlices do not start or connect node container runtimes. The prerequisite check or operation is 'Restore the runtime or correct the kubelet CRI socket path': A healthy runtime endpoint is required for kubelet to create or inspect containers.
C:Namespace metadata has no authority over the systemd runtime service. The prerequisite check or operation is 'Restore the runtime or correct the kubelet CRI socket path': A healthy runtime endpoint is required for kubelet to create or inspect containers.
Question 126
During a remediation drill, the team evaluates the safe next steps and their consequences. The kubelet is healthy as a process, yet it reports runtime service unavailable while `containerd` is not running on its configured socket Context: the affected environment is `payments` and the component is `controller`. Identify only claims supported by this evidence. Choose ONE statement.
- Patch a Secret to make kubelet speak CRI.
- Inspect kubelet journal and runtime service logs to confirm recovery.
- Recreate all Service endpoints as the primary runtime repair.
- Change a namespace label to restart `containerd`.
Explanation
Correct Answer
B:the original error is a node-service integration issue and must be verified at that boundary.
Incorrect Answers
A:Secrets mounted in Pods do not configure the local kubelet runtime socket. Instead, 'Inspect kubelet journal and runtime service logs to confirm recovery' addresses the failure directly: The original error is a node-service integration issue and must be verified at that boundary.
C:Service EndpointSlices do not start or connect node container runtimes. Instead, 'Inspect kubelet journal and runtime service logs to confirm recovery' addresses the failure directly: The original error is a node-service integration issue and must be verified at that boundary.
D:Namespace metadata has no authority over the systemd runtime service. Instead, 'Inspect kubelet journal and runtime service logs to confirm recovery' addresses the failure directly: The original error is a node-service integration issue and must be verified at that boundary.
Question 127
During an incident review, an operator must choose an accurate diagnosis. A CSI-backed PVC remains unusable because the storage provider driver is not installed or registered on the affected node Context: the affected environment is `production` and the component is `gateway`. Identify only claims supported by this evidence. Choose ONE statement.
- Replace the CSI driver with a CNI policy object.
- Inspect the CSI driver and node plugin registration before retrying mounts.
- Change the Pod DNS policy to create a missing CSI volume.
- Force a Service selector to match the claim name.
Explanation
Correct Answer
B:CSI is the storage interface that the kubelet uses for provider-specific node staging and publishing.
Incorrect Answers
A:CNI supplies networking and NetworkPolicy filtering, not volume publish operations.
C:Pod DNS search configuration cannot register a storage driver.
D:a Service selector controls network endpoints, not PV/PVC or CSI drivers.
Question 128
Before applying a change, the cluster team checks what the configuration actually permits. A CSI-backed PVC remains unusable because the storage provider driver is not installed or registered on the affected node Context: the affected environment is `staging` and the component is `indexer`. Identify only claims supported by this evidence. Choose ONE statement.
- Force a Service selector to match the claim name.
- Replace the CSI driver with a CNI policy object.
- Install or repair the appropriate CSI controller and node components.
- Change the Pod DNS policy to create a missing CSI volume.
Explanation
Correct Answer
C:a missing storage plugin cannot be replaced by changing application container command arguments.
Incorrect Answers
A:A Service selector controls network endpoints, not PV/PVC or CSI drivers. The prerequisite check or operation is 'Install or repair the appropriate CSI controller and node components': A missing storage plugin cannot be replaced by changing application container command arguments.
B:CNI supplies networking and NetworkPolicy filtering, not volume publish operations. The prerequisite check or operation is 'Install or repair the appropriate CSI controller and node components': A missing storage plugin cannot be replaced by changing application container command arguments.
D:Pod DNS search configuration cannot register a storage driver. The prerequisite check or operation is 'Install or repair the appropriate CSI controller and node components': A missing storage plugin cannot be replaced by changing application container command arguments.
Question 129
During a remediation drill, the team evaluates the safe next steps and their consequences. A CSI-backed PVC remains unusable because the storage provider driver is not installed or registered on the affected node Context: the affected environment is `payments` and the component is `controller`. Identify only claims supported by this evidence. Choose TWO statements.
- Inspect the CSI driver and node plugin registration before retrying mounts.
- Change the Pod DNS policy to create a missing CSI volume.
- Review storage-controller and kubelet events to separate provisioning from node mount failure.
- Replace the CSI driver with a CNI policy object.
- Force a Service selector to match the claim name.
Explanation
Correct Answers
A:CSI is the storage interface that the kubelet uses for provider-specific node staging and publishing. 'Replace the CSI driver with a CNI policy object' would not achieve the required recovery because CNI supplies networking and NetworkPolicy filtering, not volume publish operations.
C:CSI controller provision and node publish involve different components and failure points.
Incorrect Answers
B:Pod DNS search configuration cannot register a storage driver. Instead, 'Inspect the CSI driver and node plugin registration before retrying mounts' addresses the failure directly: CSI is the storage interface that the kubelet uses for provider-specific node staging and publishing.
D:CNI supplies networking and NetworkPolicy filtering, not volume publish operations. Instead, 'Inspect the CSI driver and node plugin registration before retrying mounts' addresses the failure directly: CSI is the storage interface that the kubelet uses for provider-specific node staging and publishing.
E:A Service selector controls network endpoints, not PV/PVC or CSI drivers. Instead, 'Inspect the CSI driver and node plugin registration before retrying mounts' addresses the failure directly: CSI is the storage interface that the kubelet uses for provider-specific node staging and publishing.
Question 130
During an incident review, an operator must choose an accurate diagnosis. A team wants to apply a shared base with a staging-specific replica setting and labels without editing the reusable base manifests Context: the affected environment is `production` and the component is `gateway`. Identify only claims supported by this evidence. Choose THREE statements.
- Apply the selected overlay using `kubectl apply -k`.
- Add a NodePort Service to enable YAML patch rendering.
- Edit each live Pod directly to emulate a reusable Kustomize overlay.
- Use `kubectl apply -f` on the base and assume overlay patches are included.
- Inspect output using `kubectl kustomize` before applying the overlay.
- Keep common resources in a base and define an environment overlay with Kustomize.
Explanation
Correct Answers
A:the -k flag processes a kustomization directory and applies its generated objects.
E:the command renders the transformed resource definitions for review.
F:Kustomize composes patches and generators without modifying upstream YAML bases.
Incorrect Answers
B:Service type does not control Kustomize rendering.
C:live Pod edits do not maintain a declarative shared base/overlay source.
D:-f on only base YAML bypasses the overlay transformations.
Certified Kubernetes Administrator (CKA) Practice Tests