Certified Kubernetes Application Developer (CKAD) Exam (CKAD) - Linux Foundation

Exam Questions

94%

Students found the real exam almost the same

1,057

Students passed this exam after ExamsQA Prep

95.1%

Average score during Real Exams at the Testing Centre

💡

Browse at least 50% questions to maximize your chances of passing

Free Preview Questions

Sample CKAD Exam Questions & Explanations

Practice with real question formats, multiple choice options, and detailed answer explanations for Linux Foundation CKAD.

Question #1 Verified Q&A
Task A web application requires a specific version of redis to be used as a cache.<br />
<br />
• Use the Ifccncf/redis image with the 3.2 tag<br />
<br />
• Expose port 6379<br />
<br />
<img src="https://examsqa.com/storage/question-images/certified-kubernetes-application-developer-ckad-exam-ckad_page_2_Im3.jpg" alt="Exhibit" style="max-width: 100%; height: auto;" /><br />
<br />
<img src="https://examsqa.com/storage/question-images/certified-kubernetes-application-developer-ckad-exam-ckad_page_2_Im4.jpg" alt="Exhibit" style="max-width: 100%; height: auto;" /><br />
<br />
Create a pod with the following characteristics, and leave it running when complete:<br />
<br />
• The pod must run in the web namespace.<br />
<br />
• The name of the pod should be cache<br />
The namespace has already been created<br />
[student@node-1] $ | kubectl<br />
Config use-context k8s<br />
<br />
Set Configuration Context: Context SIMULATION solution below.
Explanation:
Solution:
Question #2 Verified Q&A
Task<br />
<br />
<img src="https://examsqa.com/storage/question-images/certified-kubernetes-application-developer-ckad-exam-ckad_page_3_Im5.jpg" alt="Exhibit" style="max-width: 100%; height: auto;" /><br />
<br />
<img src="https://examsqa.com/storage/question-images/certified-kubernetes-application-developer-ckad-exam-ckad_page_3_Im6.jpg" alt="Exhibit" style="max-width: 100%; height: auto;" /><br />
<br />
<img src="https://examsqa.com/storage/question-images/certified-kubernetes-application-developer-ckad-exam-ckad_page_4_Im7.jpg" alt="Exhibit" style="max-width: 100%; height: auto;" /><br />
<br />
<img src="https://examsqa.com/storage/question-images/certified-kubernetes-application-developer-ckad-exam-ckad_page_4_Im8.jpg" alt="Exhibit" style="max-width: 100%; height: auto;" /><br />
<br />
You are tasked to create a secret and consume the secret in a pod using environment variables as environment variable inside the pod<br />
<br />
• Start an nginx pod named nginx-secret using container image nginx, and add an environment<br />
follow:<br />
<br />
• Create a secret named another-secret with a key/value pair; key1/value4<br />
variable exposing the value of the secret key key 1, using COOL_VARIABLE as the name for the Context SIMULATION solution below.
Explanation:
Solution: nn Readme >_ Web Terminal apiVeraion: v1 kind: Pod netadate: run: nginx-secret nate: nginx-secret<br />
<br />
- inage: nginx<br />
nane: nginx-accret env:<br />
<br />
- naxe: COOL VARIABLE<br />
valuofrom: key: keyll Ca Readme › Web Terminal<br />
atudent@node-1:~$ vin nginx secret.yzl<br />
studentênode-1:-$ kubectl creato -€ nginx_secret.yal<br />
pod/nginx-secret created<br />
atudent@nodo-1:~$ kubectl get pods<br />
RESZARTS liveness-http 1/1 Running 1/1 Running nginx-secret 0/1 ContainerCreating PoLLes 1/1 0<br />
atudent@node-1:-$ kubectl get poda<br />
RESTARTS liveneas-http 1/1 Running 6h38m nginx-101 1/1 Running 0639 nginx-secret 1/1 Running 8s poller 1/1 Running
Question #3 Verified Q&A
O THELINUX FOUNDATION 16,20 6h39= Task<br />
<br />
<img src="https://examsqa.com/storage/question-images/certified-kubernetes-application-developer-ckad-exam-ckad_page_5_Im9.jpg" alt="Exhibit" style="max-width: 100%; height: auto;" /><br />
<br />
<img src="https://examsqa.com/storage/question-images/certified-kubernetes-application-developer-ckad-exam-ckad_page_5_Im10.jpg" alt="Exhibit" style="max-width: 100%; height: auto;" /><br />
<br />
<img src="https://examsqa.com/storage/question-images/certified-kubernetes-application-developer-ckad-exam-ckad_page_6_Im11.jpg" alt="Exhibit" style="max-width: 100%; height: auto;" /><br />
<br />
• Create a pod named nginx-resources in the pod-resources namespace that requests a minimum of<br />
<br />
• The pod should use the nginx image<br />
<br />
<img src="https://examsqa.com/storage/question-images/certified-kubernetes-application-developer-ckad-exam-ckad_page_6_Im12.jpg" alt="Exhibit" style="max-width: 100%; height: auto;" /><br />
<br />
<img src="https://examsqa.com/storage/question-images/certified-kubernetes-application-developer-ckad-exam-ckad_page_6_Im13.jpg" alt="Exhibit" style="max-width: 100%; height: auto;" /><br />
<br />
<img src="https://examsqa.com/storage/question-images/certified-kubernetes-application-developer-ckad-exam-ckad_page_7_Im14.jpg" alt="Exhibit" style="max-width: 100%; height: auto;" /><br />
<br />
<img src="https://examsqa.com/storage/question-images/certified-kubernetes-application-developer-ckad-exam-ckad_page_7_Im15.jpg" alt="Exhibit" style="max-width: 100%; height: auto;" /><br />
<br />
• The pod-resources namespace has already been created<br />
scheduled to-a node that has those resources available.<br />
<br />
•THELINUX FOUNDATION<br />
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.
Explanation:
Solution: nn Readme >_ Web Terminal Boivozaion: v1 kind: Pod creationtimeatamp: nuli tun: nginx-resources nanesgace: pod-resources<br />
<br />
- image: nginx<br />
nano: nginx-reaourcea dnaPolicy: ClusterFirat reatartfolicy: Alwaya "nginx_resourcos.yml" 16L, 289C mn Readme >_ Web Terminal apiVezaion: v1 ocolhca mun: nainx-resources nane: nginx-resources mamospacon pod zobouzcod inage: nginx паю: подах кезоиксез LOCUOBLE cpu:200m<br />
<br />
-- INSERT --<br />
n Readme >_ Web Terminal<br />
atudent@node-1i~$ kubect1 run nginx-reaourcea -n pod-reaourcea --inage=nginx --dry-run=elient -o-<br />
yanl > nginx_reaources.yml student@node-1:~§ vim nginx_resources.yal atudent@node-1i-kubecti create -g nginx_feaourcea.yal Error: unknown shorthand flag: "g' in "g<br />
<br />
See 'kubectl create -help' for usage.<br />
atudent@nodo-1i-$ kuboctl create -É nginx reaources-yal<br />
роди дених сосе crcated<br />
atudent@node-1i+$ kubectl get pods -a pod-zel<br />
OTHE LINUX FOUNDATION 1,1 A11<br />
<br />
•THELINUX FOUNDATION<br />
15,22 Al1 -<br />
<br />
•I THE LINUX FOUNDATION
Question #4 Verified Q&A
Task<br />
<br />
<img src="https://examsqa.com/storage/question-images/certified-kubernetes-application-developer-ckad-exam-ckad_page_8_Im16.jpg" alt="Exhibit" style="max-width: 100%; height: auto;" /><br />
<br />
<img src="https://examsqa.com/storage/question-images/certified-kubernetes-application-developer-ckad-exam-ckad_page_8_Im17.jpg" alt="Exhibit" style="max-width: 100%; height: auto;" /><br />
<br />
<img src="https://examsqa.com/storage/question-images/certified-kubernetes-application-developer-ckad-exam-ckad_page_9_Im18.jpg" alt="Exhibit" style="max-width: 100%; height: auto;" /><br />
<br />
<img src="https://examsqa.com/storage/question-images/certified-kubernetes-application-developer-ckad-exam-ckad_page_9_Im19.jpg" alt="Exhibit" style="max-width: 100%; height: auto;" /><br />
<br />
• Create a ConfigMap named another-config containing the key/value pair: key4/value3<br />
<br />
<img src="https://examsqa.com/storage/question-images/certified-kubernetes-application-developer-ckad-exam-ckad_page_9_Im20.jpg" alt="Exhibit" style="max-width: 100%; height: auto;" /><br />
<br />
<img src="https://examsqa.com/storage/question-images/certified-kubernetes-application-developer-ckad-exam-ckad_page_10_Im21.jpg" alt="Exhibit" style="max-width: 100%; height: auto;" /><br />
<br />
<img src="https://examsqa.com/storage/question-images/certified-kubernetes-application-developer-ckad-exam-ckad_page_10_Im22.jpg" alt="Exhibit" style="max-width: 100%; height: auto;" /><br />
<br />
• start a pod named nginx-configmap containing a single container using the<br />
You are tasked to create a ConfigMap and consume the ConfigMap in a pod using a volume mount. nginx image, and mount the key you just created into the pod under directory /also/a/path<br />
<br />
Please complete the following: Context SIMULATION solution below.
Explanation:
Solution:<br />
confignap another-config --trom-literal=keyf=value3<br />
confignap/another-config created<br />
studentênode-1:~$ kubect} get configrap<br />
DATA AGE another-config<br />
student@node-1:+$ kubectl run nginx-confignap --image-nginx --dry-run=client - yani > ngin conf<br />
ignap. yal student@node-1:~5 vin ngin_configmap-yal ^C<br />
student@node-1:-$ mr ngin_confignap-yal nginx_confignap-yal<br />
student@node-li-S vin nginx_co_<br />
<br />
* Readme ›_ Web Terminal •THELINUX FOUNDATION<br />
PoiVersion: el metadate: labels: run: nginx-confignap name: nginx-confignap opec: containers: nane: nginx-confignap antholic: Castortil restartfolicy: Always "nginx_confignap-ymi* 15i, 262C A11 mn Readme >_ Web Terminal •THELINUX FOUNDATION apiVezalon: vi kind: Pod netadata: run: nginx-confignap nase: nginx-confignap эрос: name: nginx-configsap outPath: /also/a/path<br />
<br />
- nane: myvol<br />
confi gMap: nase: another-config 13,6 A11<br />
atudent@nodo-1t-$ kubectl create confignap another-config --froa-literal=koyf=value3<br />
confignap/another-config created<br />
atudent@node-1:~$ kubectl get confignap<br />
NAME DAZA another-config<br />
atudent@node-li-S kubecti run nginx-confignap --isage=nginx --dry-run=client -o yaml » ngin_cont<br />
ignap. yml<br />
student@node-1:-$ vin ngin_confignap-yml ^C<br />
student@node-1:-$ av ngin confignap-yal nginx_confignap. yal<br />
atudent@node-1:-$ vin nginx_confignap.yal<br />
student@node-1:-51<br />
atudent@node-1:-$ kubect] run nginx-configeap --izagenginx --dry-runsclient - yaml > ngin_conf<br />
igmap. yal student8node-1:-5 via ngin_confignap-yal "C atudent node-Li-say ngin_configrap-yal nginx_configaap.yal student@node-1i-s via nginx_confignap.yal student@node-1: -5 kubecti create Enginx_confignap. yal Error: muat apecify one of -f and -k error: unknown command "Enginx_configmap-yal-<br />
<br />
See 'kubectl create -h' foz holp and examplea<br />
studentênode-1:-$ kubect create -{ nginx_configaap-yal<br />
<br />
• these errors, turn validation off with --validate-false<br />
student node-li-s vin nginx_confignap. yal |
Question #5 Verified Q&A
Task Your application’s namespace requires a specific service account to be used.<br />
<br />
<img src="https://examsqa.com/storage/question-images/certified-kubernetes-application-developer-ckad-exam-ckad_page_11_Im23.jpg" alt="Exhibit" style="max-width: 100%; height: auto;" /><br />
<br />
<img src="https://examsqa.com/storage/question-images/certified-kubernetes-application-developer-ckad-exam-ckad_page_11_Im24.jpg" alt="Exhibit" style="max-width: 100%; height: auto;" /><br />
<br />
Update the app-a deployment in the production namespace to run as the restrictedservice service<br />
account. The service account has already been created. Context SIMULATION solution below.
Explanation:
Solution:

Want to practice all 48 questions?

Practice under real exam conditions with instant grading, timed simulations, and community insights.

Start Full CKAD Practice Test

Frequently Asked Questions

Common questions about the Linux Foundation CKAD certification practice test

How many questions are in the Linux Foundation CKAD practice exam on ExamsQA?
Our CKAD (Certified Kubernetes Application Developer (CKAD) Exam) practice question bank currently includes 48 verified questions with comprehensive explanations.
Are the CKAD exam practice questions up to date for 2026?
Yes, all Linux Foundation CKAD practice questions are regularly updated and verified against current exam objectives.
Will the CKAD practice questions help me pass on my first attempt?
The CKAD (Certified Kubernetes Application Developer (CKAD) Exam) question bank is built to mirror the real exam's format and topics, with detailed explanations for every answer so you understand the reasoning — not just memorize responses.
Is there a free demo available for CKAD Certified Kubernetes Application Developer (CKAD) Exam?
Yes, ExamsQA offers free demo questions for the CKAD exam so you can test the interface and question quality before purchasing full access.