Microsoft Azure Administrator Associate AZ-104 Practice Question
You have an Azure virtual network with two subnets: SubnetA and SubnetB. A virtual appliance that inspects traffic is deployed in SubnetB. You need to ensure that all outbound internet traffic from SubnetA is routed through the virtual appliance in SubnetB. What should you configure to accomplish this?
Create a service endpoint between SubnetA and SubnetB
Configure virtual network peering between SubnetA and SubnetB
Associate a route table with SubnetA that routes 0.0.0.0/0 to the IP address of the virtual appliance
To direct outbound internet traffic from SubnetA through the virtual appliance in SubnetB, you need to associate a route table with SubnetA containing a user-defined route. This route should have the address prefix 0.0.0.0/0, which matches all internet traffic, and set the next hop to the private IP address of the virtual appliance. This setup overrides the default system routes, ensuring that traffic is sent to the virtual appliance for inspection before reaching the internet. Enabling forced tunneling is used with virtual network gateways for VPN scenarios and won't route traffic through a virtual appliance. Creating a service endpoint connects SubnetA to Azure services but doesn't affect routing through a virtual appliance. Configuring virtual network peering allows resources in different virtual networks to communicate but doesn't influence routing within the same virtual network.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a route table in Azure?
Open an interactive chat with Bash
What does the address prefix 0.0.0.0/0 mean?
Open an interactive chat with Bash
What is a virtual appliance in Azure?
Open an interactive chat with Bash
Microsoft Azure Administrator Associate AZ-104
Configure and manage virtual networking
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access