Interview Prep/Azure/Databases (Azure SQL, Cosmos DB, PostgreSQL)

How do you design a multi-region data layer on Azure?

AdvancedProductionDatabases (Azure SQL, Cosmos DB, PostgreSQL)
Answer

For relational data, use Azure SQL failover groups or PostgreSQL read replicas with a planned failover runbook. For globally distributed, low-latency data, use Cosmos DB with multi-region writes and a suitable consistency level. Test failover regularly and make sure application connection strings point to listener endpoints.

Azure All Azure questions

More on Databases (Azure SQL, Cosmos DB, PostgreSQL)