You are designing a disaster recovery solution for an application that uses an Azure SQL Database. The solution must support automatic failover to a secondary Azure region in the event of a primary region outage. The application must be able to reconnect to the database after failover without any changes to its connection string. Which solution should you recommend?
- AAzure SQL Database Active Geo-replication
- BAzure SQL Database configured with Locally Redundant Storage (LRS)
- Azure SQL Database Failover GroupsAnswer
- DSQL Server on Azure Virtual Machines using Standard HDD storage for transaction logs
Answer
Azure SQL Database Failover Groups
The correct option is Azure SQL Database Failover Groups because they enable automatic failover of a group of databases to a secondary region and provide a listener endpoint. This allows the application to connect using the same connection string regardless of which region is hosting the primary database.
Step-by-Step Solution
Key Concept
Azure SQL Database Failover Groups provide a read-write listener endpoint that remains constant, automatically routing application traffic to the active primary database in the event of a failover to the secondary region.
Estimated Time:1m 0s