In a hub-and-spoke design, spoke-a and spoke-b are each peered with the hub only. Azure Firewall is in the hub. VMs in the spokes cannot reach each other. What should you do?
- A.
Nothing; peering is transitive so the spokes can already communicate.
- B.
Delete the peering between the spokes and the hub.
- C.
Create user-defined routes in each spoke with the firewall as the next hop, and allow forwarded traffic on the peerings.
- D.
Add an NSG rule that allows all inbound traffic.
Show answer and explanation
Answer: C
VNet peering is non-transitive. A UDR sends spoke traffic to the hub firewall, which forwards it to the other spoke.
- Nothing; peering is transitive so the spokes can already communicate.: Peering is not transitive.
- Delete the peering between the spokes and the hub.: That would also remove access to the hub.
- Add an NSG rule that allows all inbound traffic.: NSG rules filter traffic but do not create a route between non-peered networks.