Question 7 of 10Pro Only
What are Network Policies in Kubernetes, and how do they control traffic flow? Provide an example of a common network policy use case.
Sample answer preview
Network Policies are Kubernetes resources that control the traffic flow between pods, namespaces, and external endpoints. They act as a firewall for your pods, allowing you to specify which traffic is allowed to flow in and out.
Network Policypod selectoringressegressCNIdefault deny