Could you please check the labs 9 and 13 from CKA Mock exam course exam 4

Hi kodekloud Team:

I think there are some issues with the labs 9 and 14 from the exam 4 of the cka mock exam course. The lab 9 I made the same as the provided solution but it failed to pass. I checked this many times, because I’m doing the course everyday because I’m preparing to my cka certification. The lab 14 the provided etcd installation doesn’t work, and also all new official methods. Could you help me with this ?

Best Regards

EDIT: Also mock exam 5, lab 13 I think is also having some issues in validating the answer. Sign In | KodeKloud

I’ve just tried Q9 and Q13 (the etcd restore question – I’m assuming Q14 is typo), and the solutions check out. I am aware of some intermittent problems with the grader on some issues, but I cannot replicate your problems just now.

  • I fixed the PVC bind by getting YAML from the existing PVC, deleting it, and editing the yaml and re-applying it. This worked.
  • Note that you have to do the etcd restore on cluster1-controlplane; for me, the backup was available under /opt, and restore using etcdctl (v3.5 was installed) worked.

In UME CKA #5, I’m not sure what the issue is; it’s a new question, and it will be a function of when you do the question. I’d save the question’s code and run it the last thing you do before ending the exam, since that class of question depends on the state of the cluster, which is not constant. I would not worry that much about having questions like this on the real exam, frankly, since I don’t think these sorts of questions are altogether reasonable :slight_smile:

1 Like

Hi @rob_kodekloud Many thanks for your answer. I’ll check what you had done and I going to reply you thursday, so I can check in more detail what had you done to solve the labs. I lack time to study now, so I’ll reply on thursday.

Once Again many thanks!

Have a nice week

Hi @rob_kodekloud Thanks for your reply. I made the mocks exams a lot of times in the past 2 weeks, and I think there is only one exam with etcd installed, the other ones the installation process doesn’t work like the KodeKloud suggestion. Also the suggested installation method for etcd in the official webpage doesn’t work. I really want to do these etcd labs to study the part where you are doing the backup. I know how to do it but is more convenient for me to remember during the time I’m studing in the exams. Could you please tell me how can I install the etcd in the cka mock exams well ? So I can do the second part when I’m studing in my free time :slight_smile:

Generally speaking, etcdctl should be installed, and it’s a lab bug if it isn’t, so you should report that. But usually, you can install it using apt on most labs. IF you can’t do that, you can get the binary off the github releases page, but try apt install first.

Hi @rob_kodekloud I’ll do it all the CKA again tomorrow. I’ll let you know the results.

Thanks !

Hi @rob_kodekloud I recently made all the cka mock exams, and I think here’s all the issues:

Mock Exam 1:
- lab 4: The cronjob solution provides /2 as solution, but the correct syntax is just 2 * * * * . If you do the correct syntax, the lab shows as failure in the end, including changing the the cronjob to use the service name. I think this a 99% a bug.

Mock Exam 2:
- Lab11: This lab sometimes if you change the liveness to 6443, the cluster doesn’t recreate the kube-apiserver again never, you can’t use kubectl to do so.
- Lab16: I’m not sure if it is right now, it seems etcd is installed, i’ll check tomorrow if I could make it work well. EDIT: WORKS WELL :slight_smile:
- lab17: I think sometimes failed. Now I made the pvc, and is bound, but also gets a task failed.

mock Exam 3:
- I think is everything fine. Almost sure, need to check one lab tomorrow that I always forget to put the cidr.

mock Exam 4:
- Lab9: This lab is failing to approve the answer when the pv is resized , and also is bound with the pvc. I’ll attach image at the end of this post.
- Lab13: Now there is fixed the possibility to instal etcd by apt install etcd. I’ll check if the lab is working fine tomorrow, but I think it would :slight_smile:

mock Exam 5:
Edit:
- Lab 1: somtimes after you do everything as expected, the webpage can’t be access by using curl.
- lab 11: sometimes it failed to prove the answer.
- Lab15: The nslookup from the pod sometimes doesn’t work with without possible not server reached, but everything is fine :C

That’s all the issues, as far as I know and what my head could do now because I need to sleep well in order to be a good k8s admin :slight_smile: . I attach the photo now, please try to check and fix this soon if it’s possible. Have a nice night

EDIT: I edit this post, and now have all the issues, I checked with precision seeing the answers after the exam end. Please check it

Carlos, I have experienced and reported issues with the liveness port in Mock Exam 2 in another post. The issue I was having seemed a little bit different. What was happening is that all kube-system pods were running as expected for minutes after completing the question, but the grader reports it as a wrong answer. I’m unsure if it also affects (or is affected) by the last question of the same Mock Exam, cause that seems to be on the same cluster too.

Other than this, the only other issue I’ve experienced is question 13 of Mock Exam 4. In this case the backup files mentioned in the question are nowhere to be found, so the question can’t be done at all. And yes, etcdctl was not installed.

I’m yet to do Mock Exam 5.

Hi @DanF I had experice before what you said, but in a random iteration. Somedays yes some others don’t. I remember onetime when the kube-apiserver pod was running and the grader set the answer as failed. I’ll let you know today if I could make the lab 13 of the mock exam 4.

Did Mock 5 today, and didn’t experience any of the issues you mentioned. The only thing I suffered with is the installation of etcd utility (ended up skipping the question). I hope I’m not hijacking your thread, but could we be requested to install the utility during the actual exam? I couldn’t install it following the documentation from etcd kb.

Hi @DanF Hope this still helps. I was very busy the lasts weeks, so I was no longer active in kodekloud. But if you are still having the issue, I talked to Rob in a post (Not sure if it was this thread), but you can install it using apt. like: sudo apt install etcd , or sudo apt install etcd3 . I remember doing something like that and you will able to install it in the labs. The etcd installation is not part of the CKA exam as far as I know, and the actual ways to install etcd like in the github repo doesn’t work, so you should install it using apt, I think is a temporal fix for the lab, or permanent solution, because in CKA until this day I’m 99% sure that installing etcd is not part of the test.

Hope this helps you, and sorry for the delay, but now I’m back :smiley:

Hi Carlos, thanks for replying.

I don’t remember what I did to be honest, but have since then got my CKA, so I don’t intend doing the lab again. But I’m sure this will help others who might encounter the same or similar issues :slight_smile:

1 Like

Nice to know you succeed in your exam. I still unable to do it yet , but is going to be the next week :smiley: . Does you think is hard ? I made the killer.sh exam and I was studying the answers to do it again next week.

The Ultimate Lab Exams are the closest to the real thing, the killer.sh is more difficult in all aspects, like length of the question, difficulty of the question, and the number of total questions. I did the killer.sh around 3 times prior to the exam, until I got most of them correct.

After re-doing the killer.sh a couple times, you should already find the Ultimate Lab Exams to be relatively easy. And that’s the idea. In fact, I found the exam to be relatively easy. I got it at 87 the first time.

Good luck :slight_smile: Don’t get stuck on the labs, move on. It’s also OK not to pass the first time. Serves you as an experience and you’ll manage the next time.

1 Like

Thanks for the answer @DanF. Really appreciated.

Have a nice weekend!