Red Hat Openshift Developer EX288 Practice Exam

Access More Questions
Which statement best describes NetworkPolicy in OpenShift and how it affects pod traffic?
Correct Answer:
It defines allowed ingress/egress rules; by default all traffic is allowed; with policies you can restrict traffic; requires cluster support.
Explanation:
NetworkPolicy is about controlling how pods talk to each other by defining allowed ingress and egress rules. In OpenShift, the enforcement of these rules depends on the cluster’s network plugin (the CNI) supporting NetworkPolicy. If no policy selects a pod, that pod can communicate freely with others. When a policy does select certain pods, traffic to and from those pods is restricted to what the policy permits, effectively isolating them unless explicit allowances exist. This is how you implement precise control over pod communication and segment traffic. The other statements don’t describe traffic control at all: quotas for storage, automatic creation of service accounts, and encryption management for Secrets are unrelated to how NetworkPolicy governs pod traffic.

Access more questions from this quiz

Continue to Red Hat Openshift Developer EX288 Practice Exam for more practice questions and the full quiz experience.

Access More Questions