CKA MOCK EXAM 1 Question 8

Solution for question 8 is stating that the nslookup will not work but it was working fine for me. Please verify.

Received this output and not the one from the solution below:

k -n ns-12345-svcn exec checker-cka10-svcn-h58r8 – nslookup kubernetes.default
Server: 10.43.0.10
Address: 10.43.0.10#53

Name: kubernetes.default.svc.cluster.local
Address: 10.43.0.1

Solution:

kubectl exec -n ns-12345-svcn -i -t $POD_NAME – nslookup kubernetes.default
;; connection timed out; no servers could be reached

command terminated with exit code 1

I’m not sure what happened for you here; I got Q8 to work, but by me, the correct value returned for the nslookup portion of it looks like your example, and not what you posted as the solution. Possibly this is a blip with the grader in this case; I can’t reproduce this.