How to prepare and pass Certified Kubernetes Administrator(CKA) exam

General information

Educational materials

Practical advice

  1. Make the most of the official documentation. Sometimes the exam will turn into a copy-paste, but you are limited in time and this is the easiest way to solve the task.
    2. At the beginning of the exam, be sure to write down the question number and its “weight” in the built-in Notepad (which is just awful by the way). I thus perfectly understood what issues I decide. I read about the various tactics of exam solution: difficult questions then easy questions and vice versa. Maybe you don't need to start with difficult issues because you can spend a lot of time and do not solve anything in the end. In my case I carried out the questions in order, those that were incomprehensible to me, missed and returned at the end of the exam.
    3. You should be well versed in the Linux console commands — grep, systemctl, journalctl (with its options) The exam will have tasks in which you need to view the logs of the Kubernetes components, find the error and fix it. For journalctl I used the “-l”, “-no-pager” options but this question is up to you.
    You must be able to view the status of services, restart them, stop, etc. I supported this question with the article DigitalOcean
    4. Be sure to switch the kubectl context to the cluster being used.
    5. Working with kubectl for almost 80% of the successful passing of the exam. You need to quickly and accurately execute various commands. Alternatively you can use command aliases, for example, kgp=kubectl get pods, kgd=kubectl get deployments. Of course, I made them and … never used it because I was in too much of a hurry 😆
    6. Be sure to use kubectl with the -oyaml --dry-run options. When creating various Kubernetes objects, this will save you a lot of time.
    7. Learn well JSONPath. On the one hand the questions are quite simple, but I spent an inadmissible long time on one of them. In the course of Mumshad this issue is dealt with in some detail.
    8. The exam will be a question related to DNS and remember the following: in DNS Pod name is not the Hostname, but the IP address separated by hyphens. For example, 10–1–1–1.default.pod.cluster.local. This question is dealt with in Mumshad in lectures 147, 148, 149.
    9. Make the entire output of various commands to the host to which you have switched context when performing the Task. Do not save the output of commands in the file system Pod. I made exactly this mistake.
    10. If the Tasks says to create a Pod make it exactly but not Deployments. From my point of view, one of the simplest methods is a command of type kubectl run nginx --image=nginx --restart=Never. Again this is your choice
    11. Be sure to study the Kubectl Cheat Sheet and follow all the commands that are there. They will be very useful in the exam.
    12. Carefully study the topic of Static Pods, this will help you very well when troubleshooting the non-working Kubernetes components.
    13. TLS Bootstrapping. From my point of view the most voluminous question on the exam. It seemed to me more difficult than Mumshad described in his course and in the practical tests.
    14. I will not talk about each Kubernetes object, but you definitely need an understanding of Pods, Static Pods, Deployments (creation, update, scaling), DaemonSets, Service (Expose), Volume / Persistent Volume

Conclusion

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

[Unity] Always Be Linear: Shader-Based Gamma Correction

Abstract Classes and Methods

Converting Java to ObjC: J2ObjC

WEB2 VS WEB3

Algo is where Indian Market will Go?

How Continuous Testing Advances Your Business Goals — DevOps.com

You Can Know More about MemoryFoam https://t.co/i2l6LeR7OK

Server-side user account verification with a text message and a one-time password.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Vladimir Belousov

Vladimir Belousov

More from Medium

What and Why is Kubernetes?

Certified Kubernetes Administrator Recap

Containers are becoming increasingly important for midsize businesses, thanks to Kubernetes

Rolling Updates and Rollbacks in Kubernetes