Your company has an Azure environment with a virtual network named `VNet-Corp` (). `VNet-Corp` contains three subnets:
* `Subnet-Web` ()
* `Subnet-DMZ` ()
* `Subnet-DB` ()
A virtual machine named `NVA1` is deployed in `Subnet-DMZ` to act as a firewall. `NVA1` has a single network interface with the private IP address . You must ensure that all traffic from `Subnet-Web` destined for `Subnet-DB` is routed through `NVA1` for security inspection, while ensuring other subnet traffic is unaffected by this custom routing configuration.
Which of the following actions should you perform? (Select TWO choices.)
- Configure a route table with a route for destination , setting the next hop type to Virtual appliance and the next hop IP address to , and associate this route table with `Subnet-Web`.Answer
- Enable IP forwarding on the network interface attached to the `NVA1` virtual machine.Answer
- CConfigure a route table with a route for destination , setting the next hop type to Virtual Network Gateway and the next hop IP address to , and associate this route table with `Subnet-Web`.
- DConfigure a route table with a route for destination , setting the next hop type to Virtual appliance and the next hop IP address to , and associate this route table with `Subnet-DB`.
Answer
Configure a route table with a route for destination , setting the next hop type to Virtual appliance and the next hop IP address to , and associate this route table with `Subnet-Web`. Additionally, enable IP forwarding on the network interface attached to the `NVA1` virtual machine.
To successfully route traffic from the Web subnet to the database subnet through the firewall virtual machine, you must create a user-defined route table with a route pointing to the database subnet prefix () with a next hop type of Virtual appliance and the private IP address of the firewall (). This route table must then be associated with the source subnet (`Subnet-Web`). Additionally, you must enable IP forwarding on the network interface of the firewall VM in Azure to prevent Azure from discarding packets not destined directly for the firewall's IP address.
Step-by-Step Solution
Key Concept
User-Defined Routes (UDRs) allow administrators to override default system routing tables. To route traffic through a Network Virtual Appliance (NVA), you must specify a next hop type of Virtual appliance, provide the NVA's local IP address, associate the route table with the originating subnet, and enable IP forwarding on the NVA's network interface.