Skip to main content

Command Palette

Search for a command to run...

CKA Exam Prep Tips

Updated
โ€ข3 min read
CKA Exam Prep Tips
J

Welcome to my blog where I share a few more words! No Artificial Intelligence (AI) form is harmed when writing my posts ;-) All mistakes are due to the simple and non-artificial nature of my own human mind.

I passed my CKA exam about a week back and it was such a great learning experience. There are no shortcuts for this one ๐Ÿ˜Š. Hard work and practice is the only way. However we can be smart in certain areas that helps us to be more efficient.

Having my own local cluster to play around was very useful. I had an old server that I ended up using for this purpose. I did a separate post about how to setup a 3 node cluster using Proxmox, Terraform and Ansible.

There are ton of other posts, videos explaining lots of useful tips. I don't think it's worth repeating the same. However below are some of the things that I ended up using during my exam.

Documentation Bookmarks

It is best to invest some time and prepare your own set of K8 documentation bookmarks during the studies. This will be invaluable during the exam and knowing where things are is the key to efficiently find the required information within few seconds.
When bookmarking sub topics, make sure to hover over the topic to display the link icon at the end of the sub topic. The sub topics usually look like below.

When hover the mouse over a sub topic, it displays a direct link to that sub topic itself. This is what we should book mark instead of the entire page. Look for the dynamic link icon at the end of the sub topics of your choice.

Below is my set of book marks before the exam. I knew exactly where to look for anything. So build your own! ๐Ÿฆพ

image.png

In case you need a baseline to build your own, import my bookmarks from this gist.

Working with Vi(m)

Take few minutes to update ~/.vimrc with followings and do source ~/.vimrc . Don't think you are wasting any time here, you will save a lot of time during the exam by doing this.

  • set tabstop=2

  • set softtabstop=2

  • set shiftwidth=2

  • set expandtab

  • set autoindent

  • set smartindent

When copy + paste from documentations, make sure to enable paste mode on vi using :set paste and hit return. Otherwise your content would look like this

vim-01.png

If there are tabs and other characters, you will get an error like this.

error: error parsing maptest.yaml: error converting YAML to JSON: yaml: line 9: found a tab character that violates indentation

If this happens, use :set list to show special characters.

You will see something like this.

vim-02.png

Now use :retab to convert all the tabs to spaces. Make sure to save the file using :x ( yeah, that is a neat shortcut for :wq )

Happy learning ๐Ÿ˜Š๐Ÿ‘

D

can you send me you exact bookmarks you used for the exam

1
J

Hi Debayo, Thanks for stopping by and I hope these tips are halpful to you.

I can certainly export the bookmarks and send it over. However I would strongly advise to make your own bookmarks as you go through your prep work. This way, you would know exactly where to look when you are under time pressure of the exam.

Cheers, Jay

D

Jayanath Amaranayake

Hi thank you. I understand what you are saying i am currently studying would just use yours as a base and add or remove as needed . Thanks again for your help email is debayograham@gmail.com

J

Hi Debayo Graham

No worries at all.

I added a github gist with the bookmarks. https://gist.github.com/jayanath/76b2718db71229b4b84bf1daee02d5a4

Have a look and let me know how it goes.

Cheers, Jay

D

Jayanath Amaranayake awesome. thanks again