exam questions

Exam AZ-300 All Questions

View all questions & answers for the AZ-300 exam

Exam AZ-300 topic 1 question 3 discussion

Actual exam question from Microsoft's AZ-300
Question #: 3
Topic #: 1
[All AZ-300 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. Modify the IP address space of VNet2.
  • B. Move VM1 to Subscription2.
  • C. Provision virtual network gateways.
  • D. Move VNet1 to Subscription2.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
tubadc
Highly Voted 5 years, 6 months ago
C - https://azure.microsoft.com/en-us/blog/vnet-peering-and-vpn-gateways/
upvoted 13 times
cacasodo
5 years, 1 month ago
This is the actual statement from Microsoft that tells us VPN Gateways can be used for VNET connections across AAD tenants: https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-howto-vnet-vnet-resource-manager-portal#can-i-establish-a-vnet-to-vnet-connection-across-azure-active-directory-aad-tenants
upvoted 4 times
tartar
4 years, 10 months ago
C is ok
upvoted 1 times
...
...
...
starnb
Highly Voted 5 years, 3 months ago
C is the answer because the IP range isn't overlapping and Vnet Gateways provide connectivity across subscriptions associated with different Tenants. There is no need to move VMs in this case.
upvoted 10 times
...
KenZx
Most Recent 4 years, 7 months ago
C is incorrect because Vnet 2 only has one address space /24, note that we need to create gateway subnet ==> So A is correct
upvoted 1 times
arunpaul
4 years, 4 months ago
Subnet address Netmask Range of addresses Useable IPs Hosts 10.0.0.0/25 255.255.255.128 10.0.0.0 - 10.0.0.127 10.0.0.1 - 10.0.0.126 126 10.0.0.128/26 255.255.255.192 10.0.0.128 - 10.0.0.191 10.0.0.129 - 10.0.0.190 62 10.0.0.192/27 255.255.255.224 10.0.0.192 - 10.0.0.223 10.0.0.193 - 10.0.0.222 30 10.0.0.224/28 255.255.255.240 10.0.0.224 - 10.0.0.239 10.0.0.225 - 10.0.0.238 14 10.0.0.240/28 255.255.255.240 10.0.0.240 - 10.0.0.255 10.0.0.241 - 10.0.0.254 14
upvoted 1 times
...
arunpaul
4 years, 4 months ago
You can create so many subsets even with the addressspace 10.0.0.0/24. So the Gateway subnet can be anything like 10.0.0.240/28. And tested in lab and its possible to create GatewaySubnet with this address range. Didnt check it between subscriptions; but its really possible to create a Vnet-Vnet VPN connection between two Vnets and hence the less intensive admin resolution is to create a VPN and ans is C
upvoted 1 times
...
...
MMohammad
4 years, 9 months ago
The correct answer is: C. Provision virtual network gateways.
upvoted 1 times
...
Shades
4 years, 9 months ago
A virtual network peering cannot be created between two virtual networks in 2 differnt subscription deployed through the classic deployment model. If you need to connect virtual networks that were both created through the classic deployment model, you can use an Azure VPN Gateway to connect the virtual networks. But for ARM deployment , V net peering can be very well done
upvoted 1 times
Ziggybooboo
4 years, 9 months ago
Where does it say in the question we are using ASM (classic)? Pretty sure MS are done with testing on ASM, those IP's overlap, thats the answer in mu opinion,
upvoted 1 times
...
...
Sri_N
4 years, 9 months ago
Don't you need subnet to provision a gateway? how will you do it in /24 vnet?
upvoted 1 times
...
Prav78
4 years, 10 months ago
C is the answer
upvoted 1 times
...
gboyega
4 years, 11 months ago
C is correct
upvoted 2 times
...
DeveshSolanki
4 years, 12 months ago
Answer is C. Provision virtual network gateways.
upvoted 1 times
...
YPR
5 years ago
VNET Peering or Gateways possible answers, From the available options, Gateway is the appropriate answer.
upvoted 2 times
...
kambhampati
5 years ago
As peering not mentioned, gateway is the option
upvoted 1 times
...
profileexto
5 years ago
C is the right answer because we don't need other answers (no need to move, no need to change address space)
upvoted 1 times
...
Ashwinee
5 years ago
isnt the answer to modify address space of vnet2 its range is 10.10.0.0/24 and we need gateway subnet too in the same space, how can we achieve virtual network gateway without gateway subnet?
upvoted 1 times
...
Soofiann
5 years ago
Vnet Gateways of course (as no vnet peering is mentioned in the choices)
upvoted 1 times
...
Pankaj7121
5 years, 1 month ago
Answer is C
upvoted 3 times
...
TYT
5 years, 2 months ago
VNet Peering is the best option, but based on the options, they can be connected through gateways.
upvoted 5 times
...
Srini300
5 years, 5 months ago
isn't it an overlapping Vnets situation ? I think we have to re address Vnet2.
upvoted 4 times
SilentH
5 years, 5 months ago
No because 10.0.0.0/16 is a different address space than 10.10.0.0/24. The /16 uses the first two octects of a subnet therefore 10.0.x.x is different than 10.10.x.x.
upvoted 10 times
Srini300
5 years, 5 months ago
You are right, it was my bad that i over looked at address space.Thanks
upvoted 5 times
...
YPR
5 years ago
Good catch.
upvoted 1 times
...
samhouston
4 years, 10 months ago
10.10.0.0/24 is a part of 10.0.0.0/16, I think you need to re Ip the vnet2
upvoted 1 times
CertQz
4 years, 10 months ago
This is not overlapping ip ranges.
upvoted 2 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 ...