Application Observability and Maintenance: CKAD practice questions
Application Observability and Maintenance is 15% of the free CKAD mock (7 of 50 questions). Pick an answer to see right away whether it is correct, with the explanation and the documentation section it comes from.
CK.III · CKAD practice question
A container exits with exit code 137. In Linux and Kubernetes, what does exit code 137 most commonly indicate?
Check answer and explanation
Correct answer: The container was terminated by SIGKILL (128 + 9), frequently due to an out-of-memory (OOMKilled) event
Explanation
Exit code 137 equals 128 + 9 (SIGKILL), which commonly occurs when the kernel or cgroup OOM killer terminates a container exceeding its memory limit.
Common trap
Exit code 137 equals 128 + 9 (SIGKILL), which commonly occurs when the kernel or cgroup OOM killer terminates a container exceeding its memory limit.
Source: Original unofficial practice; not an official CKAD exam item
Checked against the cited text on 2026-11-30.
CK.III · CKAD practice question
A container fails its livenessProbe repeatedly after startup. What action does kubelet take?
Check answer and explanation
Correct answer: Restarts the failing container according to the Pod's restartPolicy
Explanation
When a livenessProbe fails past failureThreshold, kubelet kills and restarts the container (subject to restartPolicy).
Common trap
When a livenessProbe fails past failureThreshold, kubelet kills and restarts the container (subject to restartPolicy).
Source: Original unofficial practice; not an official CKAD exam item
Checked against the cited text on 2026-11-30.
CK.III · CKAD practice question
A distroless container image has no shell (/bin/sh) or debugging utilities installed, and you need to inspect live processes and network connections inside a running Pod named checkout-api in namespace shop. Which command attaches an interactive troubleshooting container?
Check answer and explanation
Correct answer: kubectl debug -it checkout-api -n shop --image=nicolaka/netshoot --target=checkout-api
Explanation
kubectl debug creates an ephemeral container inside the Pod using a debug image (such as netshoot), and --target shares the target container's process namespace.
Common trap
kubectl debug creates an ephemeral container inside the Pod using a debug image (such as netshoot), and --target shares the target container's process namespace.
Source: Original unofficial practice; not an official CKAD exam item
Checked against the cited text on 2026-11-30.
CK.III · CKAD practice question
A legacy application takes up to 90 seconds to initialize before responding to health checks. If you configure livenessProbe with periodSeconds: 5 and failureThreshold: 3 without a startupProbe, what happens?
Check answer and explanation
Correct answer: Kubelet restarts the container around 15 seconds, before initialization completes
Explanation
Without a startupProbe, livenessProbe begins immediately (after initialDelaySeconds, default 0) and fails after 3 * 5 = 15 seconds, killing the container during initialization.
Common trap
Without a startupProbe, livenessProbe begins immediately (after initialDelaySeconds, default 0) and fails after 3 * 5 = 15 seconds, killing the container during initialization.
Source: Original unofficial practice; not an official CKAD exam item
Checked against the cited text on 2026-11-30.
CK.III · CKAD practice question
A Pod is in Pending state and Events show '0/3 nodes are available: 3 Insufficient memory'. What is the most direct fix?
Check answer and explanation
Correct answer: Lower the Pod's memory request (or add/free memory capacity on nodes)
Explanation
Scheduler 'Insufficient memory' means no node has enough unallocated memory to satisfy the Pod's requested memory; lowering the memory request or adding node capacity resolves scheduling.
Common trap
Scheduler 'Insufficient memory' means no node has enough unallocated memory to satisfy the Pod's requested memory; lowering the memory request or adding node capacity resolves scheduling.
Source: Original unofficial practice; not an official CKAD exam item
Checked against the cited text on 2026-11-30.
CK.III · CKAD practice question
A Pod is stuck in ImagePullBackOff. Which command and output section is most helpful for seeing the exact registry error message?
Check answer and explanation
Correct answer: kubectl describe pod -n and check the Events section
Explanation
Events shown by kubectl describe pod record kubelet's image pull failures, such as authentication errors, rate limits, or nonexistent tags.
Common trap
Events shown by kubectl describe pod record kubelet's image pull failures, such as authentication errors, rate limits, or nonexistent tags.
Source: Original unofficial practice; not an official CKAD exam item
Checked against the cited text on 2026-11-30.
CK.III · CKAD practice question
A running Pod has a single container that is failing readiness probes, so it receives no traffic, yet its liveness probe succeeds. What is its Pod phase and status?
Check answer and explanation
Correct answer: Running phase, with Ready condition False
Explanation
A running container whose readinessProbe fails stays in Running phase with Ready=False, keeping it out of Service endpoints without killing the container.
Common trap
A running container whose readinessProbe fails stays in Running phase with Ready=False, keeping it out of Service endpoints without killing the container.
Source: Original unofficial practice; not an official CKAD exam item
Checked against the cited text on 2026-11-30.
CK.III · CKAD practice question
When auditing manifests for API deprecations or removals before upgrading a cluster, which command checks the API version and field definition for CronJob in batch?
Check answer and explanation
Correct answer: kubectl explain cronjob.spec --api-version=batch/v1
Explanation
kubectl explain . --api-version= inspects schema documentation for a specific API version.
Common trap
kubectl explain . --api-version= inspects schema documentation for a specific API version.
Source: Original unofficial practice; not an official CKAD exam item
Checked against the cited text on 2026-11-30.
CK.III · CKAD practice question
Which command displays real-time CPU and memory utilization for nodes in the cluster (assuming Metrics Server is running)?
Check answer and explanation
Correct answer: kubectl top nodes
Explanation
kubectl top nodes queries the Metrics API to display current CPU and memory usage per node.
Common trap
kubectl top nodes queries the Metrics API to display current CPU and memory usage per node.
Source: Original unofficial practice; not an official CKAD exam item
Checked against the cited text on 2026-11-30.
CK.III · CKAD practice question
Which command fetches the last 50 lines of logs from container worker in Pod batch-0 in namespace jobs?
Check answer and explanation
Correct answer: kubectl logs batch-0 -c worker -n jobs --tail=50
Explanation
kubectl logs -c -n --tail=50 streams the trailing 50 log lines from the specified container.
Common trap
kubectl logs -c -n --tail=50 streams the trailing 50 log lines from the specified container.
Source: Original unofficial practice; not an official CKAD exam item
Checked against the cited text on 2026-11-30.
CK.III · CKAD practice question
Which command lists all API resources available in the cluster along with their short names, API groups, and whether they are namespaced?
Check answer and explanation
Correct answer: kubectl api-resources
Explanation
kubectl api-resources prints resource names, shortnames, API groups/versions, namespaced status, and kinds served by the API server.
Common trap
kubectl api-resources prints resource names, shortnames, API groups/versions, namespaced status, and kinds served by the API server.
Source: Original unofficial practice; not an official CKAD exam item
Checked against the cited text on 2026-11-30.
CK.III · CKAD practice question
Which command shows detailed YAML or JSON output for a single Pod named web-0 in namespace default?
Check answer and explanation
Correct answer: kubectl get pod web-0 -n default -o yaml
Explanation
kubectl get -o yaml (or -o json) prints the full API object manifest.
Common trap
kubectl get -o yaml (or -o json) prints the full API object manifest.
Source: Original unofficial practice; not an official CKAD exam item
Checked against the cited text on 2026-11-30.
CK.III · CKAD practice question
Which probe determines whether a container is ready to accept incoming traffic from a Service?
Check answer and explanation
Correct answer: readinessProbe
Explanation
A readinessProbe controls whether the Pod's IP is included in matching Service endpoints so traffic is sent only to ready containers.
Common trap
A readinessProbe controls whether the Pod's IP is included in matching Service endpoints so traffic is sent only to ready containers.
Source: Original unofficial practice; not an official CKAD exam item
Checked against the cited text on 2026-11-30.
CK.III · CKAD practice question
You need to print all Pods in namespace payments sorted by creation timestamp with custom columns showing NAME and STATUS. Which command works?
Check answer and explanation
Correct answer: kubectl get pods -n payments --sort-by=.metadata.creationTimestamp -o custom-columns=NAME:.metadata.name,STATUS:.status.phase
Explanation
kubectl get supports --sort-by with JSONPath expressions and -o custom-columns to format exact output columns.
Common trap
kubectl get supports --sort-by with JSONPath expressions and -o custom-columns to format exact output columns.
Source: Original unofficial practice; not an official CKAD exam item
Checked against the cited text on 2026-11-30.