CKA Practice Exam (mock questions) - Real 30 Practice questions and Answers

Sdílet
Vložit
  • čas přidán 29. 11. 2023
  • Certified Kubernetes Administrator (CKA) Exam Practice Questions -2023
    Udemy-course : www.udemy.com/course/certifie...
    7:38 - Deploy a pod in control plane,
    12:34 - Expose an existing pod as a service
    13:49 - Expose an existing pod through Nodeport, Nodeport= 30200
    17:10 - Manual scale-up of the existing deployment
    22:35 - Auto scale the existing deployment
    25:04 - Expose existing deployment through Nodeport
    34:11 - PV troubleshoot
    37:38 - Taint and toleration
    44:28 - PV and PVC
    54:11 - Deploy a busybox pod . The Pod should run a sleep command for 4800 seconds.
    58:33 - Network policy 1
    1:11:25 - Network policy 2
    1:22:42 - Sidecar container
    1:30:43 - Cronjob
    1:34:44 - Find the schedulable nodes in the cluster
    1:36:33 - kubelet troubleshooting
    1:42:32 - Cluster troubleshooting ( Join a Node)
    1:46:55 - Network policy 3
    1:54:03 - Roles and role binding (RBAC)
    02:02:45 - Ingress
    02:16:00 - Daemonset
    02:18:00 - Backup and restore 1
    02:26:31 - Backup and restore 2
    02:35:43 - Debugging through cluster and container event logs
    02:43:37 - Priority and priority class
    02:59:13 - Relicaset
    03:04:24 - Configmap
    03:16:00 - List the pod sorted by creation time
    03:19:00 - Cordon and node
    03:22:58 - Drain a node
    03:27:04 - Cluster upgradation
    03:38:49 - Init container

Komentáře • 133

  • @nathanielasangi6556
    @nathanielasangi6556 Před 2 měsíci +1

    Thank You ! Much Appreciated

  • @1995akshaypatil
    @1995akshaypatil Před 2 měsíci +1

    Thank You ! Much Appreciated !!!!!!!!!!!

  • @narigina6414
    @narigina6414 Před 6 měsíci +2

    Thank you for the efforts you are putting in making these. Much appreciated.

    • @kubernetesway
      @kubernetesway  Před 6 měsíci

      Thank you

    • @kubernetesway
      @kubernetesway  Před 4 měsíci +2

      Please support us on Udemy : www.udemy.com/course/certified-kubernetes-administrator-cka-practice-qa/?kw=Certified+Kubernetes+Administrator+%28CKA%29+Practice+Q%26A&src=sac

  • @esohakh
    @esohakh Před 5 měsíci +1

    Thanks for your great efforts. Every question is explained with great depth and practically.

    • @kubernetesway
      @kubernetesway  Před 5 měsíci

      you are welcome

    • @kubernetesway
      @kubernetesway  Před 4 měsíci

      Please support us on Udemy : www.udemy.com/course/certified-kubernetes-administrator-cka-practice-qa/?kw=Certified+Kubernetes+Administrator+%28CKA%29+Practice+Q%26A&src=sac

  • @vishnusuga
    @vishnusuga Před 3 měsíci +1

    Awesome one, thanks :)

    • @kubernetesway
      @kubernetesway  Před 3 měsíci

      you are welcome. Please support us on Udemy : www.udemy.com/course/certified-kubernetes-administrator-cka-practice-qa/?kw=Certified+Kubernetes+Administrator+%28CKA%29+Practice+Q%26A&src=sac

  • @tejusnaik
    @tejusnaik Před 5 měsíci +1

    Awesome 👍really help ful

    • @kubernetesway
      @kubernetesway  Před 5 měsíci

      Thank you

    • @kubernetesway
      @kubernetesway  Před 4 měsíci

      Please support us on Udemy : www.udemy.com/course/certified-kubernetes-administrator-cka-practice-qa/?kw=Certified+Kubernetes+Administrator+%28CKA%29+Practice+Q%26A&src=sac

  • @mehranehro8636
    @mehranehro8636 Před 6 měsíci +1

    excellent

    • @kubernetesway
      @kubernetesway  Před 6 měsíci

      Many many thanks

    • @kubernetesway
      @kubernetesway  Před 4 měsíci

      Please support us on Udemy : www.udemy.com/course/certified-kubernetes-administrator-cka-practice-qa/?kw=Certified+Kubernetes+Administrator+%28CKA%29+Practice+Q%26A&src=sac

  • @sayalitugaonkar1930
    @sayalitugaonkar1930 Před 3 měsíci +1

    Thank you for this video

    • @kubernetesway
      @kubernetesway  Před 3 měsíci

      You are welcome, Please support us on Udemy : www.udemy.com/course/certified-kubernetes-administrator-cka-practice-qa/?kw=Certified+Kubernetes+Administrator+%28CKA%29+Practice+Q%26A&src=sac

  • @amosegonmwan7480
    @amosegonmwan7480 Před 3 měsíci +2

    Thanks so much @kubernetesWay for putting this together. This has been super helpful to me while preparing for the CKA. I have one request, can you please do something similar for CKS? Something like Certified Kubernetes Security Specialist (CKS) Practice Exam (mock questions)? We will all appreciate this.

    • @kubernetesway
      @kubernetesway  Před 3 měsíci +1

      thank you , definitely we will consider that

  • @AllForArtYS
    @AllForArtYS Před 5 měsíci +3

    Thank you for creating this video and explaining the solutions to questions in a simple way. This should be a must-watch video before taking the CKA exam.

    • @kubernetesway
      @kubernetesway  Před 5 měsíci

      Thank you

    • @kubernetesway
      @kubernetesway  Před 4 měsíci

      Please support us on Udemy : www.udemy.com/course/certified-kubernetes-administrator-cka-practice-qa/?kw=Certified+Kubernetes+Administrator+%28CKA%29+Practice+Q%26A&src=sac

  • @meisamsharahi3808
    @meisamsharahi3808 Před 4 měsíci +1

    Really helpful mate :)

    • @kubernetesway
      @kubernetesway  Před 4 měsíci

      Please support us on Udemy : www.udemy.com/course/certified-kubernetes-administrator-cka-practice-qa/?kw=Certified+Kubernetes+Administrator+%28CKA%29+Practice+Q%26A&src=sac

  • @user-vs3do5np7l
    @user-vs3do5np7l Před 5 měsíci +1

    Great Video for CKA Exam

    • @kubernetesway
      @kubernetesway  Před 5 měsíci

      Thank you

    • @kubernetesway
      @kubernetesway  Před 4 měsíci

      Please support us on Udemy : www.udemy.com/course/certified-kubernetes-administrator-cka-practice-qa/?kw=Certified+Kubernetes+Administrator+%28CKA%29+Practice+Q%26A&src=sac

  • @delcruzephrem
    @delcruzephrem Před 3 měsíci +2

    thanks for the efforts, i just get my CKA certification ❤

  • @user-th9tz8fu8i
    @user-th9tz8fu8i Před 2 měsíci +1

    Thanks for sharing these videos and it was really helpful in CKA exam

  • @sukruthms7984
    @sukruthms7984 Před měsícem +1

    Hey there, Thanks you for your efforts in making us practice this exam , I have successfully passed the CKA exam, Much appreciated !!

  • @ermalbaj
    @ermalbaj Před 5 měsíci +3

    Best Tutorial ever. Please do you have any plan to upload any video for CKS Kubernetes Security?
    Thanks

    • @kubernetesway
      @kubernetesway  Před 5 měsíci +2

      thank you. definitely, we will release that also

  • @sani_0707
    @sani_0707 Před 4 měsíci +3

    This mock exam played a crucial role in helping me pass my exam. The explanations were clear, and the examples provided were spot-on. Highly recommend it to anyone preparing for CKA. it’s a game-changer. Thank you!

    • @kubernetesway
      @kubernetesway  Před 4 měsíci

      you are welcome

    • @kubernetesway
      @kubernetesway  Před 4 měsíci

      Please support us on Udemy : www.udemy.com/course/certified-kubernetes-administrator-cka-practice-qa/?kw=Certified+Kubernetes+Administrator+%28CKA%29+Practice+Q%26A&src=sac

  • @awssoorinje747
    @awssoorinje747 Před 6 měsíci +1

    Sir, Excellent video! The use of visualization made the explanation very clear. Can you do a similar video on Kubernetes security?

    • @kubernetesway
      @kubernetesway  Před 6 měsíci

      sure

    • @kubernetesway
      @kubernetesway  Před 4 měsíci

      Please support us on Udemy : www.udemy.com/course/certified-kubernetes-administrator-cka-practice-qa/?kw=Certified+Kubernetes+Administrator+%28CKA%29+Practice+Q%26A&src=sac

  • @viveagle
    @viveagle Před 5 měsíci +3

    The best set of mock questions to face the CKA exam. Great effort on putting them together. Thanks a lot.

    • @kubernetesway
      @kubernetesway  Před 4 měsíci

      You are welcome

    • @kubernetesway
      @kubernetesway  Před 4 měsíci

      Please support us on Udemy : www.udemy.com/course/certified-kubernetes-administrator-cka-practice-qa/?kw=Certified+Kubernetes+Administrator+%28CKA%29+Practice+Q%26A&src=sac

  • @aceisastud
    @aceisastud Před 5 měsíci +1

    Thanks a lot for this video. I have a lot of k8s experience and decided to take the CKA exam. This video will help me feel confident to do it and pass! Thanks again! 😊

    • @kubernetesway
      @kubernetesway  Před 5 měsíci

      you are welcome

    • @kubernetesway
      @kubernetesway  Před 4 měsíci

      Please support us on Udemy : www.udemy.com/course/certified-kubernetes-administrator-cka-practice-qa/?kw=Certified+Kubernetes+Administrator+%28CKA%29+Practice+Q%26A&src=sac

  • @avishayg1986
    @avishayg1986 Před měsícem +1

    Just received the CKA certificate after finishing the test successfully. Your videos helped a lot! huge thanks 🙏🏻👌🏻👏🏻

  • @gopinatharumugam147
    @gopinatharumugam147 Před 2 měsíci +5

    Thanks for the videos, i have cleared CKA exam today. I have gone through all your videos.. Specially 30 practice exam questions 4 times and 10 sure shot question videos... Thank you so much.. It really helped me a lot to understand each concepts in detail.

    • @kubernetesway
      @kubernetesway  Před 2 měsíci +1

      congratulations, are there any new scenarios faced?

    • @gopinatharumugam147
      @gopinatharumugam147 Před 2 měsíci +2

      @@kubernetesway No, Most of them are similar questions which you discussed in 30 practice questions.

    • @kubernetesway
      @kubernetesway  Před 2 měsíci +1

      @@gopinatharumugam147 great

  • @richardgbemudu6100
    @richardgbemudu6100 Před 3 měsíci +1

    Very Helpful

    • @kubernetesway
      @kubernetesway  Před 3 měsíci

      thank you

    • @kubernetesway
      @kubernetesway  Před 3 měsíci

      please support us on udemy: www.udemy.com/course/certified-kubernetes-administrator-cka-practice-qa/?couponCode=NVDPRODIN35

  • @nhatbui229
    @nhatbui229 Před 25 dny +1

    The best youtube channel about k8s =))

  • @dhuntay
    @dhuntay Před 4 měsíci +1

    Hi, in the Network policies, you have used pods for app, web and db.. what images are you using for them, respectively?

    • @kubernetesway
      @kubernetesway  Před 4 měsíci

      hi, i used Nginx for aapp and web pods and Mysql for DB, i posed yamal files on my github , u can use that for making scenarios, github.com/kubernetesway/CKA

  • @ajayjohn1502
    @ajayjohn1502 Před měsícem

    can you please share the network policy pod yaml and svc to practice questions 10,11,17

  • @AmanSharma-or9iw
    @AmanSharma-or9iw Před 2 měsíci +2

    Thank you! Much appreciated. This video should be a must-watch before attempting the exam. I made it on my first attempt. 🙂

  • @dhuntay
    @dhuntay Před 3 měsíci +2

    Question regarding un-schedulable worker node and rescheduling all the Pods... What if the POD is volume Mounted with secret or ENV variable but not with Empty_Dir {}. How to reschedule the Pods to different node?

    • @kubernetesway
      @kubernetesway  Před 3 měsíci

      that much difficult question they will not ask in the exam, but I will update that scenario in our Udemy course, thank you

  • @ajayjohn1502
    @ajayjohn1502 Před 19 dny +1

    Thanks Nikhil bro, I have cleared the cka exam today

    • @kubernetesway
      @kubernetesway  Před 19 dny

      Congratulations 🎊

    • @wiembelhadj
      @wiembelhadj Před 10 dny

      Congratulations on your exam! My exam is this week. Do you think practicing 30 questions is enough?

  • @suprnova13
    @suprnova13 Před 11 dny +3

    Thank you so much for this! I just passed the CKA basically only using this video. I can confirm knowing these practice questions is still enough in June 2024.

    • @Marco-if7hp
      @Marco-if7hp Před 11 dny

      How do the questions differ? especially which questions did you find similar but different?

    • @kubernetesway
      @kubernetesway  Před 10 dny

      Congratulations 🎊

    • @wiembelhadj
      @wiembelhadj Před 10 dny +1

      Congratulations , My exam is in the middle of June. Please what your advice

    • @kubernetesway
      @kubernetesway  Před 8 dny

      @@wiembelhadj practice well, do not panic in the exam, practices with documentation , all the best

    • @wiembelhadj
      @wiembelhadj Před 18 hodinami +1

      @@kubernetesway Thank you so much for the great video, I cleared the Exam yesterday

  • @xladde
    @xladde Před měsícem +1

    Huge thanks for the good work ! Just passed the CKA today.
    I went through each question with confidence thanks to this video. It has helped alot !
    (You covered all types of questions that are likely to pop in the CKA)
    Again, huge thanks from another Certified Kubernetes Administrator ! 🎉🎉🎉🎉

    • @kubernetesway
      @kubernetesway  Před měsícem +1

      Congratulations 🎊

    • @sukruthms7984
      @sukruthms7984 Před měsícem +1

      Hi , Planning for CKA on next week, can you let me know are these questions are similar in exam?

    • @xladde
      @xladde Před měsícem

      @@sukruthms7984 yes these questions are very similar to what you can get in the CKA exam ! It worked for me

    • @kubernetesway
      @kubernetesway  Před měsícem

      ​@@sukruthms7984Regrettably, I can't provide you with any guarantees, but according to the recent experiences of students, it seems that the questions are often quite similar.

    • @sukruthms7984
      @sukruthms7984 Před měsícem

      Ok that's great, sure shot and 30 questions are similar?

  • @ManpreetSingh-Ind
    @ManpreetSingh-Ind Před měsícem +1

    Subscribed as you requested us to. Your hard work deserves subscribers

  • @user-el6kt1ek4l
    @user-el6kt1ek4l Před 5 měsíci

    hi @nikhil for not scheduling the pod on node we have to use anti affinitty , cordoning is a right solution>

    • @kubernetesway
      @kubernetesway  Před 5 měsíci

      u can achieve this in so many ways, it depends on the question's weightage

    • @kubernetesway
      @kubernetesway  Před 4 měsíci

      Please support us on Udemy : www.udemy.com/course/certified-kubernetes-administrator-cka-practice-qa/?kw=Certified+Kubernetes+Administrator+%28CKA%29+Practice+Q%26A&src=sac

  • @AmineBenAmor-rz5lb
    @AmineBenAmor-rz5lb Před 3 měsíci +1

    I love your video
    just a small comment on the Q14, I think you are wrong, kubectl get nodes -o jsonpath='{.items[*].spec.taints}' output does not indicate that the control plane is unschedulable.
    it just returns all of the taints available on all of the nodes..
    also even with that taint existing , if the toleration is provided, the workload would be scheduled..
    the CKA question is bit malformed and tricky

    • @kubernetesway
      @kubernetesway  Před 3 měsíci

      Hello, the response provided is accurate. However, I've forgotten the exact wording of the original question. Nevertheless, if you encounter a similar question in the future, you can certainly find the answer using the following command

    • @AmineBenAmor-rz5lb
      @AmineBenAmor-rz5lb Před 3 měsíci +1

      sorry I disagree.. an accurate command would be like `kubectl get nodes -o=jsonpath='{range .items[*]}{.metadata.name}{"\t"}{.spec.taints}{"
      "}{end}'` @@kubernetesway

    • @kubernetesway
      @kubernetesway  Před 3 měsíci

      thankyou, i will update this in our course, @@AmineBenAmor-rz5lb

  • @samuelude6858
    @samuelude6858 Před 5 měsíci

    @24:56 / 3:43:54, Metric Server not required to be installed for hpa to work or is it enough to crack the question without installing? Nice content i must commend

    • @kubernetesway
      @kubernetesway  Před 5 měsíci +2

      metric server will be in the cluster ,The metrics server collects resource usage metrics from each node and makes them available to the HPA controller

    • @kubernetesway
      @kubernetesway  Před 4 měsíci

      Please support us on Udemy : www.udemy.com/course/certified-kubernetes-administrator-cka-practice-qa/?kw=Certified+Kubernetes+Administrator+%28CKA%29+Practice+Q%26A&src=sac

  • @user-jo7pd8ic6f
    @user-jo7pd8ic6f Před 2 měsíci +1

    Nice job! Just wondering, what is the difference between this video and the one from Udemy? :)

    • @kubernetesway
      @kubernetesway  Před 2 měsíci

      in udemy we will update new scenarios every week

  • @paullabel571
    @paullabel571 Před 6 měsíci +1

    1h46'14" don't see how you came to have node01 with error. In this case, how to create node01 and join the cluster. Thank you for your explanations.

    • @kubernetesway
      @kubernetesway  Před 6 měsíci

      in the question we can see they are asking to join node01, so simply we can ssh to node01, most of the time kubelet service may not started in node01, and that will be the only troubleshooting you need to do in node01.

    • @kubernetesway
      @kubernetesway  Před 4 měsíci

      Please support us on Udemy : www.udemy.com/course/certified-kubernetes-administrator-cka-practice-qa/?kw=Certified+Kubernetes+Administrator+%28CKA%29+Practice+Q%26A&src=sac

  • @user-el6kt1ek4l
    @user-el6kt1ek4l Před 5 měsíci

    hi @nikhil i didnt the network policy question - 3 why we use egress there? web to service should be ingress ?

    • @kubernetesway
      @kubernetesway  Před 5 měsíci +1

      hi, as per the question we have to restrict the connection from web pod to other pods, and only allow connection to service pods, so we need to use egress service pods, so web pod can only connect service pods

    • @kubernetesway
      @kubernetesway  Před 4 měsíci

      Please support us on Udemy : www.udemy.com/course/certified-kubernetes-administrator-cka-practice-qa/?kw=Certified+Kubernetes+Administrator+%28CKA%29+Practice+Q%26A&src=sac

  • @dhuntay
    @dhuntay Před 3 měsíci +1

    How do insert sidecar to existing pod, running with container that has volume mounted to path that is in the ENV Variable. For example,
    Existing pod:
    Name: some name
    Image: some image
    env:
    - name: LOG_FILENAME
    value: /var/log/big-corp-app.log
    Sidecar: Insert sidecar in the existing pod with below details:
    image: busybox:1.28
    command: "tail -n+1 -f /var/log/big-corp-app.log"
    Use a Volume, mounted at /var/log
    Make the log file big-corp-app.log available to the sidecar container.
    How to answer this question?

    • @kubernetesway
      @kubernetesway  Před 3 měsíci

      let me check

    • @kubernetesway
      @kubernetesway  Před 3 měsíci

      hi, i could not find a big difference between the sidecar question that we discussed in the video and what u asked, or can u share the full question? then we can help the students. thank you

  • @dhuntay
    @dhuntay Před 3 měsíci

    Was aske to create PVC and class path was provided. I checked for PV, but there was none. So I created PVC using class path and PVC was in bound status. Should I have created PV?

    • @vinayayinapurapu
      @vinayayinapurapu Před 3 měsíci

      are you in right cluster? I would check the work after pvc is created and it should be in 'Bound' state. A PV should be there first before creating PVC as the name Persistent Volume Claim says claiming a storage from PV.

    • @utkarshyadav3674
      @utkarshyadav3674 Před 2 měsíci +1

      This is storage class question, thats why there was no pv that time.

  • @tranquoctotranquocto8101
    @tranquoctotranquocto8101 Před 5 měsíci

    Hello sir, I cant find out exist deployment frontend.

    • @kubernetesway
      @kubernetesway  Před 5 měsíci

      hi, If u are trying to answer a question like "autoscale existing deployment" then you have to make a sample deployment to demonstrate the scenario,

    • @kubernetesway
      @kubernetesway  Před 4 měsíci

      Please support us on Udemy : www.udemy.com/course/certified-kubernetes-administrator-cka-practice-qa/?kw=Certified+Kubernetes+Administrator+%28CKA%29+Practice+Q%26A&src=sac

  • @dhuntay
    @dhuntay Před 3 měsíci

    ETCD question with below path file provided. I did not get chance to attempt this question since this doesn't look like ETCD backup. Seems like question was to create secure connection. Do you know how to answer this question?
    /etc/kubernetes/pki/etcd/peer.crt
    /etc/kubernetes/pki/etcd/peer.key
    /etc/kubernetes/pki/etcd/ca.crt

    • @kubernetesway
      @kubernetesway  Před 3 měsíci

      hi, can u share complete question?

    • @dhuntay
      @dhuntay Před 3 měsíci +1

      I do not remember the complete questions.. but I know it was related to ETCD.. and peer.key and peer.crt was provided instead of server.cert and ca.cert and server.key

    • @kubernetesway
      @kubernetesway  Před 3 měsíci

      ok, let me check@@dhuntay

    • @vikramvaroo145
      @vikramvaroo145 Před dnem

      @@kubernetesway Thank you for your videos and it really helped me to clear many questions in the exam unfortunately I wasn't able to clear the exam and I got 65% .I have a retake so I will again go through videos and practice.
      I also got same question in exam. In this type of question should we take peer keys and certification while backing up or should we take as per documentation? Can you tell me how to resolve this kind of question?? the question was need to back up and store it to the location(they have given random-I couldn't recall) but while restoring they asked to restore previous and current backup? They haven't provided path for restore. instead they mentioned new backup var/lib/etcd/etc-backupsnapshot.db. No previous backup found and which path should be mention in --data-dir?? somehow etcdutl and etcdctl wasn't working for restore.

    • @kubernetesway
      @kubernetesway  Před 22 hodinami

      @@vikramvaroo145 in my video u can find two videos realted with Backup and restore, second video is exactly the same model , can u check it that ?

  • @atishjayalwal215
    @atishjayalwal215 Před 5 měsíci

    is still same type of question are coming in real exam,

    • @kubernetesway
      @kubernetesway  Před 5 měsíci +1

      you can expect similer pattern questions in the exam

    • @kubernetesway
      @kubernetesway  Před 4 měsíci

      Please support us on Udemy : www.udemy.com/course/certified-kubernetes-administrator-cka-practice-qa/?kw=Certified+Kubernetes+Administrator+%28CKA%29+Practice+Q%26A&src=sac