How I passed the CKA (Certified Kubernetes Administrator) exam?

2020-08-03 kubernetes

Overview

If you are here is because somehow you are interested to study and prepare for the CKA so I would like to share with you my first thoughts when I was reading other articles of “How I passed CKA exam?”, as a Developer with 8+ years of experience with 2 years in DevOps, I was thinking about the authors:

Is this guy writing all these as Sysadmin background or developer?

This was because I was in doubt If I had to go for the Developer or Administrator exam. I saw the topics for the Developer and pretty much where all the tasks that I have been doing by that time for the last year or so, for example: Create Deployment, StatefulSets, Configmaps, Volume, Service Accounts, Services, etc, so I decided to take the challenge a step ahead as a Developer and deal with the Kubernetes Control Plane which I enjoyed learning about. So in resume: If you are a developer don’t run away from the Administrator exam If you have some experience already, If you are doing it from scratch and because you want to learn Kubernetes then go for Developer exam.

My experience on the exam:

I cleared the Exam with 9.4, you have 3 hours, I feel is enough time, I finished the exam in about 2 hours and 15 minutes, then I had 45 minutes to review ALL the answers, so I did, this is very important, I found I solved a question in the wrong namespace, also I marked a question which was taking too much time and was the first one, I didn’t feel confident at the moment with the UI, the system, so I marked to review later, then with calm, I could manage to solve it and correct the one I did in the wrong namespace, so my advice is to use all the time you have, don’t waste it, take your time to review what you did in case you have remaining minutes, you might save some points, who knows.

Let’s get to the point!

What are the tips?

These are all the tips I can give it to you:

  • Learn docker in and out, If you are just starting don’t get rush in Kubernetes, first sharp your self with Docker:
    • -> Understand some basic knowledge of Docker networking, mapping ports, network host, bridge, etc.
    • -> Understand volumes in Docker, how to persist data in your containers
    • -> Learn about command, entrypoint, args, environment variables in Deployments.
    • -> I can’t recommend you enough this course: Udemy course If you are new on this, take so many times until you start to feel very comfortable with every topic.
    • -> I see in other post people use a lot “alias”, honestly I didn’t feel like I needed it, after practicing a lot type “kubectl” was no an issue to me.
    • -> Have in mind the command “nslookup”
    • -> Master the kubectl command, and the different kind of outputs, json, yaml, etc.
    • -> Read and learn JSONPath
    • -> Learn vim, at least it basics: search, delete lines, and save the file.
    • -> kubectl edit …, it might very useful
    • -> I did kubernetes the hard way only once, I think it gives you a solid understanding how it works the architecture of K8, I read some guys did it four times, at least for the exam I would not agree is that needed.