An architect is deploying a Palo Alto Networks VM-Series firewall in a Microsoft Azure environment. The firewall must inspect traffic between two subnets in the same virtual network (VNet). The architect wants to ensure that the VM-Series can see and inspect all traffic, including traffic between VMs in different subnets, without modifying the VMs' default gateways. Which Azure networking feature should be used to redirect traffic to the VM-Series?
User-Defined Routes allow you to override Azure's default system routes and direct traffic to a virtual appliance such as the VM-Series. By creating UDRs for the subnets and setting the VM-Series' private IP as the next hop, traffic between subnets is forced through the firewall for inspection. This does not require changing the VMs' default gateways, as the UDRs are applied at the subnet level. This is the standard method for traffic redirection in Azure.
Why this answer
User-Defined Routes (UDRs) are the correct Azure feature. They allow you to define custom routes that override Azure's default system routes, directing traffic to a virtual appliance such as the VM-Series. By associating UDRs with the subnets, all traffic leaving those subnets (including inter-subnet traffic) is sent to the VM-Series for inspection.
This does not require changing the VMs' default gateways because the UDRs are applied at the subnet level, making it transparent to the VMs.
Exam trap
The trap here is confusing monitoring tools like Network Watcher or load balancers with routing mechanisms. Only UDRs can override Azure's default routing to force traffic through a virtual appliance.