
Question 1 - Create a new pod called web-pod with image busybox Allow the pod to be able to set system_time. The container should sleep for 3200 seconds
Question 2 - Create a new deployment called myproject, with image nginx:1.16 and 1 replica. Next upgrade the deployment to version 1.17 using rolling update. Make sure that the version upgrade is recorded in the resource annotation.
Question 5 - Create a static pod on node01 called static-pod with image nginx and you have to make sure that it is recreated/restarted automatically in case of any failure happens
Question 4 - Deploy a web-nginx pod using the nginx:1.17 image with the labels set to tier=web-app.
Question 3 - Create a new deployment called my-deployment. Scale the deployment to 3 replicas. Make sure desired number of pod always running.
Question 8 - Get the node node01 in JSON format and store it in a file at ./node-info.json
Question 7 - Create a pod called test-pod in "custom" namespace belonging to the test environment (env=test) and backend tier (tier=backend). image: nginx:1.17
Question 6 - Create a pod called pod-multi with two containers, as given below: Container 1 - name: container1, image: nginx Container2 - name: container2, image: busybox, command: sleep 4800
Question 11 - Worker Node “node01” not responding, Debug the issue and fix it.
Question 10 - Create a Persistent Volume with the given specification. Volume Name: pv-demo Storage:100Mi Access modes: ReadWriteMany Host Path: /pv/host-data
Question 9 - Use JSON PATH query to retrieve the oslmages of all the nodes and store it in a file “all-nodes-os-info.txt” at root location. Note: The osImage are under the nodeInfo section under status of each node.
Question 12 - Upgrade the Cluster (Master and worker Node) from 1.18.0 to 1.19.0. Make sure to first drain both Node and make it available after upgrade.
Question 13 - Take a backup of the ETCD database and save it to “/opt/etcd-backup.db” . Also restore the ETCD database from the backup
Question 14 - Create a new user “ajeet”. Grant him access to the cluster. User “ajeet” should have permission to create, list, get, update and delete pods. The private key exists at location: /root/ajeet/.key and csr at /root/ajeet.csr
Question 15 - Create a Nginx pod dns-resolver using image nginx, expose it internally with a aservice called dns-resolver-service. Check if service name is resolvable from within the cluster. Use the image busybox:1.28 for dns lookup Save the result in /root/nginx.svc
Question 16 - A pod “appychip” (image=nginx) in default namespace is not running.
Find the problem and fix it and make it running.
Question 17 - Create a ReplicaSet (Name: appychip, Image: nginx:1.18, Replica: 4)
There is already a Pod running in a cluster.
Make sure that the total count of pods running in the cluster is not more than 4
Question 18 - Create a Network Policy named "appychip" in default namespace
There should be two types, ingress and egress.
The ingress should block traffic from an IP range of your choice except some other IP range. Should also have namespace and pod selector.
Ports for ingress policy should be 6379
For Egress, it should allow traffic to an IP range of your choice on 5978 port.
In this video, we'll provide you with a comprehensive cheat sheet of the most important imperative commands that you'll need to know for the CKA exam. We'll go over each command in detail, explaining its purpose, syntax, and how to use it effectively.
""Real CKA Exam Questions - Certified Kubernetes Administrator" is a comprehensive course designed with a carefully curated set of questions that have appeared in the CKA Exam and have a high probability of reappearing. Along with each question, a detailed solution is provided, along with valuable tips on how to approach and attempt them efficiently.
The course covers all the key topics that are crucial for the exam, ensuring that no important aspect is left behind. It focuses on providing the most relevant and up-to-date questions, increasing your chances of success. These questions are compiled from individuals who have already taken and successfully passed the exam, giving you access to real-world, proven material.
By practicing the most recent 2025 questions included in this course, you will be well-prepared and confident to clear the exam. Topics such as HPA, ArgoCD, Helm, and Gateway-API are included, providing a well-rounded understanding of essential Kubernetes concepts. Rest assured, this course will be regularly updated with new questions and content as they are received from students.
Many students have successfully cleared the exam after following my videos, and they have even tagged me on LinkedIn to express their gratitude, stating how my content was invaluable in their preparation. You can check my LinkedIn profile and the tags to see for yourself how helpful this course has been to others.