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 →
- Front Door origin group with primary (priority 1) and secondary (priority 2) origins, health probes every 30s
- Custom domain
api.devopsshack.comCNAME to the Front Door endpoint - For TCP services, a Traffic Manager profile with priority routing and endpoint monitoring, CNAME to
*.trafficmanager.net - 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.
More on Networking Design
Design the network for a new three-tier app in Central India that must be private except for the web front end.IntermediateSpoke A can't talk to spoke B, both peered to the hub. What design change makes it work?BeginnerWorkloads must reach Azure SQL privately, including from on-prem over ExpressRoute. How do you set it up?AdvancedYou need all outbound traffic from AKS to go through Azure Firewall. How do you do it?AdvancedA partner needs to whitelist a single egress IP from your App Service and AKS workloads. How?IntermediateYou're asked to expose an internal API to a customer's Azure tenant without VNet peering. How?Advanced