Ultimate CKA Mock Exam Series Question

There is a question on the Ultimate CKA Mock Exam Series Mock Exam 1 there is concerning an ingress resource problem. Here is the question below.

There is a deployment called nodeapp-dp-cka08-trb created in the default namespace on cluster1. This app is using an ingress resource named nodeapp-ing-cka08-trb.

From cluster1-controlplane host we should be able to access this app using the command: curl http://kodekloud-ingress.app. However, it is not working at the moment. Troubleshoot and fix the issue.

Note: You should be able to ssh into the cluster1-controlplane using ssh cluster1-controlplane command.

There is no ingress resource nodeapp-ing-cka08-trb. I did kubectl get ingress -A and it comes back with nothing. I tried creating the ingress resource myself but couldn’t get it to work right. I have run into
this question before as I have done Mock Exam 1 several times and both times no ingress resource.

It’s been a while since I ran the Ulitmate Mocks for CKA, but if I recall correctly, the problem you need to fix is that, well, there is no ingress resource. So you do need to create an ingress resource in the default namespace named nodeapp-ing-cka08-trb that will route to the nodeapp-dp-cka08-trb deployment. Best thing is to use the imperative command k create ing ...

ok but it implies there already is one. in the solution to the question they say to edit the current ingress resource and correct the errors. regardless I will create my own this time, will learn more that way anyway.