While preparing for the CNCF’s CKAD or CKA certification, there could be numerous doubts, which exam to appear first, what resources to refer to, what common mistakes to avoid, etc..
Especially, if you don’t have previous knowledge or hands-on experience with Kubernetes, this could be a tough situation to be in. At InfraCloud, engineers are highly encouraged to appear for these exams and get certified. This blog post is a collaborative effort from the recently certified Infranauts to share all the insights straight from - before registering for the exam to the next steps after clearing the exam successfully.
With around 50% developers CKA and CKAD certified, we share our experiences, study material, Do’s and Dont’s, FAQ, etc. about the exam. If you’re willing to start your journey in Kubernetes and are aiming to be certified, you will find this blog helpful.
Shall we begin then?
First things first! Before thinking of CKA or CKAD, having knowledge of Kubernetes basics is crucial. If you’re a complete newbie and do not know what on earth is Kubernetes? It is highly recommended to get familiar with the basic concepts of Kubernetes before you book your exam dates.
If you’re starting out your journey into the cloud native and Kubernetes world, you can opt for Kubernetes For The Absolute Beginner - Hands On by Mumshad Mannambeth course to get yourself comfortable with the basics of Kubernetes.
Although one might still get confused about which exam one should go for first - CKA or CKAD? Is CKA harden than CKAD? And what is the exact difference in terms of exam curriculum and the difficulty level of both exams? To keep things simple, you can look at it this way:
Some of us started digging deeper over the internet and eventually find out that CKAD is broadly a subset of CKA. A few Infranauts decided to prepare for CKAD first and then for CKA, as they were ultimately aiming to gain all the possible knowledge around Kubernetes. It eventually turned out to be the right decision as CKAD also helped them improve speed and muscle memory over Kubernetes commands, which is critical for both exams. This helped them a lot in the CKA exam as most of us managed to complete almost all questions with 20-30 mins still left with us to solve the only couple of complex questions that had been flagged and skipped for later.
Many Infranauts have taken the CKAD course by Mumshad Mannambeth available on Udemy. After clearing CKAD with that course, some of us also opted for another CKA course for the CKA certification. The primary reason to go through these courses was the number of recommendations it had from the community. Few of the certified Infranauts had also watched a few of his videos on YouTube and always found it easy to follow. So yes, these courses are highly recommended to anyone planning to get CKA / CKAD certified.
As you might guess, this is not the only course in the market - there are plenty of them. Study materials are available in other formats like blogs, GitHub Repos, YouTube videos containing different scenario-based practice questions/answers. You may choose at your own will like this one that some of us followed from Medium for the CKAD exam. You should also check out the video by Harshit Singhvi on exam experience and tips on YouTube.
At the end of the day, what matters the most is how much time you spend practicing different scenarios. We can’t emphasize enough how important the labs are. Irrespective of the course you take, they all have labs and mock tests. Don’t skip any of them. They are all equally important.
Don’t get trapped into registering the exam date six months in advance and then start the actual study. If you’re not fully prepared by the time nearing your exam date, you might get nervous and feel to postpone the exam to study more and more. This cycle never ends.
The most obvious one - practice, practice, and some more practice.
Don’t overwhelm yourself with an alias for everything.
The exam clusters are set up with
kubeadm
mostly in the Ubuntu environment.$ alias k='kubectl'
$ source <(kubectl completion bash)
$ echo "source <(kubectl completion bash)" >> ~/.bashrc
$ complete -F __start_kubectl k
Here is a nonextensive list of commands that you will definitely need during practice or exam:
# list running processes
$ ps -aux
# search for string in the output
$ ps -aux | grep -i 'string'
# search for multiple expressions in the output (exp can be plain a string too)
$ ps -aux | grep -e 'exp-one' -e 'exp-two'
# get details about network interfaces
$ ifconfig
# list network interfaces and their IP address
$ ip a
# get the route details
$ ip r
# check service status and also show logs
$ systemctl status kubelet
# restart a service
$ systemctl restart kubelet
# reload the service daemon, if you changed the service file
$ systemctl daemon reload
# detailed logs of the service
$ journalctl -u kubelet
# list out ports, protocol and what processes are listening on those ports
$ netstat -tunlp
You can book the exams from Linux Foundation page.
CKAD exam experience
On the exam day, try to log in 15 minutes before the exam. Proctor will make sure to follow their process to check your ID proof as well as room, your desk. The entire process should normally take 15-20 minutes or more, but don’t panic as the proctor will only start the exam after all the verification process is complete and you’re comfortable to start the exam. CKAD exam questions are comparatively quite straightforward, but it would be a race against time, as some of the questions will contain many Kubernetes objects creation and if you fail to create any, would take more time to debug and understand them.
CKA exam experience
The exam experience was a little rollercoaster ride for some of us, as we lost internet connection almost 4-5 times during the exam. Each time after the connection reset, we made sure that previous work is not lost by checking the answers to some of the previously solved questions. Proctor typically makes sure to hold your exam (to avoid time loss) and stop the timer and resume it once your connection is restored. But this whole experience can make you nervous during and after the exam (with a nightmare of all work might be lost, resulting in failure). Few of us had practiced enough, so we were able to solve 14-15 out of 17 questions in 1.5 hours and spend the rest of almost 30 minutes to try to solve the 2-3 questions which we initially found challenging and had marked (and parked) to solve later.
Some of the questions which crossed our minds while preparing (apart from the ones available on the official FAQ page of the Linux Foundation).
1) Can I use dual monitors in the exam?
Yes, we are allowed to use dual monitors
2) Can I bookmarks link and use them during the exam?
Yes, we are allowed to use them as long as they are referring to official Kubernetes documentation allowed for the exam
3) When would the result be out after the exam?
Results are typically out after the exact 24 hours of your examination but can get delayed till 36 hours in some cases. In case of delay, you can raise a support ticket for the same.
4) Does our work remains saved in case of internet connectivity loss?
Yes, your work gets autosaved at frequent intervals.
5) Who evaluates the CKA / CKAD / CKS exams? Humans or bots?
Automated scripts most probably evaluate them.
6) What should I be more prepared for if I get failed in my 1st attempt?
Focus on solving all the questions and scenarios that you had found difficult in 1st attempt and the topic you found the first time during your exam.
7) Whom to reach out in case of any challenges faced during the exam?
You can raise a support ticket for the same.
8) What is the best time to book the CKA and CKAD exams?
Once you’re able to solve all the labs and mock tests in less than 40-45 minutes, consider you’re ready for the exam. You can also book them using the discounts available (up to 50%) during the KubeCon event and Black Friday or Cyber Monday deal sale from Linux Foundation.
9) What is the duration of the exam?
Both CKA and CKAD exams are of 2 hours once you start the exam (excluding the time required for identity verification with the proctor before you start the exam).
10) How many questions does CKAD or CKA exam contain?
Both CKA and CKAD contain 17-19 questions (approximately).
11) What is the minimum or maximum weightage of any question in the exam?
Questions’ weightage varies from 2% to 13% based on the work required to solve them.
12) Is a digital watch available on the exam console?
Yes, a progress bar available on the top-left corner of your exam console.
13) Do we need to be more fluent in jsonpath syntax without any external website reference during the exam?
You can practice/focus on the JSON expressions captured as part of the cheat sheet, but don’t spend too much time mastering JSON expressions from an exam perspective.
14) Are exam questions as difficult as one available on the killer.sh simulator?
Personally, many of us felt the actual exam was comparatively easier than Killer.sh simulator.
Practice and prepare well :)
Bookmark
Import the Kubernetes official documentation bookmark into your chrome/any browser as it will help you search required topics faster during the exam.
https://github.com/reetasingh/CKAD-Bookmarks
Go through the below articles at least once before the exam, as they contain some of the tricky topics from CKA exam perspective.
Resize a PVC
Kubernetes Volume Basics: emptyDir and PersistentVolume
Sidecar containers
Ingress
Network policy
CKAD exercises Repo
K8s Practice Training Repo
KodeKloud
Killer.sh (Now available with exam registration)
Though one finds the Kubernetes exams comparatively hard as these are practical exams, if you practice enough and take note of the above points, you can clear them easily; irrespective of whether you have had previous experience with Kubernetes or not.
We hope this helps you plan and prepare better for the CKA and CKAD certification exam. We will be happy to answer any other questions.
We hope the article was useful. Feel free to drop us a line or share your exam experiences with any one of the authors:
Ninad Desai, Gaurav Gahlot, Yatish Sharma, Jaiganesh Karthikeyan, and Dhruv Mewada.
All the best folks :)