Lab: CKAd Mock Exam 6 Q14

This is related to Lab: CKAd Mock Exam 6 Q14 where Is the correct output stored in /root/pod_ips_ckad02_svcn? indicates being wrong. Please find the attached screenshot showing the output of the file pod_ips_ckad02_svcn.
This is similar to another issue I raised earlier but with another service.

Hi @ewiklund

I replicated this task and found this to be working as expected.

As the step where you store the output to the file is failing, please note that the question asks to sort the output by PodIPs, maybe that’s the issue. ( Please see the attached screenshot)

And, regarding the other issue you raised on Mock Exam 3 Q11, the lab is working as expected as well. You can try that once you get this out of your way.

Regards.

There may be an additional issue here, since @ewiklund’s output is sorted by IP: some of these problems are dependent upon when you generate the output, and if the cluster in question has new pods added, the output will be different. This is not really fair on KK’s part :frowning: In this case, @ewiklund should run the query again just before hitting “End Exam”, to make sure the output is fresh!

Thanks Rob and Santosh for your feedback. The output is indeed sorted by the IP’s. I should have included the command I ran to get the output to be clear about that.
The behaviour doesn’t make much sense but I will run the query again before ending the exam.
Thanks for your help.
Liz

Indeed it worked after running the query again before hitting end Exam. Thanks for that advise.