Explain hub-and-spoke topology.

IntermediateConceptNetworking
Answer

A hub VNet holds shared services: Azure Firewall, VPN/ExpressRoute gateway, Bastion, DNS Private Resolver. Each workload gets a spoke VNet peered to the hub. Spokes send 0.0.0.0/0 (and other spokes' ranges) to the firewall via UDR, so spoke-to-spoke and egress traffic is inspected centrally.

flowchart LR
    ONP["On-premises"] --> GW["VPN or ExpressRoute gateway"]
    subgraph HUB["Hub VNet"]
        GW --> FW["Azure Firewall"]
    end
    FW --> S1["Spoke: shop-prod"]
    FW --> S2["Spoke: data-prod"]
    FW --> NET["Internet"]

Peering is not transitive, so the firewall is what makes spoke-to-spoke work.

Azure All Azure questions Roadmap: Azure core services

More on Networking