Question

Difficulty: EasyConfigure Azure Firewall

You are configuring outbound internet connectivity for a subnet named Subnet1 in a virtual network named VNet1. You deploy Azure Firewall to VNet1.

To route all outbound internet traffic from Subnet1 through the Azure Firewall using a User-Defined Route (UDR), which two options must you configure in the route table associated with Subnet1? Select two.

  1. A route with the destination IP address range set to 0.0.0.0/0 and the next hop type set to Virtual applianceAnswer
  2. The private IP address of the Azure Firewall as the next hop IP addressAnswer
  3. C
    A route with the destination IP address range set to 0.0.0.0/0 and the next hop type set to Virtual network gateway
  4. D
    An outbound Network Security Group (NSG) rule on Subnet1 to allow internet traffic, configured with a priority of 65500

Answer

To route outbound internet traffic through Azure Firewall, you must configure a route with a destination of 0.0.0.0/0 and the next hop type set to Virtual appliance, and specify the private IP address of the Azure Firewall as the next hop IP address.
To route all outbound traffic to Azure Firewall, you need a route table associated with Subnet1. The route must target all internet traffic by using the destination IP address range 0.0.0.0/0. Additionally, because Azure Firewall is a firewall service, it acts as a virtual appliance, meaning the next hop type must be set to 'Virtual appliance' and the private IP address of the firewall must be supplied as the next hop address.

Step-by-Step Solution

1
Create a route in the subnet's route table with a prefix representing all internet destinations.
A destination IP address range of 0.0.0.0/0 is specified.
This routes all traffic not covered by more specific routes to the firewall.
2
Select the correct next hop type for a firewall resource.
The next hop type is set to Virtual appliance.
Azure Firewall functions as a virtual appliance, not a virtual network gateway.
3
Identify and configure the next hop destination address.
The next hop IP address is set to the private IP address of the Azure Firewall.
Traffic must be directed to the firewall's internal private IP to be filtered and processed.

Key Concept

Configuring custom routing (User-Defined Routes) to forward traffic to Azure Firewall.
Rate this question