While preparing for the CNCF’s CKAD, CKA or CKS certification, there could be numerous doubts, which exam to appear first, what resources to refer to, what are 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, CKAD and CKS 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 harder 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:
CKAD is for those interested in the design, build & configuration of cloud native applications using Kubernetes.
While CKA exam is mainly for those, who want to build, manage the Kubernetes infrastructure.
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.
If you are someone who is done with CKA, and want to explore security aspect of running Kubernetes, then CKS is for you. Most of us who gave CKS, have been working with Kubernetes for a while. It is better if you work with Kubernetes for a while (6 months or so) after your CKA and then plan for CKS. That way you get used to basics learned in CKA, and can easily apply those in CKS.
CKS also covers a couple other tools from CNCF ecosystem other than just Kubernetes. It is a good challenge to take up, as it involves modifying Kubernetes component flags, audit logging, Falco, Trivy, and many more. So, go for it even if you have been using Kubernetes for 2+ years like few of us.
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 his 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 or CKS 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.
For CKS, we found the Kubernetes CKS 2021 Complete Course - Theory - Practice to be really useful. It covers all the concepts really well with relevant tasks to complete along the way. The lab setup given by them works fine on local virtual machines created using KVM + virt-manager as well.
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.
alias
for like everything.alias
for everything.kubeadm
mostly in the Ubuntu environment.$ alias k='kubectl'
$ source <(kubectl completion bash)
$ echo "source <(kubectl completion bash)" >> ~/.bashrc
$ complete -F __start_kubectl k
vi
or vim
.
We’re not sure if nano
will be available, so prefer vi
or vim
. GNU Emacs can be installed using emacs-nox
package, but the usual key bindings like C-p
, C-n
don’t work inside most of the browsers.tmux
or screen
, if you have saved your aliases or other bash settings in ~/.bashrc
.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.
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.
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 answers of 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.
The exam was a fun challenge to go through. Similar to CKA, you need to be quick while solving the questions. You might need to modify the configuration of Kubernetes components or other tools. Then ensure that they are up and running after the modification. Some of us also took backup of the configuration files before modifying them to ensure any mistakes. We had to read the question carefully, evaluate whether we need to access any specific node, and then proceed. We had to refer to the Kubernetes documentation a bit more than one would need for CKA exam.
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 be 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, CKAD and CKS 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 time required for identity verification with proctor before you start the exam).
10) How many questions does CKAD / CKA / CKS exam contain? All three contains 15-20 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 on 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.
15) My CKA certificate is expiring soon, when should I give CKS? Your CKA certificate should be valid at the time you are giving CKS exam. So, by considering the two attempts you get for the exam, you should schedule the CKS exam at least 2 weeks before the CKA expires.
Practice and prepare well :)
Import the Kubernetes official documentation bookmark into your chrome/any browser as it will help you search required topics faster during the exam.
Go through the below articles at least once before the exam, as they contain some of the tricky topics from CKA exam perspective.
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, CKAD and CKS 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, Bhavin Gandhi, Mahendra Bagul.
All the very best folks :)