# How can you implement header-based routing in Istio?

Istio, Hard (Expert), Traffic Management. https://k8wiz.com/uquiz/how-can-you-implement-header-based-routing-in-istio

- A. By using Kubernetes annotations
- B. By using VirtualService with header-based match conditions
- C. By modifying the Envoy configuration directly
- D. By using a custom mixer adapter

**Answer:** By using VirtualService with header-based match conditions

**Explanation:** Header-based routing in Istio is implemented by using VirtualService with header-based match conditions. This allows you to route traffic based on the presence, absence, or value of HTTP headers.
