Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Configure virtual hub routing

A worked example

Single answer

Vwan-01 contains a secured virtual hub named Hub-01 with Azure Firewall. Spoke-01 and Spoke-02 are connected to Hub-01 by virtual network connections, and Policy-01 is already associated with Hub-01. In the Security configuration of Hub-01, Private traffic is set to Send via Azure Firewall, and Internet traffic is not yet secured by Azure Firewall. You create a new virtual network named Spoke-03 with the address space 10.3.0.0/16. Policy-01 permits the required traffic between all three spokes.

Requirements:

  • Spoke-03 must reach Spoke-01 and Spoke-02 through Hub-01.
  • Internet-bound traffic from Spoke-03 must be routed through the Azure Firewall in Hub-01.

Which configuration meets both requirements?

Choose one answer
Why

Two steps are needed. First, Spoke-03 must be joined to Hub-01 with a virtual network connection so that it reaches the other spokes through the hub. Then Internet traffic must be set to Azure Firewall in the hub's Security configuration so that Internet-bound traffic goes through the hub firewall. The existing Private traffic setting does not cover Internet-bound traffic, and associating a policy does not connect a spoke.

  • Not correct: Associate Policy-01 with Hub-01, then set Internet traffic to Azure Firewall. The policy is already associated, and associating it does not connect Spoke-03 to the hub. Without a virtual network connection, the hub's routing settings do not apply to Spoke-03.
  • Correct: Add a virtual network connection from Spoke-03 to Hub-01, then set Internet traffic to Azure Firewall. Spokes connect to the hub with virtual network connections, and Internet traffic is routed through the firewall by setting Internet traffic to Azure Firewall in Security configuration. Doing both meets both requirements.
  • Not correct: Peer Spoke-03 directly with Spoke-01 and Spoke-02, then set Internet traffic to Azure Firewall. Spokes are joined to the hub through virtual network connections. Direct peering between spokes does not connect Spoke-03 to Hub-01, so its traffic does not pass through the hub.
  • Not correct: Add a virtual network connection from Spoke-03 to Hub-01, then set Private traffic to Send via Azure Firewall. The connection meets the hub connectivity requirement. However, the Private traffic setting only covers private traffic. Internet traffic must be set to Azure Firewall separately.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free