# With outboundTrafficPolicy set to REGISTRY_ONLY, what does a sidecar return for a plain HTTP request on port 80 to an external host with no ServiceEntry?

Istio, Easy (Beginner), Traffic Management. https://k8wiz.com/uquiz/with-outboundtrafficpolicy-set-to-registry_only-what-does-a-sidecar-return-for-a-plain-http-request-on-port-80-to-an-external-ho

- A. 403 Forbidden
- B. 503 Service Unavailable
- C. 502 Bad Gateway
- D. 404 Not Found

**Answer:** 502 Bad Gateway

**Explanation:** In REGISTRY_ONLY mode Istio adds a catch-all virtual host named block_all to the sidecar's HTTP routes, and it answers with a direct 502 response. HTTPS and raw TCP connections to unknown hosts get no status code at all, because the sidecar closes the connection instead.
