- Home
- All questions
- Question 765
CKA study material · question 765 of 1000
Which two things can a NetworkPolicy not do? Choose two.
Show the answer
Answer: A. Target a Service by name
C. Log the connections it blocks
NetworkPolicy has no way to name a Service or a node by its Kubernetes identity, and no logging of accepted or blocked connections. Label selection and port restriction are core to it.
Source: Network Policies (Kubernetes) — What you can't do with network policies