100% Latest & Updated CNCF CKA Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 100
During an incident review, an operator must choose an accurate diagnosis. Clients now connect through a new DNS name, but the API-server serving certificate does not list that DNS name as a subject alternative name Context: the affected environment is `production` and the component is `gateway`. Identify only claims supported by this evidence. Choose THREE statements.
- Ensure clients trust the signing CA and then verify the new endpoint name.
- Patch a Service selector to replace the server certificate.
- Disable RBAC to make the API server certificate match the hostname.
- Include the new API endpoint DNS name in the API-server serving-certificate SAN configuration.
- Add a toleration to the client Pod to suppress x509 hostname errors.
- Regenerate the API-server serving certificate with the corrected SAN set rather than blindly renewing it.
Explanation
Correct Answers
A:successful TLS validation requires both trusted issuer and a matching server identity.
D:TLS hostname verification requires the contacted DNS name to appear in an appropriate SAN.
F:kubeadm certs renew derives names from the existing certificate, so adding a new SAN requires the regeneration procedure.
Incorrect Answers
B:Kubernetes Service selection does not rewrite the control-plane TLS certificate.
C:authorization occurs after TLS identity validation and cannot change certificate SANs.
E:Pod placement policy has no effect on server certificate identity checks.
Question 101
Before applying a change, the cluster team checks what the configuration actually permits. Clients now connect through a new DNS name, but the API-server serving certificate does not list that DNS name as a subject alternative name Context: the affected environment is `staging` and the component is `indexer`. Identify only claims supported by this evidence. Choose ONE statement.
- Add a toleration to the client Pod to suppress x509 hostname errors.
- Disable RBAC to make the API server certificate match the hostname.
- Regenerate the API-server serving certificate with the corrected SAN set rather than blindly renewing it.
- Patch a Service selector to replace the server certificate.
Explanation
Correct Answer
C:Kubeadm certs renew derives names from the existing certificate, so adding a new SAN requires the regeneration procedure. Before changing live state, distinguish this from 'Add a toleration to the client Pod to suppress x509 hostname errors': Pod placement policy has no effect on server certificate identity checks.
Incorrect Answers
A:Pod placement policy has no effect on server certificate identity checks. The prerequisite check or operation is 'Regenerate the API-server serving certificate with the corrected SAN set rather than blindly renewing it': Kubeadm certs renew derives names from the existing certificate, so adding a new SAN requires the regeneration procedure.
B:Authorization occurs after TLS identity validation and cannot change certificate SANs. The prerequisite check or operation is 'Regenerate the API-server serving certificate with the corrected SAN set rather than blindly renewing it': Kubeadm certs renew derives names from the existing certificate, so adding a new SAN requires the regeneration procedure.
D:Kubernetes Service selection does not rewrite the control-plane TLS certificate. The prerequisite check or operation is 'Regenerate the API-server serving certificate with the corrected SAN set rather than blindly renewing it': Kubeadm certs renew derives names from the existing certificate, so adding a new SAN requires the regeneration procedure.
Question 102
During a remediation drill, the team evaluates the safe next steps and their consequences. Clients now connect through a new DNS name, but the API-server serving certificate does not list that DNS name as a subject alternative name Context: the affected environment is `payments` and the component is `controller`. Identify only claims supported by this evidence. Choose ONE statement.
- Patch a Service selector to replace the server certificate.
- Disable RBAC to make the API server certificate match the hostname.
- Add a toleration to the client Pod to suppress x509 hostname errors.
- Ensure clients trust the signing CA and then verify the new endpoint name.
Explanation
Correct Answer
D:Successful TLS validation requires both trusted issuer and a matching server identity. 'Disable RBAC to make the API server certificate match the hostname' would not achieve the required recovery because Authorization occurs after TLS identity validation and cannot change certificate SANs.
Incorrect Answers
A:Kubernetes Service selection does not rewrite the control-plane TLS certificate. Instead, 'Ensure clients trust the signing CA and then verify the new endpoint name' addresses the failure directly: Successful TLS validation requires both trusted issuer and a matching server identity.
B:Authorization occurs after TLS identity validation and cannot change certificate SANs. Instead, 'Ensure clients trust the signing CA and then verify the new endpoint name' addresses the failure directly: Successful TLS validation requires both trusted issuer and a matching server identity.
C:Pod placement policy has no effect on server certificate identity checks. Instead, 'Ensure clients trust the signing CA and then verify the new endpoint name' addresses the failure directly: Successful TLS validation requires both trusted issuer and a matching server identity.
Question 103
During an incident review, an operator must choose an accurate diagnosis. A kubeadm-managed API-server certificate is near expiry; the control plane uses kubeadm static Pod manifests Context: the affected environment is `production` and the component is `gateway`. Identify only claims supported by this evidence. Choose ONE statement.
- Assume changing a ConfigMap instantaneously updates all processes certificates.
- Delete the cluster CA key to prevent future certificate expiry.
- Inspect current expiration dates with `kubeadm certs check-expiration`.
- Increase a Pod resource limit to extend TLS certificate expiry.
Explanation
Correct Answer
C:this command reports relevant kubeadm-managed certificate expiration dates.
Incorrect Answers
A:control-plane processes may require a restart to consume replacement certificate files.
B:losing the signing key disrupts renewal and recovery rather than prolonging certificate validity.
D:resource limits are scheduler/runtime controls, not PKI validity settings.
Question 104
Before applying a change, the cluster team checks what the configuration actually permits. A kubeadm-managed API-server certificate is near expiry; the control plane uses kubeadm static Pod manifests Context: the affected environment is `staging` and the component is `indexer`. Identify only claims supported by this evidence. Choose ONE statement.
- Increase a Pod resource limit to extend TLS certificate expiry.
- Delete the cluster CA key to prevent future certificate expiry.
- Assume changing a ConfigMap instantaneously updates all processes certificates.
- Renew the relevant kubeadm-managed certificate before it expires.
Explanation
Correct Answer
D:renewal replaces the serving/client certificate using the local CA material.
Incorrect Answers
A:Resource limits are scheduler/runtime controls, not PKI validity settings. The prerequisite check or operation is 'Renew the relevant kubeadm-managed certificate before it expires': Renewal replaces the serving/client certificate using the local CA material.
B:Losing the signing key disrupts renewal and recovery rather than prolonging certificate validity. The prerequisite check or operation is 'Renew the relevant kubeadm-managed certificate before it expires': Renewal replaces the serving/client certificate using the local CA material.
C:Control-plane processes may require a restart to consume replacement certificate files. The prerequisite check or operation is 'Renew the relevant kubeadm-managed certificate before it expires': Renewal replaces the serving/client certificate using the local CA material.
Question 105
During a remediation drill, the team evaluates the safe next steps and their consequences. A kubeadm-managed API-server certificate is near expiry; the control plane uses kubeadm static Pod manifests Context: the affected environment is `payments` and the component is `controller`. Identify only claims supported by this evidence. Choose ONE statement.
- Increase a Pod resource limit to extend TLS certificate expiry.
- Assume changing a ConfigMap instantaneously updates all processes certificates.
- Delete the cluster CA key to prevent future certificate expiry.
- Restart affected static Pod components when needed to load renewed credentials.
Explanation
Correct Answer
D:not every control-plane certificate is dynamically reloaded by an existing process.
Incorrect Answers
A:Resource limits are scheduler/runtime controls, not PKI validity settings. Instead, 'Restart affected static Pod components when needed to load renewed credentials' addresses the failure directly: Not every control-plane certificate is dynamically reloaded by an existing process.
B:Control-plane processes may require a restart to consume replacement certificate files. Instead, 'Restart affected static Pod components when needed to load renewed credentials' addresses the failure directly: Not every control-plane certificate is dynamically reloaded by an existing process.
C:Losing the signing key disrupts renewal and recovery rather than prolonging certificate validity. Instead, 'Restart affected static Pod components when needed to load renewed credentials' addresses the failure directly: Not every control-plane certificate is dynamically reloaded by an existing process.
Question 106
During an incident review, an operator must choose an accurate diagnosis. A kubeadm-managed cluster is being upgraded one supported minor version; a healthy first control-plane node is prepared Context: the affected environment is `production` and the component is `gateway`. Identify only claims supported by this evidence. Choose ONE statement.
- Replace etcd membership with a new Service type.
- Upgrade all kubelets to the next version before touching the API server.
- Run `kubectl rollout undo` on the API server Deployment.
- Install the intended supported kubeadm version on that control-plane node.
Explanation
Correct Answer
D:kubeadm upgrade orchestration must itself support the target cluster version.
Incorrect Answers
A:a Kubernetes Service type does not perform a control-plane upgrade.
B:version skew rules and ordered upgrades put control plane changes before later kubelet changes.
C:kubeadm static API-server Pods are not an ordinary Deployment rollout.
Question 107
Before applying a change, the cluster team checks what the configuration actually permits. A kubeadm-managed cluster is being upgraded one supported minor version; a healthy first control-plane node is prepared Context: the affected environment is `staging` and the component is `indexer`. Identify only claims supported by this evidence. Choose ONE statement.
- Upgrade all kubelets to the next version before touching the API server.
- Replace etcd membership with a new Service type.
- Run `kubeadm upgrade plan` before committing an upgrade.
- Run `kubectl rollout undo` on the API server Deployment.
Explanation
Correct Answer
C:the plan validates available upgrade paths and version/skew requirements.
Incorrect Answers
A:Version skew rules and ordered upgrades put control plane changes before later kubelet changes. The prerequisite check or operation is 'Run `kubeadm upgrade plan` before committing an upgrade': The plan validates available upgrade paths and version/skew requirements.
B:A Kubernetes Service type does not perform a control-plane upgrade. The prerequisite check or operation is 'Run `kubeadm upgrade plan` before committing an upgrade': The plan validates available upgrade paths and version/skew requirements.
D:Kubeadm static API-server Pods are not an ordinary Deployment rollout. The prerequisite check or operation is 'Run `kubeadm upgrade plan` before committing an upgrade': The plan validates available upgrade paths and version/skew requirements.
Question 108
During a remediation drill, the team evaluates the safe next steps and their consequences. A kubeadm-managed cluster is being upgraded one supported minor version; a healthy first control-plane node is prepared Context: the affected environment is `payments` and the component is `controller`. Identify only claims supported by this evidence. Choose ONE statement.
- Upgrade all kubelets to the next version before touching the API server.
- Replace etcd membership with a new Service type.
- Use `kubeadm upgrade apply` for the first control-plane upgrade.
- Run `kubectl rollout undo` on the API server Deployment.
Explanation
Correct Answer
C:the first control-plane node applies the target cluster state and component configuration.
Incorrect Answers
A:Version skew rules and ordered upgrades put control plane changes before later kubelet changes. Instead, 'Use `kubeadm upgrade apply` for the first control-plane upgrade' addresses the failure directly: The first control-plane node applies the target cluster state and component configuration.
B:A Kubernetes Service type does not perform a control-plane upgrade. Instead, 'Use `kubeadm upgrade apply` for the first control-plane upgrade' addresses the failure directly: The first control-plane node applies the target cluster state and component configuration.
D:Kubeadm static API-server Pods are not an ordinary Deployment rollout. Instead, 'Use `kubeadm upgrade apply` for the first control-plane upgrade' addresses the failure directly: The first control-plane node applies the target cluster state and component configuration.
Question 109
During an incident review, an operator must choose an accurate diagnosis. A kubeadm worker needs a supported kubelet version upgrade while it hosts application Pods that should be migrated where possible Context: the affected environment is `production` and the component is `gateway`. Identify only claims supported by this evidence. Choose TWO statements.
- Delete all PersistentVolumeClaims to free the node for maintenance.
- Run `kubeadm init` again on the worker to upgrade kubelet.
- Use `kubeadm upgrade node` to update that worker node configuration.
- Use `kubectl drain` to evict movable workloads before servicing the node.
- Edit the service ClusterIP to the next Kubernetes version number.
Explanation
Correct Answers
C:worker kubeadm upgrade updates the local kubelet configuration to the supported cluster version.
D:cordoning and eviction reduce application disruption during worker maintenance.
Incorrect Answers
A:cluster storage claims do not generally need deletion for a node upgrade.
B:init bootstraps a new control plane and is not the worker upgrade workflow.
E:ClusterIP is network addressing, unrelated to kubelet version changes.
Question 110
Before applying a change, the cluster team checks what the configuration actually permits. A kubeadm worker needs a supported kubelet version upgrade while it hosts application Pods that should be migrated where possible Context: the affected environment is `staging` and the component is `indexer`. Identify only claims supported by this evidence. Choose THREE statements.
- Uncordon the node after updating and verifying its kubelet health.
- Use `kubeadm upgrade node` to update that worker node configuration.
- Delete all PersistentVolumeClaims to free the node for maintenance.
- Use `kubectl drain` to evict movable workloads before servicing the node.
- Run `kubeadm init` again on the worker to upgrade kubelet.
- Edit the service ClusterIP to the next Kubernetes version number.
Explanation
Correct Answers
A:scheduling should resume only after the worker has returned to a healthy state.
B:Worker kubeadm upgrade updates the local kubelet configuration to the supported cluster version. Before changing live state, distinguish this from 'Delete all PersistentVolumeClaims to free the node for maintenance': Cluster storage claims do not generally need deletion for a node upgrade.
D:Cordoning and eviction reduce application disruption during worker maintenance. Before changing live state, distinguish this from 'Edit the service ClusterIP to the next Kubernetes version number': ClusterIP is network addressing, unrelated to kubelet version changes.
Incorrect Answers
C:Cluster storage claims do not generally need deletion for a node upgrade. The prerequisite check or operation is 'Use `kubeadm upgrade node` to update that worker node configuration': Worker kubeadm upgrade updates the local kubelet configuration to the supported cluster version.
E:Init bootstraps a new control plane and is not the worker upgrade workflow. The prerequisite check or operation is 'Uncordon the node after updating and verifying its kubelet health': Scheduling should resume only after the worker has returned to a healthy state.
F:ClusterIP is network addressing, unrelated to kubelet version changes. The prerequisite check or operation is 'Use `kubeadm upgrade node` to update that worker node configuration': Worker kubeadm upgrade updates the local kubelet configuration to the supported cluster version.
Certified Kubernetes Administrator (CKA) Practice Tests