An organization deploys a critical application that uses a single database on Azure SQL Database. The disaster recovery requirements specify that:
- In the event of a regional outage, the database must fail over to a secondary Azure region automatically.
- The application must reconnect automatically without needing any modifications to its connection strings.
Which Azure SQL Database feature should you recommend to meet these requirements?
- Auto-failover groupsAnswer
- BActive geo-replication
- CZone-redundancy
- DRead-Access Geo-Redundant Storage (RA-GRS)
Answer
Auto-failover groups
The correct answer is Auto-failover groups because they support automatic failover policies for groups of databases to a secondary region and expose a single read-write listener endpoint. This listener automatically routes application traffic to the active primary database, avoiding the need to change connection strings during a failover.
Step-by-Step Solution
Key Concept
Azure SQL Database Auto-Failover Groups provide automatic cross-region failover and read-write listeners that prevent the need to update application connection strings during a failover.