exam questions

Exam AZ-100 All Questions

View all questions & answers for the AZ-100 exam

Exam AZ-100 topic 4 question 34 discussion

Actual exam question from Microsoft's AZ-100
Question #: 34
Topic #: 4
[All AZ-100 Questions]

You have two subscriptions named Subscription1 and Subscription2. Each subscription is associated to a different Azure AD tenant.
Subscription1 contains a virtual network named VNet1.VNet1 contains an Azure virtual machine named VM1 and has an IP address space of 10.0.0.0/16.
Subscription2 contains a virtual network named VNet2. VNet2 contains an Azure virtual machine named VM2 and has an IP address space of 10.10.0.0/24.
You need to connect VNet1 to VNet2.
What should you do first?

  • A. Move VNet1 to Subscription2.
  • B. Modify the IP address space of VNet2.
  • C. Provision virtual network gateways.
  • D. Move VM1 to Subscription2.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
The virtual networks can be in the same or different regions, and from the same or different subscriptions. When connecting VNets from different subscriptions, the subscriptions do not need to be associated with the same Active Directory tenant.
Configuring a VNet-to-VNet connection is a good way to easily connect VNets. Connecting a virtual network to another virtual network using the VNet-to-VNet connection type (VNet2VNet) is similar to creating a Site-to-Site IPsec connection to an on-premises location. Both connectivity types use a VPN gateway to provide a secure tunnel using IPsec/IKE, and both function the same way when communicating.
The local network gateway for each VNet treats the other VNet as a local site. This lets you specify additional address space for the local network gateway in order to route traffic.
References:
https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-howto-vnet-vnet-resource-manager-portal

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Ragdoll
4 years, 9 months ago
Shame on me, IP address spaces are not overlapping :)
upvoted 1 times
...
Ragdoll
4 years, 9 months ago
Hmm. I would go for answer B. Based on the official FAQ, overlapping IP ranges are not working: "Can I have overlapping address spaces for VNet-to-VNet configurations? No. You can't have overlapping IP address ranges." https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-howto-vnet-vnet-resource-manager-portal#can-i-have-overlapping-address-spaces-for-vnet-to-vnet-configurations
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...