Tips and Tricks to Pass Certified Kubernetes Application (CKA) Exam
DevOps with love.
Certified Kubernetes Administrator.
I also enjoy riding a motorcycle.
Kubernetes is the most popular orchestration tool globally, and the CNCF (Cloud Native Computing Foundation) CKA exam is the most popular exam to check your skills in the k8s world. The CKA it's a first step in the k8s certification way.
CKA exam isn't hard, but some questions are critical to understanding. That's why mock questions could help you. I have compiled a list of valuable tips to pass the Certified Kubernetes Administrator exam.
Tips Before You Go to the Exam
Learn a lot - practice, practice, and practice.
You shouldn't just know the basic concepts; you should know where to find a particular case in the official documentation.
- Study the official cheat sheet page well. There are a lot of commands used in the exam. You should know them.
- Create useful bookmarks for quick access to specific information. It's handy to use these bookmarks in your mock tests. Here are my top bookmarks. Feel free to import these to your browser.
- You will have only ~6 minutes on each question. Practice a lot yourself to complete them within the time limit. Ideally, you should spend ~5 minutes to complete each question and ~ 1 minute to verify yourself and resolve the issues if it is necessary.
- Create a predefined list table with all questions (16-20). It's useful to understand:
- How many questions completed?
- Which question has more weight?
- How many scores you have (a score of at least 66% was required to pass)? Here's the template:
- # A question number.
Individual weightage of questions.
Sum of your question scores.
Are you sure about your answer? If not, you shouldn't add to the total score. Deal with it again at the end of the paper if you've enough time.
#| weight | total score | correct (+ or -)
1 6 6 | +
2 3 9 | -
3 3 12 |
4 3 15 |
5 6 21 |
6 6 27 |
7 3 30 |
8 3 33 |
9 6 39 |
10 6 45 |
11 6 51 |
12 6 57 |
13 6 63 |
14 6 69 |
15 6 75 |
16 2 77 |
17 6 83 |
18 6 89 |
19 5 94 |
20 6 100 |
- The tmux is not useful because you should change the k8s context for each task, and when you have two terminals, you may forget to change the context in one of the terminals.
- Use the alias only if it is necessary. Here are the aliases from the official cheat sheet page. You can create one with dry-run:
alias kdr='kubectl run --dry-run=client -o yaml'
Then you can use it to create a new pod template like this:
kdr --image=nignx > pod.yaml
- Remember the flag combinations for the 'run imperative' command to generate yaml for different objects quickly.
- Learn the vi editor very well.
- You should know how to read Linux system logs and get the correct information via pipes.
- Sometimes the JSONPath can be useful (I didn't use this option before).
- Do not skip the official docs like FAQs.
- Attempt the Kubernetes The Hard Way Quiz by Kelsey Hightower.
Helpful Tips During the Exam
Don't worry. Panic has not helped anyone yet; focus and just do the same thing as during the practice.
- Go through all the questions and note the weightage for each in your notepad.
- Start with questions that have a higher weightage.
- Before you answer the question, take a little time to understand it.
- Recheck the attempt.
- Pay attention to the time you have left and the time you spent on each question.
- Use the imperative commands, it's a faster way.
- Use abbreviated resource names instead of a whole name:
k get ns # for namespaces
k get deploy # for deployments
k get pv # for persistentvolumes
k get pvc # for persistentvolumeclaims
k get svc # for services
k get no # for nodes
k get po # for pods
Note: You can check other abbreviates using kubectl api-resources.
I passed my first CNCF exam recently. It was useful to my company and myself. It helped reinforcement of my knowledge and learning a few new tricks. However, getting the certification is one thing; knowledge of the Kubernetes is another. The certification way is not for everyone. Also, the exam costs $300.
Good luck with your CKA exam! Remember, practice makes perfect. Believe in yourself, practice more, and you will succeed. No pain, no gain.
I tried hard not to share any private exam content from the CKA exam. If some data/content is wrong or should be removed, please email me at email@example.com or message on LinkedIn.
Join Hacker Noon
Create your free account to unlock your custom reading experience.