Interview Prep/Azure/Networking Design

Workloads must reach Azure SQL privately, including from on-prem over ExpressRoute. How do you set it up?

AdvancedScenarioNetworking Design
Answer

Situation read → Private Endpoint plus hybrid DNS is the whole problem.

What I'd do →

  1. Create a Private Endpoint for the SQL server in the spoke snet-pe with a DNS zone group to privatelink.database.windows.net (zone lives in the connectivity subscription, linked to the hub)
  2. Deploy DNS Private Resolver in the hub with an inbound endpoint
  3. On-prem DNS conditionally forwards database.windows.net to the resolver inbound IP
  4. Set the SQL server publicNetworkAccess to Disabled
  5. Test from on-prem: nslookup sql-shop.database.windows.net returns 10.x

Why → The endpoint gives the private IP; the DNS chain makes clients use it. Forwarding the public zone (not only privatelink) keeps the CNAME chain intact.

Interview tip → Most real outages here are DNS, so lead with the DNS design.

Azure All Azure questions Roadmap: Azure core services

More on Networking Design