Tips and tricks in preparing yourself for a Certified Kubernetes Application Developer exam.
Lately I've been receiving many requests on sharing useful tips to CKAD exam preparation. Below are several ones which I've ordered from MOST significant to LEAST significant in order of importance.
The most difficult part of the exam is the time constraint. You are given 2 hours to solve 19 questions that are quite lengthy. Here are the tips that help you use time more wisely:
Every question has a different weight. The exam gives you the possibility to flag any question and come back to it later at any time - use it. My advice is to solve the easiest questions before going full-speed to the hardest ones. Personally, I followed 2 simple rules:
Note that a simulation environment (embedded CLI) will be provided. That means you won't have any shortcuts. The first thing to do is to quickly add few important aliases to ~/.bashrc. You do that - you save a significant amount of time. Here are the ones I used:
Certainly, you can add more, but mind the time tracker! If you ask me, the first two is already enough to hit the ground running.
It's all about time. And the time it takes to create a kubernetes object in a declarative way is ridiculous. Here is the golden rule:
DON'T WRITE YAML FILES FROM SCRATCH - USE IMPERATIVES!
Open book exam means you have one open tab for the official K8s documentation. At first, it can seem like a very useless exam supplement (k8s docs look like a black hole), but if you know where to find what, it can truly give you a good advantage.
I used the documentation just once, and just because I was ridiculously lazy to manually write nodeAffinity in the Pod's def file. I guess what I am trying to say here is:
DO NOT USE THE OFFICIAL K8 DOCUMENTATION - UNLESS YOU KNOW THE EXACT LOCATION OF WHAT YOU NEED.
Hence, my tip is to ONLY use K8s docs when preparing for CKAD exam. No stack overflow or other resources, especially during debugging.
You will be provided with an embedded Notepad. You can use it wisely, i.e. note down the question number and its weightage in case you want to skip it. Doing this will help you to prioritize questions that are left unsolved in the end.
During my preparation, I've composed a Kubernetes cheat sheet that significantly helped me in making the exam score over 90%.
The first cheat sheet is about creating stuff in Kubernetes cluster. Here, note that both imperative and declarative commands are present. The former one saves a lot of time.
The second cheat sheet is about exploring, adjusting or deleting stuff that are already present in Kubernetes cluster.
You can also download full PDF here.