You are designing a high availability and disaster recovery (HA/DR) solution for an on-premises database that is migrating to Azure. The database relies on SQL Server Agent jobs and performs cross-database queries. The disaster recovery design must support automatic failover to a secondary region, a Recovery Time Objective (RTO) of 1 hour, and a single connection endpoint that redirects application traffic without requiring connection string modifications during a failover. Which solution should you recommend?
- AAzure SQL Database single database configured with an auto-failover group
- BAzure SQL Managed Instance configured with active geo-replication and manual failover
- Azure SQL Managed Instance configured with a failover groupAnswer
- DSQL Server on Azure Virtual Machines configured with an Always On availability group using Standard HDD storage for database transaction logs
Answer
Azure SQL Managed Instance configured with a failover group
The correct answer is Azure SQL Managed Instance configured with a failover group. Azure SQL Managed Instance supports features required for legacy SQL Server migrations, including SQL Server Agent and cross-database queries. Configuring it with a failover group enables automatic failover to a secondary region and provides a read-write listener endpoint, allowing the application to connect using a single connection string that automatically redirects traffic during failover.
Step-by-Step Solution
Key Concept
Designing relational database HA and DR using failover groups and choosing the correct Azure SQL service tier based on application compatibility.