Bird
0
0

What does a Kubernetes NetworkPolicy primarily control?

easy📝 Conceptual Q1 of 15
Kubernetes - Networking
What does a Kubernetes NetworkPolicy primarily control?
AStorage allocation for pods
BTraffic flow between pods and/or namespaces
CScheduling of pods on nodes
DResource limits for pods
Step-by-Step Solution
Solution:
  1. Step 1: Understand NetworkPolicy purpose

    Kubernetes NetworkPolicy is designed to control network traffic to and from pods.
  2. Step 2: Differentiate from other controls

    Resource limits, scheduling, and storage are managed by other Kubernetes features, not NetworkPolicy.
  3. Final Answer:

    Traffic flow between pods and/or namespaces -> Option B
  4. Quick Check:

    NetworkPolicy controls traffic = D [OK]
Quick Trick: NetworkPolicy controls pod communication, not resources or scheduling [OK]
Common Mistakes:
  • Confusing NetworkPolicy with resource quotas
  • Thinking NetworkPolicy manages pod scheduling
  • Assuming NetworkPolicy controls storage

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes