🔥 3-day streak
Kubernetes and Cloud Native Associate108 / 142
Question 108 of 142
A security engineer applies the following NetworkPolicy to the 'payments' namespace, which previously had no policies. Every pod in the namespace immediately stops receiving any incoming traffic, but pods can still make outbound connections normally. ```yaml apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: name: restrict namespace: payments spec: podSelector: {} policyTypes: - Ingress ``` Why does all inbound traffic get blocked while outbound traffic is unaffected?
Reviewed for accuracy · Report an issueNext question