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?
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
Enable forced tunneling on SubnetA
Create a service endpoint between SubnetA and SubnetB
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, and how does it affect traffic routing?
Open an interactive chat with Bash
What is the purpose of using 0.0.0.0/0 in a route table?
Open an interactive chat with Bash
How does a virtual appliance work in Azure, and what is its role in traffic inspection?
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...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .