Microsoft Azure Administrator Associate AZ-104 Practice Question
Your company has two Azure VNets, VNet1 and VNet2, located in different subscriptions. You need to enable connectivity between resources in VNet1 and VNet2. What should you do?
Implement an Azure Application Gateway to route traffic between VNet1 and VNet2
Use a VPN Gateway to establish a site-to-site VPN connection between VNet1 and VNet2
Enable service endpoints on both VNet1 and VNet2 for connectivity
Configure VNet peering between VNet1 and VNet2 using their resource IDs
To enable connectivity between resources in VNet1 and VNet2 across different subscriptions, you should configure VNet peering between them using their resource IDs. VNet peering allows direct network traffic between VNets in Azure, even if they are in different subscriptions or regions, as long as the appropriate permissions are granted.
Using a VPN Gateway to establish a site-to-site VPN connection is unnecessary in this scenario and introduces additional complexity and cost. Service endpoints allow VNets to access Azure services privately but do not connect VNets to each other. Implementing an Azure Application Gateway is used for load balancing web traffic and does not provide network connectivity between VNets.
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 VNet peering in Azure?
Open an interactive chat with Bash
Why are resource IDs used in VNet peering?
Open an interactive chat with Bash
How does VNet peering differ from using a VPN Gateway?
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 .