Networkpolicy — Certified Kubernetes Administrator (CKA) Practice Questions

A NetworkPolicy is a Kubernetes resource that uses label selectors to control which pods and namespaces are allowed to send or receive traffic at the IP and port level. By default, Kubernetes allows all pod-to-pod communication, and NetworkPolicies are the mechanism to enforce least-privilege network segmentation within the cluster. CKA candidates must be able to write ingress and egress rules, understand the additive nature of multiple policies, and know that a CNI plugin capable of enforcing NetworkPolicies must be installed for the rules to take effect.

Free questions on networkpolicy

What is the purpose of a NetworkPolicy in Kubernetes?
Free question · medium · full answer + explanation

More networkpolicy questions in the full bank

Practice Certified Kubernetes Administrator (CKA) Questions Free