🔥 3-day streak
Certified Kubernetes Administrator (CKA)82 / 125
Question 82 of 125

A team runs a Pod labeled app=payments in the finance namespace that must reach an external payment gateway on port 443 by hostname. A default-deny egress NetworkPolicy is already in place for the namespace. After applying an egress policy allowing traffic to the gateway's IP block on port 443, the application still fails with name resolution errors, though direct IP connectivity tests to the gateway succeed. What must be added to the egress policy to fix this?

Reviewed for accuracy · Report an issueNext question