Added
A namespace contains backend pods labeled app=backend. Only frontend pods in the same namespace may initiate TCP connections to backend port 8443. All other ingress to backend pods must be denied, and existing egress from the frontend must remain unaffected. There are no other NetworkPolicies selecting backend pods. Which two policy characteristics satisfy these requirements? (Choose two.)
A NetworkPolicy isolates only the pods selected by its podSelector for the policy types it specifies. Selecting backend pods with Ingress policy type makes their ingress restricted, and an ingress rule allowing frontend pods on TCP 8443 creates the sole permitted path. Selecting frontend pods would govern the wrong direction. Allowing every namespace pod is broader than requested, while adding Egress isolation without egress rules could disrupt frontend traffic.