Courseiva

CKAD · topic practice

Application Observability and Maintenance practice questions

This CKAD domain covers keeping workloads observable and debuggable: configuring liveness, readiness, and startup probes, reading container logs, inspecting resource usage, and troubleshooting running containers. Questions are task-oriented, asking you to pick the correct kubectl command or probe configuration under time pressure, so you must know exact flags and probe handler types rather than concepts alone.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Editorial oversight:Johnson Ajibi· MSc IT Security, IEEE Senior Member
20 questionsDomain: Application Observability and Maintenance

What the exam tests

What to know about Application Observability and Maintenance

Be able to write correct liveness, readiness, and startup probes and run the right kubectl command first try. The single most important thing: know kubectl logs --previous for crashed containers and kubectl exec -it for shells, since these appear as direct task questions.

Probe handler types: exec, httpGet, tcpSocket, and gRPC, plus liveness, readiness, and startup probe semantics.

Log retrieval with kubectl logs, including the --previous flag for restarted or crashed containers.

Resource usage inspection via kubectl top pod and kubectl top pod --containers for per-container metrics.

Interactive debugging using kubectl exec -it with a shell or command inside a running container.

Watch out for

Common Application Observability and Maintenance exam traps

  • ▸Forgetting --previous when a container restarted, so kubectl logs shows only the current instance instead of the crashed one.
  • ▸Confusing probe types or fields, such as using tcpSocket where httpGet is required, or omitting initialDelaySeconds and periodSeconds.
  • ▸Assuming kubectl top works without metrics-server installed, or using it on pods where metrics are unavailable.

Practice set

Application Observability and Maintenance questions

20 questions · select your answer, then reveal the explanation

An application pod is logging sensitive data (e.g., passwords) to stdout. The security team requires that these logs be redacted before they are stored. Which approach should you recommend?

You are designing a health check strategy for a web application. Which TWO probe types should you configure to ensure that traffic is only sent to pods that are ready to serve?

You want to collect logs from a pod that has multiple containers. Which TWO approaches allow you to view logs from a specific container?

Which TWO of the following are valid ways to expose application metrics for scraping by Prometheus in a Kubernetes environment?

Which THREE of the following are valid methods to view logs of a container that has already terminated?

Which TWO of the following are valid ways to expose application metrics from a Pod in Kubernetes?

A company runs a Kubernetes cluster with multiple namespaces. The operations team wants to ensure that any application crash or container restart is automatically detected and the team is notified. Which built-in Kubernetes resource should they configure to achieve this?

Match each Kubernetes object field to its description.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Maximum resources a container can use

Determines when to restart containers in a pod

Checks if container is running; restarts if fails

Checks if container is ready to serve traffic

Inject a secret value as an environment variable

Match each Kubernetes resource to its API group.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

apps/v1

v1 (core)

networking.k8s.io/v1

autoscaling/v2

networking.k8s.io/v1

A pod in the 'production' namespace is in a CrashLoopBackOff state. The pod has been running successfully for several days. You run 'kubectl describe pod app-pod -n production' and see the message: 'OOMKilled'. What is the MOST appropriate action to resolve this issue?

You have a pod with two containers: 'web' and 'sidecar'. You want to view the logs of only the 'sidecar' container. Which command should you use?

A pod in the 'production' namespace is in a CrashLoopBackOff state. The pod has been running successfully for several days. You run 'kubectl describe pod app-pod -n production' and see the message: 'OOMKilled'. What is the MOST appropriate action to resolve this issue?

A pod in the 'production' namespace is in a CrashLoopBackOff state. The pod has been running successfully for several days. You run 'kubectl describe pod app-pod -n production' and see the message: 'OOMKilled'. What is the MOST appropriate action to resolve this issue?

You want to debug a pod that is not responding. You need to run an interactive shell inside a running container. Which command should you use?

A pod in the 'production' namespace is in a CrashLoopBackOff state. The pod has been running successfully for several days. You run 'kubectl describe pod app-pod -n production' and see the message: 'OOMKilled'. What is the MOST appropriate action to resolve this issue?

You are tasked with debugging a pod that is crashing so quickly that you cannot exec into it. Which approach should you use to gain access to the pod's filesystem?

A pod in the 'production' namespace is in a CrashLoopBackOff state. The pod has been running successfully for several days. You run 'kubectl describe pod app-pod -n production' and see the message: 'OOMKilled'. What is the MOST appropriate action to resolve this issue?

You need to view the logs of a container named 'sidecar' in a pod called 'app-pod' running in namespace 'dev'. Which command should you use?

You want to view the resource usage of all pods running on a node named 'node01'. Which command should you use?

You need to debug a pod that is crashing immediately upon start. You cannot exec into the container because it exits before you can run commands. Which approach should you use to inspect the container's file system?

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused Application Observability and Maintenance sessions

Start a Application Observability and Maintenance only practice session

Every question in these sessions is drawn from the Application Observability and Maintenance domain — nothing else.

Related practice questions

Related CKAD topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the CKAD exam test about Application Observability and Maintenance?
Be able to write correct liveness, readiness, and startup probes and run the right kubectl command first try. The single most important thing: know kubectl logs --previous for crashed containers and kubectl exec -it for shells, since these appear as direct task questions.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just Application Observability and Maintenance questions in a focused session?
Yes — the session launcher on this page draws every question from the Application Observability and Maintenance domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other CKAD topics?
Use the topic links above to move to related areas, or go back to the CKAD question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the CKAD exam covers. They are not copied from any real exam or dump site.