🔥 3-day streak
Certified Kubernetes Administrator (CKA)79 / 125
Question 79 of 125
A frontend Pod in the 'web' namespace must reach a backend Service in the 'api' namespace. You applied a default-deny egress NetworkPolicy to the 'web' namespace, then added a policy allowing egress to Pods labeled 'app=api' in the 'api' namespace on TCP 8080. The frontend can no longer resolve or reach the backend, and application logs show DNS lookup failures for the backend Service name. What must you add to restore connectivity while keeping egress restricted?
Reviewed for accuracy · Report an issueNext question