100% Latest & Updated CNCF CKA Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 420
During a remediation drill, the team evaluates the safe next steps and their consequences. A Pod mounts one ConfigMap key using subPath, and operators expect a live ConfigMap change to appear inside that already-running mount Context: the affected environment is `payments` and the component is `controller`. Identify only claims supported by this evidence. Choose THREE statements.
- A ConfigMap subPath mount will not automatically receive subsequent ConfigMap updates.
- Wait for kubelet sync to update a ConfigMap file mounted with subPath.
- Patch a NetworkPolicy to rewrite mounted ConfigMap file bytes.
- Increase PV claim capacity to refresh a non-PVC ConfigMap subPath mount.
- Roll or recreate the Pod when the subPath-mounted content must change.
- Prefer a full projected ConfigMap volume without subPath if update propagation is required.
Explanation
Correct Answers
A:SubPath mounts use a bind mount for a particular file and do not follow projected volume updates. 'Wait for kubelet sync to update a ConfigMap file mounted with subPath' would not achieve the required recovery because SubPath-mounted ConfigMap files are not updated by the normal projection refresh.
E:A new mount setup can use the current ConfigMap contents. 'Increase PV claim capacity to refresh a non-PVC ConfigMap subPath mount' would not achieve the required recovery because PV capacity is unrelated to ConfigMap projection behavior.
F:Normal projected ConfigMap volumes can refresh over time, unlike subPath mounts. 'Increase PV claim capacity to refresh a non-PVC ConfigMap subPath mount' would not achieve the required recovery because PV capacity is unrelated to ConfigMap projection behavior.
Incorrect Answers
B:SubPath-mounted ConfigMap files are not updated by the normal projection refresh. Instead, 'Roll or recreate the Pod when the subPath-mounted content must change' addresses the failure directly: A new mount setup can use the current ConfigMap contents.
C:Traffic policy cannot alter bind-mounted filesystem content. Instead, 'Roll or recreate the Pod when the subPath-mounted content must change' addresses the failure directly: A new mount setup can use the current ConfigMap contents.
D:PV capacity is unrelated to ConfigMap projection behavior. Instead, 'A ConfigMap subPath mount will not automatically receive subsequent ConfigMap updates' addresses the failure directly: SubPath mounts use a bind mount for a particular file and do not follow projected volume updates.
Question 421
During an incident review, an operator must choose an accurate diagnosis. A Pod is in ImagePullBackOff; its events show registry 401 Unauthorized for a private image path while the image name is valid Context: the affected environment is `production` and the component is `gateway`. Identify only claims supported by this evidence. Choose ONE statement.
- Verify the Pod imagePullSecrets reference and Secret namespace.
- Increase the container memory limit to repair a registry 401.
- Add a Service selector to authenticate container image downloads.
- Edit a PVC storage class to make an unauthorized registry accept login.
Explanation
Correct Answer
A:image pull credentials must be available in the same Pod namespace through the referenced Secret.
Incorrect Answers
B:memory limits are not sent as credentials to an image registry.
C:Service selectors do not supply image pull authentication.
D:PVC provisioning does not change registry authentication decisions.
Question 422
Before applying a change, the cluster team checks what the configuration actually permits. A Pod is in ImagePullBackOff; its events show registry 401 Unauthorized for a private image path while the image name is valid Context: the affected environment is `staging` and the component is `indexer`. Identify only claims supported by this evidence. Choose ONE statement.
- Create or repair the registry-authentication Secret with valid credentials.
- Edit a PVC storage class to make an unauthorized registry accept login.
- Add a Service selector to authenticate container image downloads.
- Increase the container memory limit to repair a registry 401.
Explanation
Correct Answer
A:401 Unauthorized indicates failed authentication to the private registry.
Incorrect Answers
B:PVC provisioning does not change registry authentication decisions. The prerequisite check or operation is 'Create or repair the registry-authentication Secret with valid credentials': 401 Unauthorized indicates failed authentication to the private registry.
C:Service selectors do not supply image pull authentication. The prerequisite check or operation is 'Create or repair the registry-authentication Secret with valid credentials': 401 Unauthorized indicates failed authentication to the private registry.
D:Memory limits are not sent as credentials to an image registry. The prerequisite check or operation is 'Create or repair the registry-authentication Secret with valid credentials': 401 Unauthorized indicates failed authentication to the private registry.
Question 423
During a remediation drill, the team evaluates the safe next steps and their consequences. A Pod is in ImagePullBackOff; its events show registry 401 Unauthorized for a private image path while the image name is valid Context: the affected environment is `payments` and the component is `controller`. Identify only claims supported by this evidence. Choose ONE statement.
- Increase the container memory limit to repair a registry 401.
- Retry Pod creation after ensuring the image pull identity can access the repository.
- Edit a PVC storage class to make an unauthorized registry accept login.
- Add a Service selector to authenticate container image downloads.
Explanation
Correct Answer
B:correct credentials and authorization are needed before the kubelet can fetch the image.
Incorrect Answers
A:Memory limits are not sent as credentials to an image registry. Instead, 'Retry Pod creation after ensuring the image pull identity can access the repository' addresses the failure directly: Correct credentials and authorization are needed before the kubelet can fetch the image.
C:PVC provisioning does not change registry authentication decisions. Instead, 'Retry Pod creation after ensuring the image pull identity can access the repository' addresses the failure directly: Correct credentials and authorization are needed before the kubelet can fetch the image.
D:Service selectors do not supply image pull authentication. Instead, 'Retry Pod creation after ensuring the image pull identity can access the repository' addresses the failure directly: Correct credentials and authorization are needed before the kubelet can fetch the image.
Question 424
A Pod displays ImagePullBackOff and Events show registry.example.net returned `unauthorized` to its image-pull request. What should be examined first? Choose ONE answer.
- Registry credentials and imagePullSecrets available to that Pod.
- PersistentVolume reclaim policy.
- Pod readiness probe timing.
- Service targetPort name.
Explanation
Correct Answer
A:An unauthorized image pull indicates the registry rejected the credentials or authentication context.
Incorrect Answers
B:Storage reclaim behavior does not control registry authentication.
C:Image pulling fails before the container starts and before readiness probes run.
D:A Service port does not determine registry authorization for image retrieval.
Question 425
During a remediation drill, the team evaluates the safe next steps and their consequences. A Pod reports ErrImagePull with a registry manifest unknown error for an image tag that does not exist; registry authentication succeeds Context: the affected environment is `payments` and the component is `controller`. Identify only claims supported by this evidence. Choose ONE statement.
- Check events again after the corrected image is scheduled to pull.
- Change a NetworkPolicy to grant a nonexistent image tag.
- Increase CPU requests to cause the registry to create the image tag.
- Rotate the service account RBAC Role to fix manifest unknown.
Explanation
Correct Answer
A:successful correction is demonstrated by image pull and container creation, not just YAML acceptance.
Incorrect Answers
B:a network policy cannot manufacture an absent image manifest.
C:resource requests do not publish container image manifests.
D:API RBAC is separate from registry repository/tag existence.
Question 426
During an incident review, an operator must choose an accurate diagnosis. A container repeatedly exits immediately with code 127 and its prior log says its configured executable was not found Context: the affected environment is `production` and the component is `gateway`. Identify only claims supported by this evidence. Choose ONE statement.
- Increase the readiness probe delay to create the missing executable.
- Add a NetworkPolicy egress allow rule as the only remediation.
- Inspect the effective image entrypoint, Pod command and arguments.
- Change Service type to NodePort to resolve exit code 127.
Explanation
Correct Answer
C:exit 127 commonly means the specified executable cannot be found in the container runtime environment.
Incorrect Answers
A:readiness settings cannot install an executable absent from the image.
B:a local exec-not-found exit does not require outbound network traffic.
D:external Service exposure does not alter container command resolution.
Question 427
Before applying a change, the cluster team checks what the configuration actually permits. A container repeatedly exits immediately with code 127 and its prior log says its configured executable was not found Context: the affected environment is `staging` and the component is `indexer`. Identify only claims supported by this evidence. Choose ONE statement.
- Change Service type to NodePort to resolve exit code 127.
- Correct the executable path or image contents rather than only raising retry limits.
- Add a NetworkPolicy egress allow rule as the only remediation.
- Increase the readiness probe delay to create the missing executable.
Explanation
Correct Answer
B:restarting the same missing command does not make it available.
Incorrect Answers
A:External Service exposure does not alter container command resolution. The prerequisite check or operation is 'Correct the executable path or image contents rather than only raising retry limits': Restarting the same missing command does not make it available.
C:A local exec-not-found exit does not require outbound network traffic. The prerequisite check or operation is 'Correct the executable path or image contents rather than only raising retry limits': Restarting the same missing command does not make it available.
D:Readiness settings cannot install an executable absent from the image. The prerequisite check or operation is 'Correct the executable path or image contents rather than only raising retry limits': Restarting the same missing command does not make it available.
Question 428
During a remediation drill, the team evaluates the safe next steps and their consequences. A container repeatedly exits immediately with code 127 and its prior log says its configured executable was not found Context: the affected environment is `payments` and the component is `controller`. Identify only claims supported by this evidence. Choose TWO statements.
- Change Service type to NodePort to resolve exit code 127.
- Increase the readiness probe delay to create the missing executable.
- Add a NetworkPolicy egress allow rule as the only remediation.
- Inspect the effective image entrypoint, Pod command and arguments.
- Use logs from the previous container instance to verify the exit cause.
Explanation
Correct Answers
D:Exit 127 commonly means the specified executable cannot be found in the container runtime environment. 'Increase the readiness probe delay to create the missing executable' would not achieve the required recovery because Readiness settings cannot install an executable absent from the image.
E:CrashLoopBackOff surfaces repeated crashes; the previous instance contains relevant failure output.
Incorrect Answers
A:External Service exposure does not alter container command resolution. Instead, 'Inspect the effective image entrypoint, Pod command and arguments' addresses the failure directly: Exit 127 commonly means the specified executable cannot be found in the container runtime environment.
B:Readiness settings cannot install an executable absent from the image. Instead, 'Inspect the effective image entrypoint, Pod command and arguments' addresses the failure directly: Exit 127 commonly means the specified executable cannot be found in the container runtime environment.
C:A local exec-not-found exit does not require outbound network traffic. Instead, 'Inspect the effective image entrypoint, Pod command and arguments' addresses the failure directly: Exit 127 commonly means the specified executable cannot be found in the container runtime environment.
Question 429
During an incident review, an operator must choose an accurate diagnosis. A container terminates repeatedly with reason OOMKilled and exit code 137 near its configured memory limit Context: the affected environment is `production` and the component is `gateway`. Identify only claims supported by this evidence. Choose THREE statements.
- Replace a LoadBalancer with ClusterIP to change the memory OOM threshold.
- Investigate and reduce application memory use or revise a justified memory limit.
- Treat exit 137 as proof of an RBAC Forbidden response.
- Check memory requests separately when evaluating Pod placement.
- Raise only the CPU request to remove a memory cgroup OOM.
- Inspect actual memory consumption against container memory limit.
Explanation
Correct Answers
B:sustainable remediation addresses memory demand relative to the configured limit.
D:requests affect scheduling while memory limits cap runtime consumption.
F:OOMKilled often indicates memory usage exceeded the enforced cgroup limit.
Incorrect Answers
A:network Service type does not set the container cgroup memory ceiling.
C:OOMKilled is a runtime memory condition, not an API authorization result.
E:CPU scheduling requests do not increase a container memory limit.
Question 430
Before applying a change, the cluster team checks what the configuration actually permits. A container terminates repeatedly with reason OOMKilled and exit code 137 near its configured memory limit Context: the affected environment is `staging` and the component is `indexer`. Identify only claims supported by this evidence. Choose ONE statement.
- Replace a LoadBalancer with ClusterIP to change the memory OOM threshold.
- Investigate and reduce application memory use or revise a justified memory limit.
- Raise only the CPU request to remove a memory cgroup OOM.
- Treat exit 137 as proof of an RBAC Forbidden response.
Explanation
Correct Answer
B:Sustainable remediation addresses memory demand relative to the configured limit. Before changing live state, distinguish this from 'Treat exit 137 as proof of an RBAC Forbidden response': OOMKilled is a runtime memory condition, not an API authorization result.
Incorrect Answers
A:Network Service type does not set the container cgroup memory ceiling. The prerequisite check or operation is 'Investigate and reduce application memory use or revise a justified memory limit': Sustainable remediation addresses memory demand relative to the configured limit.
C:CPU scheduling requests do not increase a container memory limit. The prerequisite check or operation is 'Investigate and reduce application memory use or revise a justified memory limit': Sustainable remediation addresses memory demand relative to the configured limit.
D:OOMKilled is a runtime memory condition, not an API authorization result. The prerequisite check or operation is 'Investigate and reduce application memory use or revise a justified memory limit': Sustainable remediation addresses memory demand relative to the configured limit.
Certified Kubernetes Administrator (CKA) Practice Tests