What should you create?

Posted by: Pdfprep Category: AZ-303 Tags: , ,

Your company has an office in Seattle.

You have an Azure subscription that contains a virtual network named VNET1.

You create a site-to-site VPN between the Seattle office and VNET1.

VNET1 contains the subnets shown in the following table.

You need to redirect all Internet-bound traffic from Subnet1 to the Seattle office.

What should you create?
A . a route for Subnet1 That uses the virtual network gateway as the next hop
B . a route for GatewaySubnet that uses the virtual network gateway as the next hop
C . a route for GatewaySubnet that uses the local network gateway as the next hop
D . a route for Subnet1 that uses The local network gateway as the next hop

Answer: A

Explanation:

A route with the 0.0.0.0/0 address prefix instructs Azure how to route traffic destined for an IP address that is not within the address prefix of any other route in a subnet’s route table. When a subnet is created, Azure creates a default route to the 0.0.0.0/0 address prefix, with the Internet next hop type. We need to create a custom route in Azure to use a virtual network gateway in the Seattle office as the next hop.

References: https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-udr-overview

Leave a Reply

Your email address will not be published.