Neew help in CKAD mock exam, exam 2 q 10

Hi,

I have created serviced and netp as it asked in the question, but the exam says the service for the backend is not available inside the cluster. As screenshot shows, the service has backend endpoint, and is clusterIP. Also from front-end pod I can run wget age connect to the backend svc.
Can you please help me to understand what is the issue?

Hi @powerofviva

I tried this question and it worked as expected.
You need to create three services in the namespace, only frontend-ckad-svcn needs to be of type NodePort, and the other two of type ClusterIP. These checks are passing in your validation.

The issue is with accessing the backend from within the cluster, which is handled by the network policy. You need to get the network policy part working and this should result in a pass.

Hope this helps.