An organization is migrating a legacy on-premises application to Azure. The database tier has the following requirements:
- Must support native SQL Server Agent jobs and cross-database queries.
- Must provide a disaster recovery (DR) solution to a secondary Azure region with a Recovery Time Objective (RTO) of 15 minutes.
- Must automatically route both read-write and read-only traffic to the active database replicas without requiring modifications to the application connection strings during a failover.
Which database deployment and disaster recovery strategy should you recommend?
- ADeploy Azure SQL Database (Single Database) in a primary region, configure active geo-replication to a secondary region, and configure an auto-failover group. Use the read-write and read-only listener endpoints in the application connection strings.
- Deploy Azure SQL Managed Instance in a primary region, configure an auto-failover group with a secondary Managed Instance in a paired region, and configure the application to use the read-write and read-only listener endpoints.Cevap
- CDeploy Azure SQL Managed Instance in a primary region, configure active geo-replication to a secondary Managed Instance, and update the DNS records manually to redirect traffic to the secondary instance during a failover event.
- DDeploy SQL Server on Azure Virtual Machines using Standard HDD disks for transaction log files, and configure SQL Server Always On availability groups across two Azure regions with automatic failover.
Cevap
Deploy Azure SQL Managed Instance in a primary region, configure an auto-failover group with a secondary Managed Instance in a paired region, and configure the application to use the read-write and read-only listener endpoints.
The correct strategy is to deploy Azure SQL Managed Instance and configure an auto-failover group. Azure SQL Managed Instance supports the required legacy on-premises SQL Server features (SQL Server Agent and cross-database queries). The auto-failover group provides automatic failover capabilities to a secondary region within the RTO target, and offers read-write and read-only listener endpoints that transparently route application traffic without requiring connection string modifications.
Adım Adım Çözüm
Anahtar Kavram
Azure SQL Managed Instance auto-failover groups support automatic redirection of read-write and read-only traffic via listeners while maintaining on-premises SQL Server feature compatibility.