Last week I appeared for Certified Kubernetes Application Developer (CKAD) exam and after 36 hours I got my result as pass. It was an incredible journey since I started learning Kubernetes around 5 weeks ago. This blog post will feature about how I prepared myself for CKAD, tips and tricks, and more.
I had zero knowledge about Kubernetes before I started learning for the CKAD. If I can do it, you can also successfully clear CKAD exam.
Table of Contents
What is Certified Kubernetes Application Developer?
From the Linux Foundation excerpt
The Certified Kubernetes Application Developer exam certifies that users can design, build, configure, and expose cloud native applications for Kubernetes.
Cost of the certification is $300. Often there will be promotions from the Linux Foundation where you can buy the exam for about ~$250.
Become a Certified Kubernetes Application Developer (CKAD)!
Certified Kubernetes Application Developer – NaveenKumar Namachivayam
How had I prepared for CKAD?
CKAD is not like other typical exam where you will select the correct answer from the options, it is 100% pure hands-on. You will be given scenarios to deploy pods, deployments, fix the issue etc. My exam was quite challenging.
I was able to attend all the questions and had some spare time to review my answers once more. Couple questions I was not able to give 100% correct answer, but I never gave up till the last minute.
As I mentioned I had zero knowledge about Kubernetes. All the Kubernetes terms were aliens to me.
To get started, I subscribed to the following:
- Linux Academy
- For practice https://github.com/dgkanatsios/CKAD-exercises
Before I started watching the CKAD course materials, I completed the following courses:
- Kubernetes for Beginners in KodeKloud
- JSON PATH Quiz in KodeKloud
- Vim course in Linux Academy
Above courses will give you the speed which will help you in the actual exam.
If you are new to containers world, I suggest you watch Docker for the Absolute Beginner – Hands On from KodeKloud.
I watched CKAD course from Kode Kloud and Linux Academy just once at 1.5x speed. I had spent at least couple of hours daily in watching the videos and trying out the sample exercises.
Linux Academy has a Playground feature where you can spin up couple cloud instances to practice the Kubernetes challenges. But Kode Kloud has Katacoda environment which is not useful as the Linux Academy Playground.
But KodeKloud CKAD course has lots of questions to practice around. Linux Academy is limited in terms of practice questions and its complexity.
I also practiced these CKAD exercises at least thrice before my exam https://github.com/dgkanatsios/CKAD-exercises.
Above exercises helps you to be agile using imperative commands.
The success mantra is
speed… speed… speed
practice… practice… practice
Tips and Tricks
- Watch KodeKloud and Linux Academy CKAD course videos at least once at 1.5x speed
- Practice the lab exercises at least thrice. Even if you are too good at it, repeat it. E.g. in Kode Kloud there is an exercise to deploy WordPress website. For the first time it took me 40 minutes, second time it took me 20 minutes. Third time I used imperative commands which took me around ~10 minutes.
- Practice the CKAD GitHub exercises at least thrice.
- Never create yaml during the exam manually. Use –dry-run=client command to generate and edit the config.
- Practice vim editor shortcuts. Make sure you know how to copy and paste, search and replace, save, and quit.
- Use auto complete for kubectl commands in the exam. I never used alias in the exam. But if you like it you can set it to k to save time.
Important Notes and the Exam Tips
- You need to be fast in the exam.
- Book the exam time slot one day ahead
- Choose the time that you are active. I took the exam from 7.00 PM to 09.00 PM EST.
- The online proctor will scrutinize the exam room
- I was told to remove the watch and the label in the water bottle
- Use the latest version of Chrome
- Make sure no one is using the internet bandwidth in your home/office
- Make sure no one is entering into the room during the exam
- You will be monitored via video and audio feed
- You can open only one extra tab to surf through the Kubernetes documentation during the exam
- You can request for the break, but the timer will not stop
- Exam terminal will display the questions at the left side and the console at the right.
- There will be a copy button for the key text like the image name, deployment name etc.
- Make sure you change the context for every question, even if you are in the right context
- Always flag the question to come back later
- Immediately after the exam started, I configured the auto complete and make sure it is fine. Then I opened Kubernetes documentation and kept it aside.
- I started answering the questions which are small and concise.
- I flagged all the questions which has large paragraphs
- After answering each question, I validated the output
- If you are taking more time to one question, just flag it and move on the next question.
- Use the imperative commands only in the exam. If you are creating yaml config manually then you will not be able to complete all the questions.
- Below are the frequently used commands, of course there are more
- kubectl get po
- kubectl get deploy
- kubectl get cm
- kubectl get svc
- kubectl get ns
- kubectl get secrets
- kubectl run nginx –image=nginx –restart=Never
- kubectl create deployment redis –image=redis
- kubectl create service my-service clusterip –tcp=80:80
- kubectl create namespace mydev
- kubectl delete po –force –graceful-period=0
- kubectl delete deployment redis
- kubectl delete cm my-configmap
- In few instances you need to SSH into the worker node, make sure you come out of it once you are done with the tasks.
- Read the question at least twice to understand better.
- Before creating any object, make sure you are using the correct name, image, namespace, version etc.
- Do not type critical information manually, make use of copy button in the question.
- I used Kubernetes documentation to create persistent volume, persistent claim and for cron job. It is important to know how to search and get the relevant info from the docs. In the exam, do not rely on the help completely for all the questions.
- If you are using Windows, make sure you turn off Typing suggestions. Go to Settings > Devices > Typing and toggle off all the options.
Windows Typing Settings for CKAD/CKA
I am planning to appear for CKA (Certified Kubernetes Administrator) once 2020 version is live. I am wishing you the best for your exam. Please let me know if you have any questions.