7.5 tips to help you ace the Certified Kubernetes Administrator (CKA) exam

Kubernetes is one of the hottest technologies at the moment and showing off your skills is only going to boost the chances of recruiters and potential employers taking notice of your CV.

But what if you want to go one step further and really showcase that you’re the Kubernetes legend that you claim to be? In my opinion, one of the most important traits of a good techie is humility. There will always be stuff you don’t know, there will always be people who know more about a subject than you. Always.

When I work with a new tech, I’m incredibly mindful of the Dunning-Kruger effect. I know immediately upon getting excited about something that there’ll be tons of stuff in the universe for that technology that I’m going to be unaware of. If I turn up at an interview and claim to be an expert, how do I know that they won’t ask me about the 10% of Kubernetes that I haven’t touched yet?

Maybe I’m just a bit of an anxious, nervous wreck of a man.

I like to fill in those gaps and prove to potential employers, and to myself, that I am actually fairly decent at this stuff. I do this by certifications, and in the world of Kubernetes, a good baseline is the Kubernetes Certified Administrator (CKA).

Exam Format

Before I give you my best advice for passing the exam, a small amount about the exam itself.

  • It’s 3 hours long
  • 24 questions
  • Pass mark is 74%
  • Completely practical, no theory
  • All on the command line
  • You take the exam at home,
    • on your own computer.
  • Clear your desk of everything
    • Drinks, books, pens, cuddly toys.
  • You can have 2 browser tabs open
    1. The actual exam
    2. The official Kubernetes docs site
  • Questions are visibly weighted
    • with a percentage
  • The harder the question, the more points

The exam is remotely proctored by the CNCF. They record your desktop, and you through your webcam and microphone for the duration of the exam.

Tip #1 – Know your Kubernetes objects

This sounds really rudimentary, but what are the building blocks to consider when deploying an application to Kubernetes? Containers? Pods? Jobs? Replica Sets? Daemon Sets? Deployments? Services? Secrets? Config Maps? Volumes?

Can you create any of these on the CLI from zero, perhaps with a little assistance from the docs? For this you’ll need a tool. What do you think it could be? Read on!

Tip #2 – Get really, really comfortable with kubectl

In my opinion, the exam could be renamed to the kubectl certified administrator. You’ll use kubectl extensively in every question to build, edit or debug items in your cluster.

Use the cheat sheet from the Kubernetes documentation to prove to yourself that you’re ready. Do you understand all of the examples?

One of the first things I do when I use kubectl on a new laptop is to set up bash completion, it can really speed you up. I did it in the exam too.

source <(kubectl completion bash)

Tip #3 – Start every question with an example from the docs and update it to answer your question

Question about Pods? Go to the Pods page and copy a Pod definition to get you started.

Question about Services? Go to the Services page and copy a Service definition to get you started.

Question abou…. no, I’ll leave it there, you get the picture.

Tip #3.5 – Learn to create the Kubernetes objects FAST

Alternatively to the last point, try this pattern to get yourself the base objects that you can augment to answer the questions…

Tip #4 – Have a small amount of knowledge of how to SysAdmin a Kubernetes cluster

Know what the components are and how to assess their health. We’re talking systemctl, journalctl and the small number of derivative commands to stop/start services and look at logs.

This exam tests you as a Kubernetes Admin, not a SysAdmin. You should know how to scratch the surface with these commands, you don’t need to be an expert.

Tip #5 – Use the docs site search functionality. A lot.

Time is of the essence. You’re going to need to find stuff quick. You can only have 1 tab open for the docs, make good use of it.

Tip #6 – Prioritise your questions

74% is a funny pass rate. It’s probably designed to get you to get 17 of the 20 easy ones correct and 2 of the 4 hard ones correct, or something like that.

 

Each question has a number of % points visible so for example.

I’d suggest that you take the following approach.

Read through all of the questions and make a note of the weight of each question using the integrated notepad.

Then decide a strategy.

Either complete all of the low pointed easy ones to build your confidence up. Or, do the hard ones first to get all of those points under your belt.

Tip #7 – Do Kubernetes The Hard Way

And then do it again.

And again.

And then get your family members to ask you questions about it.

Thank you, Kelsey.

From this, you’ll touch things that you’ll never touch when you’re doing day to day cluster admin. Such as, setting up SSL between nodes, firewall rules between nodes and master, interacting with etcd using etcdctl.

About the Author

This is a guest post by Graham Moore, a senior DevOps and certified AWS architect who has worked on contracts for numerous high profile technology companies in and around London. Add him on LinkedIn if you’d like to discuss cloud consulting projects.

Related

The Kubedex second update. In the first update I said I'd do a list of things. In summary, I mostly succeeded. …

Read more

This is part 1 of a 2 part blog where we look at Kubernetes cluster creation times on Azure AKS and Google GKE. In this…

Read more

I bought the Kubedex.com domain on the 5th of September and quickly got to work on the website. Today marks a full 7…

Read more

Tell us about a new Kubernetes application

Newsletter

Never miss a thing! Sign up for our newsletter to stay updated.

About

Discover and learn about everything Kubernetes

Navigation
Follow