Courseiva
Knowledge + Practice
CertificationsVendorsCareer RoadmapsLabs & ToolsStudy GuidesGlossaryPractice Questions
C
Courseiva

Free IT certification practice questions with explained answers for CCNA, CompTIA, AWS, Azure, Google Cloud, and more.

Certification Practice Questions

CCNA practice questionsSecurity+ SY0-701 practice questionsAWS SAA-C03 practice questionsAZ-104 practice questionsAZ-900 practice questionsCLF-C02 practice questionsA+ Core 1 practice questionsGoogle Cloud ACE practice questionsCySA+ CS0-003 practice questionsNetwork+ N10-009 practice questions
View all certifications →

Product

CertificationsCertification PathsExam TopicsPractice TestsExam Dumps vs Practice TestsStudy HubComparisons

Company

AboutContactEditorial PolicyQuestion Writing PolicyTrust Center

Legal

Privacy PolicyTerms of Service

Courseiva is a free IT certification practice platform offering original exam-style practice questions, detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics for Cisco, CompTIA, Microsoft, AWS, and other technology certifications.

© 2026 Courseiva. Courseiva is operated by JTNetSolutions Ltd. All rights reserved.

Courseiva is an independent certification practice platform and is not affiliated with, endorsed by, or sponsored by Cisco, Microsoft, AWS, CompTIA, Google, ISC2, ISACA, or any other certification vendor. Vendor names and certification marks are used only to identify the exams learners are preparing for.

← Application Observability and Maintenance practice sets

CKAD Application Observability and Maintenance • Complete Question Bank

CKAD Application Observability and Maintenance — All Questions With Answers

Complete CKAD Application Observability and Maintenance question bank — all 0 questions with answers and detailed explanations.

171
Questions
Free
No signup
Certifications/CKAD/Practice Test/Application Observability and Maintenance/All Questions
Question 1mediummultiple choice
Read the full Application Observability and Maintenance explanation →

A pod named 'web-app' is experiencing high CPU usage. You want to investigate which process inside the container is consuming the most CPU. Which command should you run?

Question 2hardmultiple choice
Read the full Application Observability and Maintenance explanation →

A deployment 'api-deploy' has resource limits set but is frequently being OOMKilled. The team suspects the memory limit is too low. Which approach should be taken to confirm this without causing downtime?

Question 3easymultiple choice
Read the full Application Observability and Maintenance explanation →

A pod is in CrashLoopBackOff state. You need to view the last few lines of its logs to understand why it is crashing. Which command is most appropriate?

Question 4hardmultiple choice
Read the full Application Observability and Maintenance explanation →

You are debugging a network issue: a pod 'frontend' cannot reach a service 'backend' in the same namespace. The service endpoints are empty. What is the most likely cause?

Question 5easymultiple choice
Read the full Application Observability and Maintenance explanation →

A deployment is configured with a liveness probe that checks an HTTP endpoint. The probe fails intermittently, causing pod restarts. What is the best first step to diagnose the issue?

Question 6mediummultiple choice
Read the full Application Observability and Maintenance explanation →

A pod is stuck in 'Pending' state. You run 'kubectl describe pod my-pod' and see the event: '0/3 nodes are available: 3 Insufficient cpu.' Which action should you take?

Question 7hardmultiple choice
Read the full Application Observability and Maintenance 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?

Question 8mediummultiple choice
Read the full Application Observability and Maintenance explanation →

You need to collect metrics from an application running in a pod. The application exposes metrics on port 8080 at /metrics in Prometheus format. Which resource should you configure to allow Prometheus to scrape these metrics?

Question 9mediummulti select
Read the full Application Observability and Maintenance explanation →

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?

Question 10hardmulti select
Read the full Application Observability and Maintenance explanation →

A pod is running but not serving traffic. You suspect the readiness probe is failing. Which THREE commands or actions would help you diagnose the readiness probe issue?

Question 11easymulti select
Read the full Application Observability and Maintenance explanation →

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

Question 12hardmultiple choice
Read the full Application Observability and Maintenance explanation →

Based on the exhibit, why is the container being killed and restarted?

Exhibit

Refer to the exhibit.

```
$ kubectl describe pod nginx-pod
...
Events:
  Type     Reason     Age   From               Message
  ----     ------     ----  ----               -------
  Normal   Scheduled  10m   default-scheduler  Successfully assigned default/nginx-pod to node-2
  Normal   Pulled     10m   kubelet            Container image "nginx:latest" already present on machine
  Normal   Created    10m   kubelet            Created container nginx
  Normal   Started    10m   kubelet            Started container nginx
  Warning  Unhealthy  5m    kubelet            Readiness probe failed: HTTP probe failed with statuscode: 503
  Warning  Unhealthy  4m    kubelet            Readiness probe failed: HTTP probe failed with statuscode: 503
  Normal   Killing    3m    kubelet            Container nginx is not ready, stopping it
  Normal   Pulled     3m    kubelet            Container image "nginx:latest" already present on machine
  Normal   Created    3m    kubelet            Created container nginx
  Normal   Started    3m    kubelet            Started container nginx
  Warning  Unhealthy  2m    kubelet            Readiness probe failed: HTTP probe failed with statuscode: 503
```
Question 13mediummultiple choice
Read the full Application Observability and Maintenance explanation →

Based on the exhibit, what should you do to determine why the container is failing?

Network Topology
$ kubectl get eventsfield-selector involvedObject.kind=Podsort-by=.metadata.creationTimestampRefer to the exhibit.```
Question 14mediummultiple choice
Read the full Application Observability and Maintenance explanation →

Your team manages a microservices application on a Kubernetes cluster. A critical service 'order-service' is deployed with 3 replicas. Lately, customers have reported occasional timeouts when placing orders. You suspect that the service is overloaded during peak hours. You have configured a HorizontalPodAutoscaler (HPA) based on CPU utilization, but the autoscaler does not appear to be scaling up quickly enough. Upon inspection, you notice that the HPA is configured with a target CPU utilization of 80%, and the current CPU usage of the pods is around 70%. However, the pods' memory usage is high and growing. The application is also logging slow database queries. Which action is most likely to improve the responsiveness of the service during peak load?

Question 15hardmultiple choice
Read the full Application Observability and Maintenance explanation →

You are a platform engineer for a large e-commerce site. The application is deployed on a Kubernetes cluster with 10 worker nodes. Recently, a new deployment 'checkout' was rolled out, and soon after, the cluster experienced network latency and intermittent connectivity issues between services. The 'checkout' pods are configured with a liveness probe that makes an HTTP request to an internal health endpoint. Upon investigation, you find that the kubelet on several nodes is consuming high CPU, and the number of iptables rules has increased significantly. You suspect that the 'checkout' deployment's configuration is causing excessive churn in the network rules. Which aspect of the deployment configuration is most likely the root cause?

Question 16easymultiple choice
Read the full Application Observability and Maintenance explanation →

A deployment 'web-app' is running with 3 replicas. Users report that the application is slow. The team suspects a memory leak. Which command provides the most immediate insight into the memory usage of the pods?

Question 17mediummultiple choice
Read the full Application Observability and Maintenance explanation →

A pod named 'db-backup' is in CrashLoopBackOff. The team needs to understand why it keeps crashing. Which approach should be taken first to diagnose the issue?

Question 18hardmultiple choice
Read the full Application Observability and Maintenance explanation →

A cluster has a node that is NotReady. The kubelet on that node is not responding. Which command should be used to investigate the kubelet logs on the node?

Question 19easymultiple choice
Read the full Application Observability and Maintenance explanation →

A DevOps engineer needs to set up resource monitoring for pods in a namespace. Which built-in Kubernetes resource provides CPU and memory metrics out-of-the-box?

Question 20mediummultiple choice
Read the full Application Observability and Maintenance explanation →

A pod has been scheduled on a node but is stuck in 'ContainerCreating' state. The team suspects a missing storage class. Which command would best confirm this?

Question 21hardmultiple choice
Read the full Application Observability and Maintenance explanation →

A pod is running but the application inside is not serving traffic. The team runs 'kubectl exec -it <pod> -- curl localhost:8080' and gets 'Connection refused'. What is the most likely cause?

Question 22easymultiple choice
Read the full Application Observability and Maintenance explanation →

A developer wants to view the resource usage of all containers in a specific pod. Which command should they use?

Question 23mediummulti select
Read the full Application Observability and Maintenance explanation →

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

Question 24hardmulti select
Read the full Application Observability and Maintenance explanation →

Which THREE of the following are best practices for configuring readiness probes?

Question 25hardmulti select
Read the full NAT/PAT explanation →

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

Question 26hardmultiple choice
Read the full Application Observability and Maintenance explanation →

You are a platform engineer managing a production Kubernetes cluster. A team deploys a stateful application called 'inventory-service' with 3 replicas using a StatefulSet. Each pod writes logs to a persistent volume via a PersistentVolumeClaim. Recently, the team reports that the application becomes unresponsive after running for a few hours. You notice that the pods are still running (READY 1/1) but the application does not respond to HTTP requests. You exec into one pod and find that the disk is 100% full. The PVC is backed by a cloud disk (e.g., AWS EBS). You check the pod's resource limits and see that memory and CPU are not exhausted. The container logs are not rotated. Which course of action should you take to resolve the immediate issue and prevent recurrence?

Question 27mediummultiple choice
Read the full Application Observability and Maintenance explanation →

A Pod is stuck in CrashLoopBackOff. You run 'kubectl logs mypod' and get no output. What is the most likely cause?

Question 28easymultiple choice
Read the full Application Observability and Maintenance explanation →

You need to view metrics from a Pod running a web server. Which approach follows Kubernetes best practices?

Question 29hardmultiple choice
Read the full Application Observability and Maintenance explanation →

A Pod is running but not responding to requests. The liveness probe is a TCP check on port 8080. What is the most likely issue?

Question 30mediummultiple choice
Read the full Application Observability and Maintenance explanation →

You need to debug a Pod that is in CrashLoopBackOff. Which command should you run first?

Question 31mediummulti select
Read the full Application Observability and Maintenance explanation →

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

Question 32hardmultiple choice
Read the full Application Observability and Maintenance explanation →

The Pod 'myapp' is in CrashLoopBackOff. Based on the exhibit, what is the most likely cause?

Exhibit

Refer to the exhibit.

$ kubectl logs myapp-6b4d9f8c7d-abcde
Error: listening on :8080: bind: address already in use
$ kubectl describe pod myapp-6b4d9f8c7d-abcde | grep -A5 Last State
    Last State:     Terminated
      Reason:       Error
      Exit Code:    1
      Message:      listening on :8080: bind: address already in use
Question 33hardmultiple choice
Read the full Application Observability and Maintenance explanation →

You are a platform engineer at a company that runs a microservices architecture on Kubernetes. The application consists of a frontend service (Node.js), a backend API (Go), and a PostgreSQL database. All components are deployed in the same namespace 'production'. Recently, the backend API has been experiencing intermittent 503 errors from the frontend. The backend API Pods have CPU limits set to 500m and memory limits to 256Mi. The backend API exposes metrics at /metrics and has a liveness probe (HTTP GET /healthz) and a readiness probe (HTTP GET /ready). You notice that during traffic spikes, the backend API Pods are restarted frequently. You examine the metrics and see that memory usage spikes to 250Mi during high load. What is the most likely cause of the restarts and 503 errors?

Question 34mediummultiple choice
Read the full Application Observability and Maintenance explanation →

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?

Question 35hardmulti select
Read the full Application Observability and Maintenance explanation →

You are tasked with improving the observability of a microservices application running in Kubernetes. The application is deployed with multiple replicas and experiences occasional high latency. Which TWO actions should you take to gain better insight into the application's performance?

Question 36easymultiple choice
Read the full Application Observability and Maintenance explanation →

Refer to the exhibit. A pod named 'app-backend-6b4c9d8f7-2x4z5' is in CrashLoopBackOff state. What is the MOST likely cause of this issue?

Exhibit

Refer to the exhibit.
```
kubectl get pods -n production
NAME                     READY   STATUS    RESTARTS   AGE
app-backend-6b4c9d8f7-2x4z5   0/1     CrashLoopBackOff   5          3m
app-backend-6b4c9d8f7-7y8u9   1/1     Running            0          5m
app-frontend-5f6a7b8c9d-1a2b3 1/1     Running            0          10m
```
Question 37mediumdrag order
Read the full Application Observability and Maintenance explanation →

Sequence the steps to troubleshoot a Pod stuck in CrashLoopBackOff state.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5
Question 38mediumdrag order
Read the full Application Observability and Maintenance explanation →

Order the steps to update a Kubernetes Secret and ensure a Pod uses the new secret.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5
Question 39mediummatching
Read the full Application Observability and Maintenance explanation →

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

Question 40mediummatching
Read the full Application Observability and Maintenance explanation →

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

Question 41mediummultiple choice
Read the full Application Observability and Maintenance explanation →

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?

Question 42easymultiple choice
Read the full Application Observability and Maintenance explanation →

You have a Deployment running a web server that takes 30 seconds to initialize. You want to ensure that the load balancer does not send traffic to the pod until it is ready. Which probe should you configure?

Question 43mediummultiple choice
Read the full Application Observability and Maintenance explanation →

A pod named 'db-pod' is running but not responding as expected. You want to check its logs from the previous instantiation (after a crash). Which command should you use?

Question 44hardmultiple choice
Read the full Application Observability and Maintenance explanation →

You have a Deployment that must run a legacy application that takes up to 5 minutes to start. You need to ensure the liveness probe does not kill the container prematurely. Which probe configuration should you use?

Question 45easymultiple choice
Read the full Application Observability and Maintenance explanation →

You need to view resource usage (CPU and memory) for all pods in the 'default' namespace. Which command should you use?

Question 46mediummultiple choice
Read the full Application Observability and Maintenance explanation →

A pod named 'app' is stuck in 'Pending' state. You run 'kubectl describe pod app' and see the event: '0/3 nodes are available: 3 Insufficient cpu'. What is the most likely cause?

Question 47hardmultiple choice
Read the full Application Observability and Maintenance explanation →

You want to debug a pod that is failing to start. The pod does not have a shell installed. Which command can you use to attach an ephemeral debug container to the running (or failed) pod?

Question 48mediummultiple choice
Read the full Application Observability and Maintenance explanation →

A container in a pod is expected to shut down gracefully within 30 seconds when it receives SIGTERM. How should you configure the pod to ensure the container is given enough time to shut down before being forcefully killed?

Question 49easymultiple choice
Read the full Application Observability and Maintenance explanation →

You want to see a list of all events in the 'default' namespace, sorted by timestamp. Which command should you use?

Question 50mediummultiple choice
Read the full Application Observability and Maintenance explanation →

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?

Question 51mediummultiple choice
Read the full Application Observability and Maintenance explanation →

You need to run a command inside a running pod's container. The container has a shell available. Which command allows you to execute 'ls -la /data' inside the container?

Question 52hardmultiple choice
Read the full NAT/PAT explanation →

You have a Deployment that uses an httpGet liveness probe on port 8080 with path /healthz. The probe fails after the container starts, but you can successfully curl http://localhost:8080/healthz from within the container. What is the most likely cause?

Question 53mediummulti select
Read the full Application Observability and Maintenance explanation →

Which TWO statements about readiness probes are correct? (Choose two.)

Question 54mediummulti select
Read the full Application Observability and Maintenance explanation →

Which TWO parameters can be configured for a probe to control its behavior? (Choose two.)

Question 55hardmulti select
Read the full Application Observability and Maintenance explanation →

Which THREE commands can be used to get detailed information about a pod named 'my-pod'? (Choose three.)

Question 56mediummultiple choice
Read the full Application Observability and Maintenance explanation →

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?

Question 57easymultiple choice
Read the full Application Observability and Maintenance explanation →

Which command streams logs from a pod in real-time?

Question 58hardmultiple choice
Read the full Application Observability and Maintenance explanation →

You have a Deployment named 'api' with 3 replicas. You need to ensure that new pods are not added to the Service's endpoints until the application is ready to serve traffic. Which probe configuration should you add to the pod spec?

Question 59mediummultiple choice
Read the full Application Observability and Maintenance explanation →

You run 'kubectl get pods -o wide' and see that a pod's NODE column shows 'node-1'. You want to see more details about that node's resource usage. Which command should you use?

Question 60easymultiple choice
Read the full Application Observability and Maintenance explanation →

A container in your pod takes a long time to start (up to 5 minutes). You want to avoid the container being restarted by the liveness probe during this period. What should you configure?

Question 61mediummultiple choice
Read the full Application Observability and Maintenance explanation →

You want to run a command inside a running container to check environment variables. Which command should you use?

Question 62hardmultiple choice
Read the full Application Observability and Maintenance explanation →

You need to debug a pod that has no running containers because it is in a CrashLoopBackOff state. You want to start an ephemeral container with debugging tools in the same namespace. Which command accomplishes this?

Question 63easymultiple choice
Read the full Application Observability and Maintenance explanation →

What is the purpose of the 'kubectl describe pod' command?

Question 64mediummultiple choice
Read the full Application Observability and Maintenance explanation →

A pod named 'web' is in a CrashLoopBackOff state. You suspect the application is failing due to a configuration error. You want to see the logs from the previous instance of the container. Which command should you use?

Question 65hardmultiple choice
Read the full Application Observability and Maintenance explanation →

You have a Deployment that uses a ConfigMap. You update the ConfigMap, but the pods are not picking up the changes. What is the MOST efficient way to force the pods to use the new ConfigMap values without downtime?

Question 66mediummultiple choice
Read the full NAT/PAT explanation →

You want to ensure your application shuts down gracefully when a pod is terminated. The application needs 30 seconds to clean up. Which field should you set in the pod spec?

Question 67easymultiple choice
Read the full Application Observability and Maintenance explanation →

Which command shows the CPU and memory usage of all pods in the current namespace?

Question 68mediummultiple choice
Read the full Application Observability and Maintenance explanation →

You have a pod that is in a 'Pending' state. You run 'kubectl describe pod' and see the event: '0/3 nodes are available: 3 Insufficient cpu'. What is the most likely cause?

Question 69hardmultiple choice
Read the full Application Observability and Maintenance explanation →

You need to configure a liveness probe for a container that listens on TCP port 8080. The probe should wait 5 seconds before starting, check every 10 seconds, and timeout after 2 seconds. Which YAML snippet correctly configures this?

Question 70mediummultiple choice
Read the full Application Observability and Maintenance explanation →

You are troubleshooting a service connectivity issue. You have a pod named 'client' and a service named 'server'. You want to check if the service's endpoints are populated. Which command should you run?

Question 71mediummulti select
Read the full Application Observability and Maintenance explanation →

Which TWO of the following are valid types of probes in Kubernetes? (Select 2)

Question 72hardmulti select
Read the full Application Observability and Maintenance explanation →

Which THREE of the following are valid fields for configuring a probe in Kubernetes? (Select 3)

Question 73easymulti select
Read the full Application Observability and Maintenance explanation →

Which TWO of the following are valid reasons to use a readiness probe? (Select 2)

Question 74mediummulti select
Read the full NAT/PAT explanation →

Which THREE of the following are correct statements about the terminationGracePeriodSeconds field? (Select 3)

Question 75hardmulti select
Read the full Application Observability and Maintenance explanation →

Which TWO of the following are valid approaches to debug a pod that is in a CrashLoopBackOff state? (Select 2)

Question 76mediummultiple choice
Read the full Application Observability and Maintenance explanation →

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?

Question 77easymultiple choice
Read the full Application Observability and Maintenance explanation →

You need to view the logs of a container named 'sidecar' inside a pod named 'app'. Which command should you use?

Question 78hardmultiple choice
Read the full Application Observability and Maintenance explanation →

You have a Deployment with a liveness probe using an exec command. The probe currently runs 'cat /tmp/healthy' and fails after 3 failures. You notice the pod is being restarted even though the application is healthy. What is the most likely cause?

Question 79mediummultiple choice
Read the full Application Observability and Maintenance explanation →

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?

Question 80easymultiple choice
Read the full Application Observability and Maintenance explanation →

Which command shows resource usage (CPU and memory) for pods in a namespace?

Question 81mediummultiple choice
Read the full Application Observability and Maintenance explanation →

A pod with a startup probe configured is taking longer than usual to start. The startup probe has 'failureThreshold: 10' and 'periodSeconds: 5'. What is the maximum time the pod has to start before it is restarted?

Question 82hardmultiple choice
Read the full Application Observability and Maintenance explanation →

You have a Deployment with 3 replicas. The pods have a readiness probe that checks an HTTP endpoint /ready. One pod's readiness probe is failing. What will happen?

Question 83mediummultiple choice
Read the full Application Observability and Maintenance explanation →

You need to view events for a specific pod named 'web-1' in the 'default' namespace. Which command shows events related to this pod?

Question 84easymultiple choice
Read the full Application Observability and Maintenance explanation →

What is the purpose of a readiness probe?

Question 85mediummultiple choice
Read the full Application Observability and Maintenance explanation →

A pod is stuck in 'Pending' state. You run 'kubectl describe pod' and see '0/1 nodes are available: 1 Insufficient cpu, 1 Insufficient memory.' What does this mean?

Question 86hardmultiple choice
Read the full Application Observability and Maintenance explanation →

You want to configure a pod so that it receives a SIGTERM signal and has 60 seconds to shut down gracefully before being forcefully killed. Which field should you set?

Question 87mediummultiple choice
Read the full Application Observability and Maintenance explanation →

You need to see the YAML definition of a running pod named 'app' including the current status. Which command should you use?

Question 88mediummulti select
Read the full Application Observability and Maintenance explanation →

Which TWO commands can be used to view the logs of a pod that has crashed?

Question 89hardmulti select
Read the full Application Observability and Maintenance explanation →

Which THREE are valid types of probes in Kubernetes?

Question 90easymulti select
Read the full Application Observability and Maintenance explanation →

Which TWO are valid ways to debug a pod using ephemeral containers?

Question 91mediummultiple choice
Read the full Application Observability and Maintenance explanation →

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?

Question 92easymultiple choice
Read the full Application Observability and Maintenance explanation →

Which kubectl command streams logs from a pod named 'web-pod' in real-time?

Question 93mediummultiple choice
Read the full NAT/PAT explanation →

You have a Deployment running a web application that takes 60 seconds to start up. You need to configure probes so that Kubernetes waits for the application to fully start before checking its health and directing traffic to it. Which combination of probes should you use?

Question 94hardmultiple choice
Read the full Application Observability and Maintenance explanation →

A developer reports that a container in a pod is not responding correctly. You need to get an interactive shell in the container to investigate. Which command should you run?

Question 95easymultiple choice
Read the full Application Observability and Maintenance explanation →

Which probe type is used to determine if a container is ready to serve traffic?

Question 96mediummultiple choice
Read the full Application Observability and Maintenance explanation →

You have a pod that is stuck in 'Pending' state. Which command would you run first to diagnose the issue?

Question 97mediummultiple choice
Read the full Application Observability and Maintenance explanation →

A container in a pod is crashing repeatedly. You want to see the logs from the previous (crashed) instance of the container. Which command should you use?

Question 98hardmultiple choice
Read the full Application Observability and Maintenance explanation →

You need to configure a liveness probe that checks if the container port 8080 is open. Which probe type should you use?

Question 99easymultiple choice
Read the full Application Observability and Maintenance explanation →

Which command shows resource usage (CPU and memory) for pods?

Question 100mediummultiple choice
Read the full Application Observability and Maintenance explanation →

You want to ensure your containerized application handles SIGTERM gracefully and shuts down within 30 seconds. Which field should you set in the Pod spec?

Question 101hardmultiple choice
Read the full Application Observability and Maintenance explanation →

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?

Question 102easymultiple choice
Read the full Application Observability and Maintenance explanation →

What is the purpose of a readiness probe in Kubernetes?

Question 103mediummulti select
Read the full Application Observability and Maintenance explanation →

Which TWO of the following are valid parameters for configuring probes in Kubernetes? (Select TWO.)

Question 104hardmulti select
Read the full Application Observability and Maintenance explanation →

Which THREE of the following are valid reasons to use a startup probe? (Select THREE.)

Question 105mediummulti select
Read the full Application Observability and Maintenance explanation →

Which TWO of the following commands can be used to view events related to a specific pod? (Select TWO.)

Question 106mediummultiple choice
Read the full Application Observability and Maintenance explanation →

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?

Question 107easymultiple choice
Read the full Application Observability and Maintenance explanation →

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?

Question 108mediummultiple choice
Read the full Application Observability and Maintenance explanation →

You are debugging a pod that is running but not responding to network requests on port 8080. You suspect the application inside the container is faulty. You need to run an interactive shell inside the container to inspect the process. Which command should you use?

Question 109hardmultiple choice
Read the full NAT/PAT explanation →

A developer configures a liveness probe for a container that takes a long time to start (about 120 seconds). The probe uses httpGet on port 8080 with a path '/healthz'. The probe is configured with initialDelaySeconds=10, periodSeconds=10, failureThreshold=3. The pod enters CrashLoopBackOff. What is the MOST likely cause?

Question 110mediummultiple choice
Read the full Application Observability and Maintenance explanation →

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

Question 111hardmultiple choice
Read the full Application Observability and Maintenance explanation →

A pod is stuck in the Pending state. You run 'kubectl describe pod pod-name' and see the event: '0/4 nodes are available: 1 node had taint {node-role.kubernetes.io/control-plane: }, that the pod didn't tolerate, 3 nodes had taint {node.kubernetes.io/disk-pressure: }, that the pod didn't tolerate.' What is the MOST likely cause?

Question 112mediummultiple choice
Read the full Application Observability and Maintenance explanation →

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?

Question 113easymultiple choice
Read the full NAT/PAT explanation →

You need to view the logs of the previous (terminated) instance of a container in a pod. Which command should you use?

Question 114mediummultiple choice
Read the full Application Observability and Maintenance explanation →

A pod has a readiness probe configured with httpGet on port 8080. The probe is failing, but the pod is running. What is the immediate effect on the pod?

Question 115hardmultiple choice
Read the full Application Observability and Maintenance explanation →

You are asked to ensure that a pod with a slow-starting container (requires 60 seconds to initialize) is not prematurely restarted by the liveness probe. The liveness probe should start only after the container is fully initialized. Which probe type should you add to the pod spec?

Question 116easymultiple choice
Read the full Application Observability and Maintenance explanation →

You need to get a list of all events in the cluster sorted by timestamp. Which command should you use?

Question 117mediummultiple choice
Read the full Application Observability and Maintenance explanation →

You want to see the IP address and the node on which each pod in the 'default' namespace is running. Which command provides this information?

Question 118mediummulti select
Read the full Application Observability and Maintenance explanation →

Which TWO statements are true about readiness probes? (Select two.)

Question 119hardmulti select
Read the full Application Observability and Maintenance explanation →

Which THREE of the following are valid ways to debug a pod that is not responding? (Select three.)

Question 120mediummulti select
Read the full Application Observability and Maintenance explanation →

Which TWO actions can you perform using 'kubectl describe'? (Select two.)

Question 121easymultiple choice
Read the full Application Observability and Maintenance explanation →

Which kubectl command streams logs from a pod named 'web-pod' in real-time?

Question 122mediummultiple choice
Read the full Application Observability and Maintenance explanation →

A pod with a liveness probe using 'httpGet' is restarting repeatedly. The probe checks '/healthz' on port 8080. The application is healthy and responds with HTTP 200. What is the most likely cause?

Question 123mediummultiple choice
Read the full Application Observability and Maintenance explanation →

A developer wants to debug a container that has crashed and is no longer running. Which command allows them to start an ephemeral container in the same pod for debugging?

Question 124hardmultiple choice
Read the full Application Observability and Maintenance explanation →

A pod has a startup probe with failureThreshold: 30 and periodSeconds: 10. The application takes up to 5 minutes to start. What should be changed to ensure the startup probe does not kill the container prematurely?

Question 125easymultiple choice
Read the full Application Observability and Maintenance explanation →

Which command shows resource usage (CPU/memory) of pods in the default namespace?

Question 126mediummultiple choice
Read the full Application Observability and Maintenance explanation →

You run 'kubectl get events' and see an event 'FailedScheduling' for a pod. What is the most common cause?

Question 127hardmultiple choice
Read the full NAT/PAT explanation →

A pod spec has terminationGracePeriodSeconds: 30. The main process ignores SIGTERM. After 30 seconds, what happens?

Question 128easymultiple choice
Read the full Application Observability and Maintenance explanation →

Which probe type is used to indicate that a container is ready to serve traffic and should be added to Service endpoints?

Question 129mediummultiple choice
Read the full Application Observability and Maintenance explanation →

A pod uses a liveness probe with exec command 'cat /tmp/healthy'. The file /tmp/healthy exists initially but is deleted by the application after 60 seconds. Which behavior will occur?

Question 130mediummultiple choice
Read the full Application Observability and Maintenance explanation →

You need to view the logs of a container that previously crashed and has been restarted. Which flag do you use with 'kubectl logs'?

Question 131hardmultiple choice
Read the full Application Observability and Maintenance explanation →

A pod has a readiness probe using tcpSocket on port 3306. The application listens on port 3306 but returns errors on database queries. What is the effect of the readiness probe?

Question 132mediummultiple choice
Read the full Application Observability and Maintenance explanation →

Which command outputs the pod's full YAML specification including status?

Question 133mediummulti select
Read the full Application Observability and Maintenance explanation →

Which TWO of the following are valid types of probes in Kubernetes? (Select 2)

Question 134mediummulti select
Read the full Application Observability and Maintenance explanation →

Which THREE of the following are valid parameters for configuring probes? (Select 3)

Question 135hardmulti select
Read the full Application Observability and Maintenance explanation →

Which TWO of the following are true about the 'kubectl describe pod' output? (Select 2)

Question 136mediummultiple choice
Read the full Application Observability and Maintenance explanation →

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?

Question 137easymultiple choice
Read the full Application Observability and Maintenance explanation →

Which kubectl command can you use to stream the logs from a pod in real-time?

Question 138mediummultiple choice
Read the full Application Observability and Maintenance explanation →

You need to configure a liveness probe for a container that starts a web server on port 8080. The probe should check the '/healthz' endpoint. Which YAML snippet correctly defines this probe?

Question 139mediummultiple choice
Read the full Application Observability and Maintenance explanation →

A pod is running but not receiving traffic from a Service. The readiness probe is failing. What is the likely effect on the pod?

Question 140hardmultiple choice
Read the full Application Observability and Maintenance explanation →

You have a pod that takes 2 minutes to start its application. You want to avoid the liveness probe from killing the pod during startup, but still have it active afterward. Which probe should you add to the pod spec?

Question 141easymultiple choice
Read the full Application Observability and Maintenance explanation →

You want to see detailed information about a node's resource usage. Which command should you run?

Question 142mediummultiple choice
Read the full Application Observability and Maintenance explanation →

You are debugging a pod that is crashing immediately on startup. You want to run an ephemeral container for debugging while the pod is running. Which command should you use?

Question 143mediummultiple choice
Read the full Application Observability and Maintenance explanation →

Which field in the container spec controls the time Kubernetes waits after sending SIGTERM before sending SIGKILL during pod shutdown?

Question 144hardmultiple choice
Read the full Application Observability and Maintenance explanation →

You have a Deployment with a liveness probe that fails intermittently, causing the pod to restart. You want to reduce the sensitivity of the probe so that it only restarts after 3 consecutive failures. Which probe parameter should you adjust?

Question 145mediummultiple choice
Read the full Application Observability and Maintenance explanation →

You run 'kubectl get pods' and see that a pod is in 'Pending' state. What is the most likely cause?

Question 146easymultiple choice
Read the full Application Observability and Maintenance explanation →

You want to see all events in the default namespace sorted by timestamp. Which command should you use?

Question 147hardmultiple choice
Read the full Application Observability and Maintenance explanation →

You have a pod with two containers: app and sidecar. The sidecar logs are verbose and you want to view only the app container logs. Which command should you use?

Question 148mediummulti select
Read the full Application Observability and Maintenance explanation →

Which TWO of the following are valid types of probes in Kubernetes?

Question 149hardmulti select
Read the full Application Observability and Maintenance explanation →

Which TWO of the following are valid reasons for using a startup probe?

Question 150mediummulti select
Read the full Application Observability and Maintenance explanation →

Which THREE of the following are valid probe handlers in Kubernetes?

Question 151easymultiple choice
Read the full Application Observability and Maintenance explanation →

A pod is running but not responding to traffic. You suspect the application inside the container is unhealthy but the pod is still marked as 'Running'. Which probe should be configured to remove the pod from the service's endpoints automatically?

Question 152easymultiple choice
Read the full Application Observability and Maintenance explanation →

You want to view the logs of a pod named 'web-pod' that has two containers: 'nginx' and 'sidecar'. Which command correctly streams the logs from the 'nginx' container?

Question 153easymultiple choice
Read the full Application Observability and Maintenance explanation →

You have a pod 'app-pod' that keeps restarting. You want to see the logs from the previous (crashed) container instance. Which command should you use?

Question 154mediummultiple choice
Read the full Application Observability and Maintenance explanation →

A developer reports that a pod named 'api-pod' is restarted repeatedly. You run 'kubectl get events --field-selector involvedObject.name=api-pod' and see multiple events with reason 'BackOff' and message 'Back-off restarting failed container'. Which probe failure is MOST likely causing this?

Question 155mediummultiple choice
Read the full Application Observability and Maintenance explanation →

You are writing a Deployment manifest for a container that takes up to 60 seconds to become ready. You want to ensure the liveness probe does not interfere during this startup period. What should you configure?

Question 156mediummultiple choice
Read the full Application Observability and Maintenance explanation →

A pod is stuck in 'Pending' state. You run 'kubectl describe pod pending-pod' and see the following condition: 'Status: False, Type: PodScheduled, Reason: Unschedulable, Message: 0/4 nodes are available: 1 node(s) had taint {node.kubernetes.io/disk-pressure: }, 1 node(s) had taint {node.kubernetes.io/memory-pressure: }, 2 node(s) didn't match Pod's node affinity/selector.' What is the most specific reason the pod cannot be scheduled?

Question 157mediummultiple choice
Read the full Application Observability and Maintenance explanation →

You need to check the CPU and memory usage of a pod named 'monitored-pod' in the 'default' namespace. Which command should you run?

Question 158mediummultiple choice
Read the full Application Observability and Maintenance explanation →

You want to run a command inside an existing container 'app-container' in pod 'my-pod'. The pod has only one container. Which command enters an interactive shell?

Question 159mediummultiple choice
Read the full Application Observability and Maintenance explanation →

You want to debug a pod that has no shell or debugging tools installed. Which feature allows you to temporarily add a sidecar container with debugging tools to a running pod?

Question 160mediummultiple choice
Read the full Application Observability and Maintenance explanation →

You need to configure a container to shut down gracefully when it receives a SIGTERM signal, with a timeout of 30 seconds before force kill. Which field in the Pod spec should you set?

Question 161hardmultiple choice
Read the full Application Observability and Maintenance explanation →

You have a Deployment called 'web-deploy' with 3 replicas. One of the pods is not receiving traffic, but it shows 'Running' and passes its liveness probe. The readiness probe is configured as a TCP socket check on port 8080. You verify that the application is listening on port 8080. What is a likely reason the pod is not receiving traffic?

Question 162hardmultiple choice
Read the full Application Observability and Maintenance explanation →

You run 'kubectl get pods -o wide' and see that a pod 'worker-pod' is in 'Completed' state with 'Restart Count: 5'. The pod's restart policy is 'OnFailure'. What is the most likely reason the pod has restarted 5 times?

Question 163hardmultiple choice
Read the full NAT/PAT explanation →

You deploy a pod with the following specification:

apiVersion: v1 kind: Pod metadata: name: probe-pod spec: containers: - name: app image: nginx livenessProbe: httpGet: path: /healthz port: 8080 initialDelaySeconds: 5 periodSeconds: 10 failureThreshold: 3

The application listens on port 80, not 8080. What will happen to the pod?

Question 164easymultiple choice
Read the full Application Observability and Maintenance explanation →

Which kubectl command shows detailed information about a pod, including events, labels, and container state?

Question 165mediummultiple choice
Read the full Application Observability and Maintenance explanation →

You want to view the events related to a specific pod named 'my-pod' in the 'default' namespace. Which command filters events to show only those pertaining to this pod?

Question 166mediummulti select
Read the full Application Observability and Maintenance explanation →

Which TWO of the following are valid liveness probe types in Kubernetes?

Question 167mediummulti select
Read the full Application Observability and Maintenance explanation →

Which THREE of the following are valid parameters for a probe?

Question 168hardmulti select
Read the full Application Observability and Maintenance explanation →

You run 'kubectl get pods' and see a pod in 'CrashLoopBackOff' state. Which TWO conditions could cause this state?

Question 169mediummultiple choice
Read the full Application Observability and Maintenance explanation →

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?

Question 170easymultiple choice
Read the full Application Observability and Maintenance explanation →

A developer needs to view the logs of a pod named 'web-app-84b7f6f5b6-abcde' that crashed and has been restarted. Which kubectl command should they use to see the logs from the previous (crashed) instance?

Question 171mediummulti select
Read the full Application Observability and Maintenance explanation →

You need to check the resource usage of nodes and pods in your cluster. Which TWO commands should you use? (Choose two)

Practice tests

Scored 10-question sessions with instant feedback and explanations.

CKAD Practice Test 1 — 10 Questions→CKAD Practice Test 2 — 10 Questions→CKAD Practice Test 3 — 10 Questions→CKAD Practice Test 4 — 10 Questions→CKAD Practice Test 5 — 10 Questions→CKAD Practice Exam 1 — 20 Questions→CKAD Practice Exam 2 — 20 Questions→CKAD Practice Exam 3 — 20 Questions→CKAD Practice Exam 4 — 20 Questions→Free CKAD Practice Test 1 — 30 Questions→Free CKAD Practice Test 2 — 30 Questions→Free CKAD Practice Test 3 — 30 Questions→CKAD Practice Questions 1 — 50 Questions→CKAD Practice Questions 2 — 50 Questions→CKAD Exam Simulation 1 — 100 Questions→

Practice by domain

Each domain maps to a weighted exam section. Focus on the domain where you are weakest.

Application Design and BuildApplication DeploymentApplication Environment, Configuration and SecurityApplication Observability and MaintenanceServices and Networking

Practice by scenario

Filter questions by type — troubleshooting, exhibit, drag-and-drop, PBQ, ACLs, OSPF, and more.

Browse scenarios→

Continue studying

All Application Observability and Maintenance setsAll Application Observability and Maintenance questionsCKAD Practice Hub