Interview Prep/Azure/Networking Design

You need DNS names like `api.devopsshack.com` to fail over between regions automatically.

IntermediateScenarioNetworking Design
Answer

Situation read → HTTP traffic: Front Door priority routing. Non-HTTP: Traffic Manager priority profile.

What I'd do →

  1. Front Door origin group with primary (priority 1) and secondary (priority 2) origins, health probes every 30s
  2. Custom domain api.devopsshack.com CNAME to the Front Door endpoint
  3. For TCP services, a Traffic Manager profile with priority routing and endpoint monitoring, CNAME to *.trafficmanager.net
  4. Test failover by stopping the primary origin and timing recovery

Why → Health-probed global routing removes humans from the failover path.

Interview tip → Mention DNS TTLs when using Traffic Manager; clients cache answers.

Azure All Azure questions Roadmap: Azure core services

More on Networking Design