100% Latest & Updated CNCF CKA Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 480
During a remediation drill, the team evaluates the safe next steps and their consequences. A node suddenly reports x509 certificate not yet valid errors, and its system clock is significantly behind trusted time Context: the affected environment is `payments` and the component is `controller`. Identify only claims supported by this evidence. Choose TWO statements.
- Check and correct clock synchronization on the affected node.
- Verify API connectivity after time synchronization is restored.
- Assume every not-yet-valid certificate must be revoked by the CA.
- Disable kubelet memory eviction thresholds to repair NotBefore.
- Rotate application Service ClusterIPs to correct certificate time validity.
Explanation
Correct Answers
A:TLS certificate NotBefore checks use local time, so a large skew can reject valid certs. 'Rotate application Service ClusterIPs to correct certificate time validity' would not achieve the required recovery because ClusterIP changes cannot adjust node system clock or certificate timestamps.
B:a successful TLS handshake confirms the clock-related validity failure is addressed.
Incorrect Answers
C:A clock behind the certificate start date can cause the same error without revocation. Instead, 'Check and correct clock synchronization on the affected node' addresses the failure directly: TLS certificate NotBefore checks use local time, so a large skew can reject valid certs.
D:Eviction limits have no role in TLS time validation. Instead, 'Check and correct clock synchronization on the affected node' addresses the failure directly: TLS certificate NotBefore checks use local time, so a large skew can reject valid certs.
E:ClusterIP changes cannot adjust node system clock or certificate timestamps. Instead, 'Check and correct clock synchronization on the affected node' addresses the failure directly: TLS certificate NotBefore checks use local time, so a large skew can reject valid certs.
Question 481
During an incident review, an operator must choose an accurate diagnosis. A node has 8 CPU cores physically, but the scheduler reports insufficient allocatable CPU after system and kube-reserved resources and existing requests Context: the affected environment is `production` and the component is `gateway`. Identify only claims supported by this evidence. Choose THREE statements.
- Switch a Service to ExternalName to raise node allocatable.
- Increase Pod CPU limits without reducing requests to create schedulable CPU.
- Assume physical CPU capacity always equals node allocatable CPU.
- Compare aggregate requested CPU against remaining schedulable CPU.
- Inspect node allocatable rather than assuming full physical capacity is schedulable.
- Evaluate right-sizing requests or adding schedulable nodes.
Explanation
Correct Answers
D:requests already committed to Pods reduce future available scheduler capacity.
E:scheduler resource fit uses allocatable capacity after node reservations.
F:capacity planning must account for reservations and existing workload requests.
Incorrect Answers
A:Service DNS aliasing does not create CPU resources.
B:the scheduler fits against requests and cannot be made to see more capacity by raising limits.
C:kube/system reservations and eviction settings can reduce allocatable resources.
Question 482
Before applying a change, the cluster team checks what the configuration actually permits. A node has 8 CPU cores physically, but the scheduler reports insufficient allocatable CPU after system and kube-reserved resources and existing requests Context: the affected environment is `staging` and the component is `indexer`. Identify only claims supported by this evidence. Choose ONE statement.
- Assume physical CPU capacity always equals node allocatable CPU.
- Compare aggregate requested CPU against remaining schedulable CPU.
- Switch a Service to ExternalName to raise node allocatable.
- Increase Pod CPU limits without reducing requests to create schedulable CPU.
Explanation
Correct Answer
B:Requests already committed to Pods reduce future available scheduler capacity. Before changing live state, distinguish this from 'Increase Pod CPU limits without reducing requests to create schedulable CPU': The scheduler fits against requests and cannot be made to see more capacity by raising limits.
Incorrect Answers
A:Kube/system reservations and eviction settings can reduce allocatable resources. The prerequisite check or operation is 'Compare aggregate requested CPU against remaining schedulable CPU': Requests already committed to Pods reduce future available scheduler capacity.
C:Service DNS aliasing does not create CPU resources. The prerequisite check or operation is 'Compare aggregate requested CPU against remaining schedulable CPU': Requests already committed to Pods reduce future available scheduler capacity.
D:The scheduler fits against requests and cannot be made to see more capacity by raising limits. The prerequisite check or operation is 'Compare aggregate requested CPU against remaining schedulable CPU': Requests already committed to Pods reduce future available scheduler capacity.
Question 483
During a remediation drill, the team evaluates the safe next steps and their consequences. A node has 8 CPU cores physically, but the scheduler reports insufficient allocatable CPU after system and kube-reserved resources and existing requests Context: the affected environment is `payments` and the component is `controller`. Identify only claims supported by this evidence. Choose ONE statement.
- Assume physical CPU capacity always equals node allocatable CPU.
- Evaluate right-sizing requests or adding schedulable nodes.
- Switch a Service to ExternalName to raise node allocatable.
- Increase Pod CPU limits without reducing requests to create schedulable CPU.
Explanation
Correct Answer
B:Capacity planning must account for reservations and existing workload requests. 'Assume physical CPU capacity always equals node allocatable CPU' would not achieve the required recovery because Kube/system reservations and eviction settings can reduce allocatable resources.
Incorrect Answers
A:Kube/system reservations and eviction settings can reduce allocatable resources. Instead, 'Evaluate right-sizing requests or adding schedulable nodes' addresses the failure directly: Capacity planning must account for reservations and existing workload requests.
C:Service DNS aliasing does not create CPU resources. Instead, 'Evaluate right-sizing requests or adding schedulable nodes' addresses the failure directly: Capacity planning must account for reservations and existing workload requests.
D:The scheduler fits against requests and cannot be made to see more capacity by raising limits. Instead, 'Evaluate right-sizing requests or adding schedulable nodes' addresses the failure directly: Capacity planning must account for reservations and existing workload requests.
Question 484
On a kubeadm control-plane node, kube-apiserver static Pod fails because its manifest was accidentally removed from `/etc/kubernetes/manifests`. Where should repair focus? Choose ONE answer.
- Delete every node to trigger automatic manifest regeneration.
- Scale kube-apiserver Deployment to one replica.
- Set the Service type to NodePort.
- Restore the intended static Pod manifest and check kubelet events/logs.
Explanation
Correct Answer
D:The kubelet watches the manifest directory and manages static control-plane Pods from those files.
Incorrect Answers
A:Node deletion is unrelated and destructive.
B:kubeadm static control-plane Pods are not managed by a regular Deployment.
C:Service type does not recreate a missing static Pod manifest.
Question 485
During a remediation drill, the team evaluates the safe next steps and their consequences. On a kubeadm control-plane host, the kube-apiserver static Pod is absent after its manifest file was accidentally renamed outside the static-Pod manifest path Context: the affected environment is `payments` and the component is `controller`. Identify only claims supported by this evidence. Choose ONE statement.
- Verify API endpoint health and TLS after the static Pod returns.
- Add a NetworkPolicy ingress rule to create the missing manifest file.
- Reinstall the application Ingress controller to regenerate kube-apiserver static Pods.
- Scale a kube-apiserver Deployment to one replica.
Explanation
Correct Answer
A:manifest existence alone does not prove the API server successfully started.
Incorrect Answers
B:network policies cannot recreate host static Pod YAML.
C:Ingress controllers do not manage kubeadm control-plane manifest files.
D:kubeadm API-server static Pods are not owned by a Deployment.
Question 486
Before applying a change, the cluster team checks what the configuration actually permits. A three-voter etcd cluster has only one reachable member; API writes fail because the Raft majority is lost Context: the affected environment is `staging` and the component is `indexer`. Identify only claims supported by this evidence. Choose ONE statement.
- Delete all PVCs to force etcd into a writable quorum.
- Assume one of three healthy voters is a majority.
- Check member, peer and connectivity health from surviving hosts.
- Restart an Ingress controller to create etcd quorum.
Explanation
Correct Answer
C:the failure is distributed datastore quorum rather than a workload Service issue.
Incorrect Answers
A:PVC deletion cannot supply a second Raft voter and may destroy data.
B:one vote does not exceed half of three; two are required.
D:HTTP ingress routing does not restore etcd voters.
Question 487
During a remediation drill, the team evaluates the safe next steps and their consequences. A three-voter etcd cluster has only one reachable member; API writes fail because the Raft majority is lost Context: the affected environment is `payments` and the component is `controller`. Identify only claims supported by this evidence. Choose ONE statement.
- Delete all PVCs to force etcd into a writable quorum.
- Plan membership recovery according to etcd procedures rather than arbitrary endpoint replacement.
- Restart an Ingress controller to create etcd quorum.
- Assume one of three healthy voters is a majority.
Explanation
Correct Answer
B:quorum recovery must preserve consistent Raft membership and data.
Incorrect Answers
A:PVC deletion cannot supply a second Raft voter and may destroy data. Instead, 'Plan membership recovery according to etcd procedures rather than arbitrary endpoint replacement' addresses the failure directly: Quorum recovery must preserve consistent Raft membership and data.
C:HTTP ingress routing does not restore etcd voters. Instead, 'Plan membership recovery according to etcd procedures rather than arbitrary endpoint replacement' addresses the failure directly: Quorum recovery must preserve consistent Raft membership and data.
D:One vote does not exceed half of three; two are required. Instead, 'Plan membership recovery according to etcd procedures rather than arbitrary endpoint replacement' addresses the failure directly: Quorum recovery must preserve consistent Raft membership and data.
Question 488
Before applying a change, the cluster team checks what the configuration actually permits. The etcd server reports a NOSPACE alarm after its backend database reached the configured storage quota Context: the affected environment is `staging` and the component is `indexer`. Identify only claims supported by this evidence. Choose THREE statements.
- Perform appropriate compaction, defragmentation and space remediation in a controlled sequence.
- Disarm a cleared alarm only after the underlying space condition is resolved.
- Inspect etcd alarms and database size using supported etcd tooling.
- Assume deleting a Kubernetes Service is equivalent to etcd defragmentation.
- Change a Pod readinessProbe to expand etcd storage quota.
- Create a DNS Service record to clear etcd NOSPACE.
Explanation
Correct Answers
A:etcd database size recovery needs its supported maintenance operations.
B:merely dismissing an alarm without freeing capacity leaves the underlying problem.
C:a NOSPACE alarm is related to backend quota and must be addressed in the datastore.
Incorrect Answers
D:API object deletion alone does not immediately compact the etcd backend file.
E:readiness probes do not change etcd backend database allocation.
F:DNS discovery cannot compact etcd key-value data.
Question 489
During a remediation drill, the team evaluates the safe next steps and their consequences. The etcd server reports a NOSPACE alarm after its backend database reached the configured storage quota Context: the affected environment is `payments` and the component is `controller`. Identify only claims supported by this evidence. Choose ONE statement.
- Disarm a cleared alarm only after the underlying space condition is resolved.
- Change a Pod readinessProbe to expand etcd storage quota.
- Create a DNS Service record to clear etcd NOSPACE.
- Assume deleting a Kubernetes Service is equivalent to etcd defragmentation.
Explanation
Correct Answer
A:Merely dismissing an alarm without freeing capacity leaves the underlying problem. 'Create a DNS Service record to clear etcd NOSPACE' would not achieve the required recovery because DNS discovery cannot compact etcd key-value data.
Incorrect Answers
B:Readiness probes do not change etcd backend database allocation. Instead, 'Disarm a cleared alarm only after the underlying space condition is resolved' addresses the failure directly: Merely dismissing an alarm without freeing capacity leaves the underlying problem.
C:DNS discovery cannot compact etcd key-value data. Instead, 'Disarm a cleared alarm only after the underlying space condition is resolved' addresses the failure directly: Merely dismissing an alarm without freeing capacity leaves the underlying problem.
D:API object deletion alone does not immediately compact the etcd backend file. Instead, 'Disarm a cleared alarm only after the underlying space condition is resolved' addresses the failure directly: Merely dismissing an alarm without freeing capacity leaves the underlying problem.
Question 490
kubectl fails TLS verification after administrators changed its API endpoint to `control.internal`; the presented apiserver certificate lacks that DNS name in SANs. What needs correction? Choose ONE answer.
- Reinstall the cluster networking plugin.
- Issue or renew the apiserver serving certificate with the intended endpoint SAN.
- Disable kubectl TLS verification as the permanent fix.
- Change the ServiceAccount of kube-scheduler.
Explanation
Correct Answer
B:TLS hostname verification compares the connected DNS name with certificate subject alternative names.
Incorrect Answers
A:Pod CNI operation does not add an API-server certificate SAN.
C:Skipping verification hides the identity mismatch and weakens authenticated control-plane access.
D:Scheduler identity does not determine the certificate name presented to kubectl clients.
Certified Kubernetes Administrator (CKA) Practice Tests