Azure Administrator AZ-104 · Implement and Manage Virtual Networking · hard

In a hub-and-spoke Azure Virtual Network, a spoke subnet (10.1.1.0/24) must send all internet-bound traffic (0.0.0.0/0) through a Palo Alto firewall Network Virtual Appliance (NVA) running at IP 10.0.2.4 in the hub VNet. Which two configurations are required to route and forward this traffic properly? (Select two.)

Published · Last updated · checked before publication — how we verify questions

Options

  • ASet the UDR Next hop type to Virtual network gateway (10.0.2.4)
  • BAssociate a Route Table using Next hop Virtual appliance (10.0.2.4)Correct answer
  • CAssign a Basic SKU Public IP address directly to each spoke subnet VM
  • DEnable IP forwarding on the Azure Network Interface (NIC) of the NVACorrect answer

Answers: B. Associate a Route Table using Next hop Virtual appliance (10.0.2.4); D. Enable IP forwarding on the Azure Network Interface (NIC) of the NVA

To steer spoke subnet traffic through an NVA, you must (B) associate a Route Table containing a User-Defined Route (0.0.0.0/0, Next hop type = Virtual appliance, Next hop IP = 10.0.2.4) with the spoke subnet (B), and (C) enable IP forwarding on the Azure Network Interface (NIC) of the NVA VM (as well as inside the guest OS) so Azure's SDN fabric permits the NVA to receive packets not addressed to its own IP (D).

Why the other options are wrong

  • A. Set the UDR Next hop type to Virtual network gateway (10.0.2.4) — Virtual network gateway routes traffic to an Azure VPN/ExpressRoute gateway, not to a custom NVA VM IP.
  • C. Assign a Basic SKU Public IP address directly to each spoke subnet VM — Assigning public IPs to spoke VMs does not force outbound traffic through the NVA and violates security posture.

All Implement and Manage Virtual Networking questions and the topic overview →

Microsoft and Azure are trademarks of Microsoft Corporation. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Microsoft Corporation.