How I prepared & passed the Certified Kubernetes Administrator (CKA) Exam

mehyedes profile image Mehdi Yedes Originally published at myedes.io on ใƒป9 min read

How I prepared & passed the Certified Kubernetes Administrator (CKA) Exam

Finishing the year as a Certified Kubernetes Administrator(CKA) was my personal goal for 2019, and I was able to take the exam around the end of the year and pass with a score of 91%. ๐ŸŽ‰

In this blog post, I wanted to share some useful resources that helped me pass the CKA exam, and a few tips that can help you prepare and hopefully pass if you are also planning to take it.

DISCLAIMER: This post is a bit long because I tried to dump all the knowledge and experience I gathered when preparing for the CKA exam. So brace yourself ๐Ÿ˜€

The Certified Kubernetes Administrator Exam

With the exploding adoption of Kubernetes, the Certified Kubernetes Administrator program was created by the Cloud Native Computing Foundation(CNCF) in collaboration with the Linux Foundation to allow Kubernetes users to demonstrate that they have the necessary skills and knowledge to perform the tasks and responsibilities of a Kubernetes administrator.

The exam's format

The good thing about it is that it's 100% hands-on. It's an online proctored exam where you are asked to perform certain tasks on the command line.

The Candidate Handbook is your definitive source for any details about the exam. So make sure to read it thoroughly.

Here is a short list of points worth mentioning:

  • You need a steady internet connection.
  • You would need a webcam and a microphone which are required by the proctor.
  • You would need a government issued ID , or a passport.
  • The exam consists of 24 questions that you can solve in no specific order.
  • The duration of the exam is 3 hours.
  • The pass mark is 74%.
  • You need to use the Chrome browser.
  • You have one free retake in case you don't pass on your first try ๐ŸŽ‰

The curriculum

Unlike the Certified Kubernetes Application Developer(CKAD) exam, the CKA exam focuses more on cluster administration rather than deploying and managing applications on Kubernetes.

The exam's curriculum is usually updated quarterly, you can always find the latest version on Github at cncf/curriculum.

The CKA exam covers the following topics:

  • Application Lifecycle Management โ€“ 8%
  • Installation, Configuration & Validation โ€“ 12%
  • Core Concepts โ€“ 19%
  • Networking โ€“ 11%
  • Scheduling โ€“ 5%
  • Security โ€“ 12%
  • Cluster Maintenance โ€“ 11%
  • Logging / Monitoring โ€“ 5%
  • Storage โ€“ 7%
  • Troubleshooting โ€“ 10%

The exam environment

The day of the exam, you will have multiple cluster presented for you, and with each question you will be provided with name of the cluster where you should try to solve the question.

Below is the list of the clusters provided to the candidate from the latest Exam Tips document available at the CKA CNCF page at the time of writing this post:

Cluster Members CNI Description
k8s 1 master, 2 workers flannel k8s cluster
hk8s 1 master, 2 workers calico k8s cluster
bk8s 1 master, 1 worker flannel k8s cluster
wk8s 1 master, 2 workers flannel k8s cluster
ek8s 1 master, 2 workers flannel k8s cluster
ik8s 1 master, 1 base node loopback k8s cluster - missing worker node

The Kubernetes version running on the exam environment is currently v1.16 at the time of writing this post, and the Linux distribution is Ubuntu 16.

Preparing for the exam

The first step in preparing for the CKA exam(or any exam) is understanding what it is about.

So make sure to read all the documents provided in the CKA Program page at https://www.cncf.io/certification/cka/ :


Although the CKA exam is about Kubernetes, it also requires some basic sysadmin skills. So, you need be comfortable with the Linux command line and have a minimum knowledge on how to use the following tools:

  • systemd for managing system services. Basic knowledge would be enough IMHO, but very important especially for troubleshooting cluster components. There is a nice tutorial series for that provided by the DigitalOcean people: Systemd Essentials: Working with Services, Units, and the Journal

  • vim for editing files on the command line. Although you could change the default text editor by setting the value of $EDITOR to nano if that's what you are most comfortable with, vim can give you a productive boost during the exam.

  • tmux since you only get one console during the exam, being able to have multiple panes open at the same time might be helpful. Personally, I didn't really need or use tmux during the exam, so if you don't use it already in your day to day work, I don't recommend learning it for the sake of the exam.

  • openssl for generating keys, CSRs, certificates etc.. You will probably need it during the exam for security related questions. So make sure you train yourself to use it at least for those basic use cases.

Getting ready for the exam

In this section, I am going to provide some tips on how to prepare for the exam and also list some useful resources that helped me and might help you get fit for the exam day.


Since the CKA exam is 100% practical, you need to make sure you are confident enough with kubectl. That's mostly what you will be using during the exam, and since you are already reading this post, chances are you are already using kubectl or at least experimenting with it.

You need to be quick on the command line since you will have limited time for solving the questions during the exam, so knowing how to perform the following quickly with kubectl is crucial:

  • Checking the config, switching and creating contexts
  • Creating, editing and deleting kubernetes resources
  • Viewing, finding and inspecting resources
  • Updating and patching resources
  • Interacting with pods, nodes and cluster

A lot of useful kubectl command examples can be found in the kubectl cheatsheet available in the official kubernetes documentation.

It is also very useful to know how to use the kubectl run command to create resources quickly, saving time by avoiding to write yaml files(who likes that, right?). You can also use it to generate yaml files if you need to edit something before actually creating the kubernetes object by using the --dry-run and the -o yaml options combined. Some details about the kubectl run usage can be found here.

If you come from the Docker world and still starting with Kubernetes, then the kubectl for Docker Users documentation page is definitely worth checking out.

Getting familiar with JSONPath template would be also helpful. Combining kubectl and jsonpath enables you to easily extract resource information in a format that you can specify.

Finally, make sure to practice a lot with kubectl, whether it is on local kubernetes clusters with minikube, docker-desktop or on the cloud. That is very crucial for the exam.

Learning resources

If you are planning to take the CKA exam, them you probably have already searched around the internet for some resources and found plenty. So in this section, I am only going to list the resources that I have found most informative and helpful for me to pass the exam.

The Kubernetes Documentation

The most important resource is the official kubernetes documentation; that's your definitive source of information. And since you are allowed to access it during the exam, it's really important that you know how to easily navigate it and quickly search for what you need. Make sure to get well accustomed to it.

Also, make sure you get to do most if not all of the tasks listed here.

It's really useful to join the kubernetes slack community at https://slack.k8s.io/. There is a slack channel dedicated to CKA exam questions named #cka-exam-prep.

The members there are really nice and helpful and would answer any questions you have.

Kubernetes The Hard Way(KTHW)

The kubernetes-the-hard-way repo was created by Kelsey Hightower to provide a guide for bootstrapping a Kubernetes cluster on Google Cloud Platform. It helps you understand the internals of a Kubernetes cluster, which would be really important especially for troubleshooting.

Make sure to go through it at least once while trying to understand every step on the way.

If you don't want to use GCP, there is another fork that relies on vagrant and can be found here:

Bootstrap Kubernetes the hard way on Vagrant on Local Machine. No scripts.

Online Courses

There are a couple of online course available that can help you prepare for the CKA exam.

I was able to try 3 of them while preparing for the exam:

  • Kubernetes Fundamentals (LFS258) which was part of the CKA exam bundle I purchased. I only liked the practice labs, otherwise the course was very boring and you'd better read the kubernetes documentation rather than reading slides. So IMHO totally not worth taking.
  • Linuxacademy: Cloud Native Certified Kubernetes Administrator (CKA): I found this course really good at first. However, after a while I found myself watching the instructor mostly typing commands in the terminal so I got disconnected and stopped following the course. I also tried the mock exams, but I found them a bit limited.
  • Udemy: Certified Kubernetes Administrator (CKA) with Practice Tests This was the most comprehensive course for me in this list. It covered all the topics, and the instructor made sure to explain all the Kubernetes concepts(and also other concepts) thouroughly. The practice labs are really good since you are provided with an environment and your answers are checked there automatically. The mock exams were also a great preparation for the exam. I cannot recommend this course enough!

Additional Resources

The Kubernetes in Action book by Marko Lukลกa is definitely worth reading to have a good understanding of Kubernetes.

There is a google spreadsheet created by the community that compiles a lot of useful resources that can be found here.

Some additional useful Github repositories:

Tips for the exam day

In this section, I am going to provide a few tips for the day of the exam:

  • You are allowed to open one additional browser tab in addition to the exam interface and you can use it to browse the kubernetes documentation. Bookmarks are also allowed, so make sure to create some bookmarks in chromes for the documentation sections that you think you would need in the exam beforehand.
  • You don't have to solve the questions in a specific order. So you can start with the easiest to build some confidence, but that's a matter of personal preference.
  • There is built-in notepad in the exam interface which might be handy since you're not allowed to write on paper during the exam. You can use it to write the questions' numbers so that you keep track of the ones you didn't solve and get back to them later.
  • If you are taking the exam with a laptop, use an external monitor if your laptop screen is tiny. You would need all the space you can get for the terminal.
  • Make sure to go to the restroom before starting the exam. During the 3 hours, you would only be able to take a break if your proctor allows it but the timer would never stop for you.
  • Have some water in a bottle without a label, or a transparent glass. Anything other than that is not allowed.
  • Take the exam in a quiet room, on a clean desk. Remove any electronics from the desk and make sure that absolutely no one enters the room during the exam. You will be asked by the proctor to show him around the room using the webcam.
  • Finally: GOOD LUCK!


In this post, I tried to provide some tips and resources for preparing the CKA exam based on my experience.

I hope this article would be useful for you and please let me know in the comments if it somehow helped you to pass the exam.

This post was originally published at: https://myedes.io/cka-exam-tips/

Posted on by:


markdown guide