← All questions
MediumSystem designTechnical

A destination Pod is selected by two ingress policies: one allows only app=api and another allows all Pods in the namespace. A test Pod in that namespace connects. The network provider enforces policy. Why?

1Give yourself 5 minutes
2Answer out loud, not in your head
3Then compare with the answer below
0

Reference answer

Then expect these follow-ups

  • How does placing namespaceSelector and podSelector in separate peer entries change the allowed set?

Free to read · better with Enzo

Practice this out loud with Enzo

Enzo runs it as a mock interview, pushes back with follow-ups, and grades you on the rubric.

Next question