exam questions

Exam AZ-103 All Questions

View all questions & answers for the AZ-103 exam

Exam AZ-103 topic 4 question 8 discussion

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

You have an Azure subscription that contains three virtual networks named VNet1, VNet2, and VNet3. VNet2 contains a virtual appliance named VM2 that operates as a router.
You are configuring the virtual networks in a hub and spoke topology that uses VNet2 as the hub network.
You plan to configure peering between VNet1 and Vnet2 and between VNet2 and VNet3.
You need to provide connectivity between VNet1 and VNet3 through VNet2.
Which two configurations should you perform? Each correct answer presents part of the solution.

  • A. On the peering connections, use remote gateways.
  • B. On the peering connections, allow forwarded traffic.
  • C. On the peering connections, allow gateway transit.
  • D. Create route tables and assign the table to subnets.
  • E. Create a route filter.
Show Suggested Answer Hide Answer
Suggested Answer: AC 🗳️
Allow gateway transit: Check this box if you have a virtual network gateway attached to this virtual network and want to allow traffic from the peered virtual network to flow through the gateway.
The peered virtual network must have the Use remote gateways checkbox checked when setting up the peering from the other virtual network to this virtual network.
References:
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-manage-peering#requirements-and-constraints

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
pbadilla
Highly Voted 5 years, 6 months ago
Correct answer: B and D A. In this scenario, you must configure the peering connections to allow forwarded traffic. D. Routes will be necessary in order to route traffic from and to VNET1/VNET3 thru VM2 appliance. Wrong Answers: A. On the peering connections, use remote gateways. This will make spoke VNETs able to use a remote gateway say, in VNET2, but the question doesn't present such scenario. C. On the peering connections, allow gateway transit. This would be necessary in order to allow spoke VNETs use a gateway present in VNET2, which is not. The question doesn't present such scenario. E. Create a route filter. Route filters are used when configuring ExpressRoute circuits. "A route filter is essentially a white list of all the BGP community values. Once a route filter resource is defined and attached to an ExpressRoute circuit, all prefixes that map to the BGP community values are advertised to your network." Source: https://docs.microsoft.com/bs-latn-ba/azure/expressroute/how-to-routefilter-powershell?view=azurermps-6.9.0
upvoted 84 times
...
BigEv
Highly Voted 5 years, 4 months ago
Correct Answer is BD Spoke connectivity If you require connectivity between spokes, consider deploying Azure Firewall or an NVA for routing in the hub, and using UDRs in the spoke to forward traffic to the hub. The deployment steps below include an optional step that sets up this configuration. In this scenario, you must configure the peering connections to allow forwarded traffic. https://docs.microsoft.com/en-us/azure/architecture/reference-architectures/hybrid-networking/hub-spoke
upvoted 14 times
...
datts
Most Recent 3 years, 11 months ago
I remember doing a lab similar to this. So far as I can recall the answer should be B and D if you are using peering.
upvoted 1 times
...
Alileva
4 years, 2 months ago
Answer is C&D C: With Gateway transit enabled on VNet peering, you can create a transit VNet that contains your VPN gateway, Network Virtual Appliance, and other shared services. When you use VNA as a gateway you need to add the routes to other vnets because they need to know how to reach the other network from the VNA
upvoted 1 times
Alileva
4 years, 2 months ago
http://www.deployazure.com/network/virtual-network/azure-vnet-peering-gateway-transit-hub-and-spoke/
upvoted 1 times
...
...
Thi
4 years, 6 months ago
As per question hub and spoke is on azure side not on on prem side so i choose A. On the peering connections, use remote gateways. C. On the peering connections, allow gateway transit.
upvoted 2 times
takethisplease247
4 years, 5 months ago
Yes, this is not about on-perm scenario, but answers A+C would be the right choice if we had a connection topology: links between hub (vnet2) and spokes (vnet1, vnet3) and link between hub (vnet2) and on-prem. In this case - we could using A+C answers for, say, create a link between one spoke and on-prem server. But in our case we have to use NVA (or FireWall) and peering connection. That's why we must create UDR and we must ensure that traffic is allowed over the hub (vnet2). So, B+D
upvoted 1 times
...
...
robert5874
4 years, 8 months ago
B and D. https://docs.microsoft.com/en-us/azure/architecture/reference-architectures/hybrid-networking/hub-spoke?toc=%2fazure%2fvirtual-network%2ftoc.json#spoke-connectivity
upvoted 1 times
...
Vishu1
4 years, 8 months ago
BD or AC?
upvoted 1 times
...
rickdeb
4 years, 8 months ago
a,c are correct - refer https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-peering-gateway-transit In hub-and-spoke network architecture, gateway transit allows spoke virtual networks to share the VPN gateway in the hub, instead of deploying VPN gateways in every spoke virtual network
upvoted 1 times
Elyess
4 years, 8 months ago
Agree with rickdeb With gateway transit enabled on VNet peering, you can create a transit VNet that contains your VPN gateway, Network Virtual Appliance, and other shared services. As your organization grows with new applications or business units and as you spin up new VNets, you can connect to your transit VNet with VNet peering. refer https://azure.microsoft.com/fr-fr/blog/vnet-peering-and-vpn-gateways/
upvoted 1 times
...
...
Meekokok
4 years, 9 months ago
I found the following link from Microsoft Learn. Under topic “Consideration” >> “Spoke connectivity”, the scenario is almost the same as this question. If based on this document, the answer “B” and “D” should be the right correct. *** In this scenario, you must configure the peering connections to allow forwarded traffic. *** *** *** If you require connectivity between spokes, consider deploying Azure Firewall or an NVA for routing in the hub, and using UDRs in the spoke to forward traffic to the hub. *** UDR = user define route.
upvoted 6 times
...
paulosrsf
4 years, 9 months ago
The answer is B & D, for sure. The answer given would be used if there was a VPN site-to-site connection between vnet2 and a on-premises network. This would allow the other networks to reach the on-premises. But for this question, only B & D are the correct steps.
upvoted 5 times
...
Satish_10_10
4 years, 9 months ago
You can also configure spokes to use the hub gateway to communicate with remote networks. To allow gateway traffic to flow from spoke to hub, and connect to remote networks, you must: Configure the peering connection in the hub to allow gateway transit. Configure the peering connection in each spoke to use remote gateways. Configure all peering connections to allow forwarded traffic. https://docs.microsoft.com/nl-nl/azure/architecture/reference-architectures/hybrid-networking/hub-spoke#architecture so why is B not an option ?
upvoted 2 times
...
Anshi
4 years, 10 months ago
ans is B & D (Straight answer see blow) https://docs.microsoft.com/en-us/azure/architecture/reference-architectures/hybrid-networking/hub-spoke#recommendations
upvoted 1 times
...
Marietje
4 years, 10 months ago
A and C: https://docs.microsoft.com/nl-nl/azure/architecture/reference-architectures/hybrid-networking/hub-spoke#virtual-network-peering
upvoted 2 times
raj10207
4 years, 9 months ago
https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-peering-gateway-transit
upvoted 1 times
...
...
Asharv
4 years, 10 months ago
solution: https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-peering-gateway-transit
upvoted 1 times
...
macco455
4 years, 10 months ago
B&D are correct. If there was no NVA then it would be A&C but since an NVA is present in VNET 2 and set up as the router, we just create a route to that NVA and allow forwarded traffic
upvoted 4 times
...
nfett
4 years, 11 months ago
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-manage-peering#requirements-and-constraints notes under requirements and constraints that " You can use remote gateways or allow gateway transit in globally peered virtual networks and locally peered virtual networks." out of all the answers these two appear valid. imho.
upvoted 1 times
...
Bladiebla
4 years, 12 months ago
I go for A,B & C Source: https://docs.microsoft.com/en-us/azure/architecture/reference-architectures/hybrid-networking/hub-spoke Configure the peering connection in the hub to allow gateway transit. Configure the peering connection in each spoke to use remote gateways. Configure all peering connections to allow forwarded traffic. When I only have 2 options I think A & C is correct answer
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago