An enterprise is designing a hub-and-spoke network topology in Azure. The hub virtual network, `vnet-weur-hub` (), hosts a central network virtual appliance (NVA) at IP address to inspect outbound internet traffic. The spoke virtual network, `vnet-prod-spoke` (), contains a subnet named `snet-prod-web` () that hosts web servers. You need to configure the routing so that all outbound internet traffic from `snet-prod-web` is routed through the NVA, while internal communication within the spoke virtual network remains uninterrupted. Which two configurations should you implement? (Select two.)
- Associate a route table with the `snet-prod-web` subnet containing a route for `` with a next hop type of Virtual Appliance and IP address .Answer
- Enable the 'Allow forwarded traffic' setting on the virtual network peering connection in `vnet-weur-hub` to accept traffic from the spoke.Answer
- CAdd a route for `` to the spoke's route table with a next hop type of Virtual Appliance pointing to .
- DConfigure individual Network Security Group (NSG) rules for every external IP address on the `snet-prod-web` subnet instead of using Service Tags.
Answer
To configure routing through the NVA, associate a route table with the spoke subnet containing a route for all traffic pointing to the NVA as a virtual appliance, and enable the forwarded traffic setting on the peering link to permit transit traffic.
The correct configurations involve creating a route table with a route of `` pointing to the NVA's IP () as a Virtual Appliance and associating it with the spoke subnet, and configuring the peering connection to allow forwarded traffic. The route table directs all non-local outbound traffic to the NVA. Allowing forwarded traffic on the peering ensures that the hub VNet accepts and routes transit traffic received from the spoke.
Step-by-Step Solution
Key Concept
Azure Virtual Network Peering and User Defined Routes (UDR) transit configuration.