Background
A few days back, I cleared the Certified Kubernetes Administrator (CKA) certification. This was on the second attempt that I managed to clear the exam. It is the best online certification exam I have answered so far. This post is about my experience with the exam and how to prepare for it. I also share some information that might be helpful during the exam itself.
Exam Curriculum
The exam is completely hands on. There are no multiple choice questions. We are given a set of 6 different Kubernetes clusters. Each cluster has a different configuration and the questions are related to administering the Kubernetes environment. There are five different broad areas which are assessed as shown below. These include
- Storage 10%
- Troubleshooting 30%
- Workloads & Scheduling 15%
- Cluster Architecture, Installation & Configuration 25%
- Services & Networking 20%
The exam is conducted by Linux Foundation in collaboration with Cloud Native Computing Foundation (CNCF). You can find out more about the exam on the Linux Foundation training website.
References for exam preparation
I like to use multiple resources while preparing for any certifications. For CKA as well I referred to multiple sources of information. Here is a quick list of different references I used.
Kubernetes docs
We are allowed to refer to the Kubernetes docs during the exam. It is like an open book test. The following links are helpful for getting started with Kubernetes and understanding the different concepts.
- Kubernetes docs - https://kubernetes.io/docs/home/
- Kubernetes.io tasks - https://kubernetes.io/docs/tasks/
- kubectl cheatsheet - https://kubernetes.io/docs/reference/kubectl/cheatsheet/
Learning course
Along with the Kubernetes docs, I supplemented the knowledge by registering for the eLearning course. There are many courses available online. Almost every eLearning platform will have one or more course related to the CKA exam preparation. Some also offer mock test. I took the CKA exam plus the Kubernetes fundamentals bundle from Linux foundation.
The Certified Kubernetes Administratr (CKA) with practice tests on Udemy by Mumshad Mannambeth is also one of the most popular courses.
Github Repos
Here is a list of Github repositories I found useful
- Shubham Tatvamasi CKA - https://github.com/ShubhamTatvamasi/cka
- Walid Shaari Kuberentes Certified Administrator - https://github.com/walidshaari/Kubernetes-Certified-Administrator
- Nilesh Gule CKA prep - https://github.com/NileshGule/cka-prep
- Denny Zhang kubectl cheatsheet - https://github.com/dennyzhang/cheatsheet-kubernetes-A4
- Ahmet Alp Balkan Kubernetes network policy recipes - https://github.com/ahmetb/kubernetes-network-policy-recipes
Blogs
These blog posts provide useful tips for preparation as well as exam
- Be fast with kubectl - https://faun.pub/be-fast-with-kubectl-1-18-ckad-cka-31be00acc443
- How to nail Kubernetes certification exams - https://www.infoworld.com/article/3631108/how-to-nail-the-kubernetes-certification-exams.html
- Codefresh Kubernetes cheatsheet - https://codefresh.io/kubernetes-tutorial/kubernetes-cheat-sheet/
- CKA practical challenge series - https://levelup.gitconnected.com/kubernetes-cka-example-questions-practical-challenge-86318d85b4d
- Rudi Martinsen CKA resources - https://rudimartinsen.com/cka-resources/
Tips
Watch out for discounts
You will find discounts during Black Friday, Cyber Monday, Christmas, New Year, Diwali, Eid etc. Make use of these discounts on learning courses as well as the actual test.
Learn Imperative commands
Due to the time limit of 2 hours, you need to be quick in finishing the tasks related to completing the exam. While you can copy and paste yaml from the Kubernetes documentation, editing it could take some time. The test will have specific requirements like naming Kubernetes objects with specific names and deploying them to a specific namespace. Usually, Kubernetes docs will deploy the objects in default namespace. It will save you quite some time if you know how to work with imperative commands. The output of these commands can be piped to yaml files and then you can make the required modifications instead of handcrafting the complete yaml from scratch.
Learn basic vi or nano editor commands
The test environment is Linux based. If you are coming from Windows background like me, you need to be familiar with vi or nano code editors. Be familiar with editing files and command like deleting lines of code, navigating to specific lines, updating a word, saving files etc.
Practice, Practice, practice
Whoever has cleared the CKA, CKAD or CKS exams will tell you that practice is the most important part of exam preparation. If you don't know how to administer the Kubernetes cluster there is no way you are going to clear this test. There could be multiple ways of achieving the same task. You need to find the one which is the most time efficient.
Bookmark specific links
Bookmarking the links from Kubernetes documentation is helpful to find the resource quickly. Instead of bookmarking the top level pages, I recommend bookmarking specific sections to avoid scrolling through the lengthy page looking for information.
Practice exam
If you book the Kubernetes related certification exam after June 2021, you will have access to the practice exam from Killer.sh. This exam gives you two attempts at the same test. The environment is available for 36 hours and answers along with a detailed explanation of the steps is provided to help you prepare better for real test.
Tips during the exam
- Use external monitor (recommended)
- Enable kubectl autocompletion
- create aliases
- Update vimrc / editor profile
- Time management
- use copy feature instead of typing
- use the notepad feature to make quick notes
- flag questions for review
- don't spend too much time on a single question
- verify solution after task completion
All the topics mentioned in this post are explained in more detail in the Youtube video.
Conclusion
CKA certification is meant to gauge the skills of a Kubernetes administrator. If you do not know how to administer the Kubernetes cluster, this certification is not for you. Practice well before taking the exam. There are 17 questions with different weights. Hope this post is helpful for those preparing for the exam in future.
Until next time, Code with Passion and Strive for Excellence.
No comments:
Post a Comment