Рет қаралды 3,347
CKA Exam Questions Part 11 - • Part 11 | Most Importa...
CKA Exam Questions Part 10 - • Part 10 | Most Importa...
CKA Exam Questions Part 9 - • Part 9 | Most Importan...
CKA Exam Questions Part 8 - • Part 8 | Most Importan...
CKA Exam Questions Part 7 - • Part 7 | Most Importan...
CKA Exam Questions Part 6 - • Part 6 | Most Importan...
CKA Exam Questions Part 5 - • Part 5 | Most Importan...
CKA Exam Questions Part 4 - • Part 4 | Real CKA Exam...
CKA Exam Questions Part 3 - • Part 3 | Real CKA Exam...
CKA Exam Questions Part 2 - • Part 2 | Real CKA Exam...
CKA Exam Questions Part 1 - • Part 1 | Real CKA Exam...
How to Prepare for CKA video - Tips & Tricks :- • 2024 Master the CKA Ex...
Mumshad Manambath
Alok Kumar
KodeKloud
Cloud Guru
Kubernetes CKA Exam Question Bank
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.
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 16 - A pod “appychip” (image=nginx) in default namespace is not running. Find the problem and fix it and make it running.
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 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 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 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 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 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 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 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 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
This is a video of all the exam questions I have ever asked. If you are preparing to take the CKA, or if you are taking the CKA, then this video is for you. I hope it helps!
This is the first of three videos where I discuss a module of questions from the Certified Knowledge Architect (CKA) exam. These questions provide good examples of what to expect on the exam and how to answer them. There's a ton I could say about the CKA, but in this video I keep it high level and superficially examine the exam to determine what topics will be covered in detail later on.
#CKA #Kubernetes #CertifiedKubernetesAdministrator #CKAExam #CKAPracticeQuestions #K8s
#KubernetesAdministrator #CKACertifiedProfessional #CKAExamFormat #KubernetesExpert
#CKAPrepGuide #KubernetesAdminCertification #CKAOnlineCourse
#CKAOnlineExam #KubernetesTrainingOnline #CKAPracticeExam #CKACourse