Intermediate
Kubernetes
Q69 / 100
What is a "Network Policy" used for in Kubernetes?
Correct! Well done.
Incorrect.
The correct answer is B) To specify how groups of Pods are allowed to communicate with each other and other network endpoints, effectively acting as a firewall at the Pod level
B
Correct Answer
To specify how groups of Pods are allowed to communicate with each other and other network endpoints, effectively acting as a firewall at the Pod level
Explanation
NetworkPolicies define ingress/egress rules for Pods based on labels, namespaces, or IP blocks; they require a compatible CNI plugin (e.g. Calico) to actually enforce the rules.
Progress
69/100