Author: InfraCloud Team (Platinum Sponsor, KCD Chennai 2022)
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?
CKA vs CKAD certification! Which one should I take first?
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.
What about CKS?
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.
Study material
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.
Mistakes to avoid
- 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.
- Even if you started late, don't be inconsistent with your study. One would study one day and skip for another two days. Don't do that. Be consistent and stick to a schedule.
- Do NOT skip labs. One might get trapped thinking it would be nice to go through all the lectures at once and then come back to labs. Nope, not a good idea!
- Completing a course is one thing. But you won't know how much you understand until you take the mock tests. So don't avoid taking them until you're left with last 3-4 days to study.
- Don't keep postponing till the last day of validity of your particular exam voucher. If you delay it till the last day of voucher, and if you couldn't clear the exam on the first attempt, you'll leave no retake option. So, prepare, practice, and appear for the exam at least a week before the last date.
Do's for CKA, CKAD and CKS Certification
- The most obvious one - practice, practice, and some more practice.
- Make it a habit to take a lecture and do the lab that follows with it.
- If possible, complete the courses first, and when you think you are ready for the exam, go ahead and apply for the certification. This gives you a year after you have completed the course. It is enough time to test your skills.
- The discussions in the Slack forum of KodeKloud CKA and CKAD group also helped us play and try different variety of questions/scenarios during preparation. So, keep an eye on it. Plus, feel free to seek suggestions from the forum in case of any doubts.
- Practice with complete commands instead of binding an
alias
for like everything. - In each mock test, try to complete the test 15 min before the deadline. This gives you time to revisit the questions.
- Monitor your time as you practice.
- Do the labs and mock tests repeatedly (at least three times). Identify what is slowing you down and plan accordingly.
- On the day of the exam, make sure to clean your desk and not have anything (apart from a transparent water bottle).
- On the exam day, keep an alternative internet source handy in case of Wi-Fi internet goes down (trust me, it happens more than you believe)
- In the exam, if you analyze that any particular question is going to take more than 6-7 mins to solve, flag/mark it to solve for later and come back once you solve the rest.
Don'ts for CKA, CKAD and CKS Certification
- Don't overwhelm yourself with an
alias
for everything. - Don't panic if you are stuck; simply flag/mark the particular question and move ahead. You can always come back to it later.
- Don't give the exam on the last day (like many folks do).
- At the time of the exam, other than your system, don't have anything on the table.
- Don't overkill yourself with Kubernetes the Hard Way unless you have time.
- Don't ignore the candidate handbook. Read it and follow the instructions.
Final tips & tricks
- The exam clusters are set up with
kubeadm
mostly in the Ubuntu environment. - Do check out the CKA and CKAD or CKS environment details and practice accordingly.
- Try to use auto-completion while running Kubernetes commands. It will be much more helpful and effective in the exam.
- Here is how you can set up the auto-completion:
$ alias k='kubectl'
$ source <(kubectl completion bash)
$ echo "source <(kubectl completion bash)" >> ~/.bashrc
$ complete -F __start_kubectl k
- The above commands can be found in the kubectl cheat sheet.
- And, yes you can use them (some of us have used them ourselves), as they are listed in the docs.
- As you do your labs, you must search the docs. Especially for resources like PV, PVC, Ingress, RBAC resources etc.
- This trains your brain to remember the correct links, in case you need to refer to the docs during the exam. Saves a lot of time.
- If you have time during preparation, take both the courses CKA and CKAD. This will surely help.
- Get familiar with
vi
orvim
. We're not sure ifnano
will be available, so prefervi
orvim
. GNU Emacs can be installed usingemacs-nox
package, but the usual key bindings likeC-p
,C-n
don't work inside most of the browsers. - You don't need
tmux
orscreen
, if you have saved your aliases or other bash settings in~/.bashrc
. - Get used to pasting text using the mouse middle/center key. The mouse secondary key doesn't work in the exam environment.
Useful commands
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
How to book the CKA, CKAD and CKS exams?
You can book the exams from Linux Foundation page.
Exam experience
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 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.
CKS exam experience
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.
FAQs for the CKA, CKAD and CKS Certification
Some of the questions which crossed our minds while preparing (apart from the ones available on the official FAQ page of the Linux Foundation).
Can I use dual monitors in the exam?
Yes, we are allowed to use dual monitorsCan 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 examWhen 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.Does our work remains saved in case of internet connectivity loss?
Yes, your work gets autosaved at frequent intervals.Who evaluates the CKA / CKAD / CKS exams? Humans or bots?
Automated scripts most probably evaluate them.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.Whom to reach out in case of any challenges faced during the exam?
You can raise a support ticket for the same.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.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).How many questions does CKAD / CKA / CKS exam contain?
All three contains 15-20 questions (approximately).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.Is a digital watch available on the exam console?
Yes, a progress bar available on the top-left corner of your exam console.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.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.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 :)
Reference links to useful materials:
Bookmark
Import the Kubernetes official documentation bookmark into your chrome/any browser as it will help you search required topics faster during the exam.
Recommended articles before 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.
- Resize a PVC
- Kubernetes Volume Basics: emptyDir and PersistentVolume
- Sidecar containers
- Ingress
- Network policy
Practice material
- CKAD exercises Repo
- K8s Practice Training Repo
- KodeKloud
- Killer.sh (Now available with exam registration)
Conclusion
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.
All the very best folks :)
PS: We’re always thrilled to see our colleagues become great at something, customers build wildly successful products from scratch and igniting opportunities for the community. If you would like to work with the brightest minds in the cloud native space, we’re hiring and do check our open positions.
Top comments (4)
Very informative content for CKA preparation. I also created a dedicated course on Udemy for CKA exam and more than 1k+ people get benefited
My CKA Course
Thanks For Sharing your experience...
I did pass the CKS Exam, however. I provide some exam advice and my experience. Sample questions are accessible on the Linux Foundation website. Download them and use them as inspiration.
Man, this is a gem! 💎
Excellent post! Thanks a lot!