Certified Kubernetes Administrator (CKA) Exam Experience Sharing and Question Examples
Certified Kubernetes Administrator (CKA) program is to provide the assurance to Kubernetes administrators/Service provider with qualified skills and knowledge. If company would like to become a Kubernetes Certified Service Provider (KCSP), It’s required to have at least three employee who pass the CKA exam.
In addition, If you would like to take the Certified Kubernetes Security Specialist (CKS) for securing container-based applications best practices, the CKA certification is pre-required before the CKS.
In this article, I would like to share the kubernetes certificate exam experience and questions examples.
There are total 15–20 questions with 120 mins for CKA exam. For my experience, I took 17 questions with skipped 1 question (7 scores) that not able to finish. In general, the questions are not too difficult but I think it’s still harder than the CKAD exam and need better time control.
For some exam tips, you can refer below article that I summarized when passed CKAD. What I can add more is — Keep your yaml file for validation
I use kubectl --dry-run=client > q1.yaml
to keep all questions’ yaml file in local, once I finished the exam, I can quickly switch the contexts with different cluster to validate the result and modify easily. It help me a lot and let me able to find one mistake during the exam.
Materials
There are some materials I used for preparing CKA exam.
Kubernetes Fundamentals Training Course
This course was provided by Linux Foundation when purchased exam. I went through the training twice before attend the exam. https://training.linuxfoundation.org/training/kubernetes-fundamentals/
Udemy Course
In this course, It covered both training video and hands on lab with practice tests (Kubernetes v1.19). You can use the lab to familiar the question pattern and the commands.
Kubectl Cheatsheet
It’s highly suggest to go through all commands at least once before the exam, it would help you to become more familiar of some frequent-use command and be easier to find the answer during the exam.
Questions Examples
Q. Perform the etcd backup and then restore
ETCD Backup & Restorehttps://kubernetes.io/docs/tasks/administer-cluster/configure-upgrade-etcd/
Q. Assign pod to specific node
Using node selector and label in yaml https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/nodeSelector:
Key: Value
Q. Let the pod can be accessed only from specific namespace and port
Setup network policy to allow the traffichttps://kubernetes.io/docs/concepts/services-networking/network-policies/
Q. Get the error log from specific pod
Kubectl logs POD_NAME | grep INFO
Hope it can help, if you would like to take the CKA exam! :)