Certified Kubernetes Application Developer (CKAD) Exam (CKAD) - Linux Foundation Exam Questions
Last updated on June 20, 2026
[candidate@base] $ ssh ckad00021
Task
Create a Cronjob named grep that executes a Pod running the following single container: name: busybox image: busybox:stable command: ["grep", "
-i", "nameserv
er", "/etc/resolv.conf"]
Configure the CronJob to: execute Once every 30 minutes keep 96 completed Job keep 192 failed Job never restart pods terminate pods after 8 seconds Manually create and execute once job named grep-test from the grep Cronjob
to join the discussion
No discussions yet. Be the first to ask!
Delete Comment
Are you sure? This action cannot be undone.
• Mounts a shared volume /tmp/log on both containers, which does not persist when the pod
• includes a sidecar Ifccncf/fluentd:v0.12 container, named adapter-zen
provided at /opt/KDMC00102/fluentd-configma p.yaml , and mount that ConfigMap to /fluentd/etc Given a container that writes a log file in format A and a container that converts log files from format A to format B, create a deployment that runs both containers such that the log files from the first container are converted by the second container, emitting logs in format B.
• Includes a primary
• Instructs the logger-dev
container to run the command


• The adapter-zen sidecar container should read /tmp/log/input.log and output the data to
/tmp/log/output.* in Fluentd JSON format. Note that no knowledge of Fluentd is required to in the adapter-zen sidecar container



• Create a deployment named deployment-xyz in the default namespace, that:


Task: which should output logs to /tmp/log/input.log in plain text format, with example values: complete this task: all you will need to achieve this is to create the ConfigMap from the spec file lfccncf/busybox:1 container, named logger-dev SIMULATION solution below.
to join the discussion
No discussions yet. Be the first to ask!
Delete Comment
Are you sure? This action cannot be undone.



• Create a pod named nginx-resources in the pod-resources namespace that requests a minimum of
• The pod should use the nginx image




• The pod-resources namespace has already been created
scheduled to-a node that has those resources available.
•THELINUX FOUNDATION
200m CPU and 1Gi memory for its container AGE 6h38m You are required to create a pod that requests a certain amount of CPU and memory, so it gets 45 SIMULATION solution below.
to join the discussion
No discussions yet. Be the first to ask!
Delete Comment
Are you sure? This action cannot be undone.
• The application has an endpoint, /started, that will indicate if it can accept traffic by returning an
• The application has another endpoint /healthz that will indicate if the application is still working as
responsive.

A pod is running on the cluster but it is not responding. The desired behavior is to have Kubemetes restart the pod when an endpoint returns an HTTP 500 on the /healthz endpoint. The service, probe-pod, should never send traffic to the pod while it is failing.
• Configure the probe-pod pod provided to use these endpoints
HTTP 200. If the endpoint returns an HTTP 500, the application has not yet finished initialization. expected by returning an HTTP 200. If the endpoint returns an HTTP 500 the application is no longer
• The probes should use port 8080
[student@node-1] $ | kubectl
Config use-context k8s
Set Configuration Context:
Please complete the following: Context SIMULATION solution below.
to join the discussion
No discussions yet. Be the first to ask!
Delete Comment
Are you sure? This action cannot be undone.
• is mapped to me pods defined by the specification of kdsn00l01-deployment
Start with the deployment named kdsn00101-deployment which has already been deployed to the namespace kdsn00101 . Edit it to:
Next, create ana deploy in namespace kdsn00l01 a service that accomplishes the following:
• Exposes the service on TCP port 8080
Task You have been tasked with scaling an existing deployment for availability, and creating a service to the service definition
• Have 4 replicas





expose the deployment within your infrastructure.
• Has a name of cherry
• Is of type NodePort
Context SIMULATION solution below.
to join the discussion
No discussions yet. Be the first to ask!
Delete Comment
Are you sure? This action cannot be undone.
Finish Practice?
Are you sure you want to finish? This will end your practice session.