An administrator is configuring network routing within a single Azure virtual network named `VNet-Prod` (). The virtual network is segmented into the following three subnets:
* `WebSubnet` ()
* `DatabaseSubnet` ()
* `SecuritySubnet` ()
A firewall virtual machine acting as a Network Virtual Appliance (NVA) is deployed in `SecuritySubnet` and has the private IP address .
The administrator must redirect all network traffic sent from `WebSubnet` targeting the `DatabaseSubnet` through the firewall virtual machine.
Which of the following actions should the administrator perform to route the traffic? (Select TWO.)
- Configure IP forwarding on the network interface (NIC) attached to the firewall virtual machine.Answer
- Associate a route table with WebSubnet that defines a route for using a next hop type of Virtual appliance and IP address .Answer
- CAssociate a route table with WebSubnet that defines a route for using a next hop type of Virtual network gateway and IP address .
- DAssociate a route table with DatabaseSubnet that defines a route for using a next hop type of Virtual appliance and IP address .
Answer
Configure IP forwarding on the network interface (NIC) attached to the firewall virtual machine, and associate a route table with WebSubnet that defines a route for using a next hop type of Virtual appliance and IP address .
To route traffic from the web subnet to the database subnet through the firewall virtual machine, you must create a route table with a user-defined route pointing to the firewall's IP address. This route table must be associated with the subnet containing the source resources (WebSubnet). In the route table, the destination IP prefix must match the target subnet (), and the next hop type must be set to Virtual appliance with the firewall's private IP address as the next hop. Additionally, because the firewall virtual machine is receiving and forwarding network traffic that is not destined for its own IP, IP forwarding must be enabled on its network interface (NIC).
Step-by-Step Solution
Key Concept
To route traffic through a Network Virtual Appliance (NVA) in Azure, you must define a custom route with a next hop type of Virtual appliance pointing to the NVA's IP, associate it with the source subnet, and enable IP forwarding on the NVA's network interface.
Estimated Time:2m 0s