An enterprise designs a hub-and-spoke virtual network topology in Azure. The hub virtual network, `vnet-eus-hub` (), contains an Azure Route Server in the `RouteServerSubnet` () and a Network Virtual Appliance (NVA) at IP address in the subnet `snet-eus-nva` (). An ExpressRoute Gateway is deployed in the `GatewaySubnet` () and connects to the corporate on-premises network (). The spoke virtual network, `vnet-eus-prod` (), contains a web tier subnet, `snet-prod-web` (), and a database tier subnet, `snet-prod-db` (). Virtual network peering is configured between `vnet-eus-hub` and `vnet-eus-prod` with "Allow gateway transit" enabled on the hub and "Use remote virtual network gateways or route server" enabled on the spoke. The Route Server is peered with the NVA. The NVA advertises a default route () via BGP to the Route Server, while the ExpressRoute Gateway propagates the on-premises route () via BGP. You must design a routing solution for the web tier subnet, `snet-prod-web`, that satisfies the following requirements:
- All internet-bound traffic must route through the NVA () for security inspection.
- All traffic to the on-premises network () must bypass the NVA and route directly to the ExpressRoute Gateway.
- All traffic to the database tier subnet (`snet-prod-db`) must remain local and bypass the NVA.
- All traffic to the hub management subnet, `snet-hub-mgmt` (), must bypass the NVA and route directly.
- All traffic to the private endpoints subnet in the hub, `snet-hub-pe` (), must route through the NVA.
Which route table configuration should you apply to `snet-prod-web` to meet these requirements with the least administrative effort?
- Create a route table with a single User Defined Route (UDR) for with the next hop set to Virtual Appliance and IP address , and associate it with the subnet.Answer
- BCreate a route table with a User Defined Route (UDR) for with the next hop set to Virtual Appliance and IP address , and a second UDR for with the next hop set to Virtual Network, and associate it with the subnet.
- CDisable gateway route propagation on the route table, and add three manual User Defined Routes (UDRs): with next hop Virtual Appliance , with next hop Virtual Network Gateway, and with next hop Virtual Appliance , and associate it with the subnet.
- DConfigure the virtual network peering between the hub and spoke to disable gateway transit, and create a route table with a User Defined Route (UDR) for with the next hop set to Virtual Appliance and IP address , and associate it with the subnet.