You are designing a disaster recovery solution for a web application database in Azure. The database is currently deployed as an Azure SQL Database. The disaster recovery design must support automatic failover to a secondary region and allow the application to connect using a single read-write connection string that remains unchanged after a failover event. Which two actions should you include in the design? (Select two.)
- Create a failover group that includes the primary database and a secondary database in a paired region.Cevap
- Configure the application to connect to the database using the read-write listener endpoint of the failover group.Cevap
- CConfigure active geo-replication without a failover group and update the application connection string to point directly to the secondary server name.
- DDeploy SQL Server on an Azure Virtual Machine and host the database transaction logs on Standard HDD storage to optimize replication throughput.
- EDeploy a single Azure SQL Database and configure cross-database queries to automate the failover process.
Cevap
Create a failover group that includes the primary database and a secondary database in a paired region, and configure the application to connect to the database using the read-write listener endpoint of the failover group.
To support automatic failover and maintain a single connection string, the architecture must utilize a failover group. The failover group replicates databases to a secondary region and exposes a read-write listener endpoint. The application connects to this listener, which automatically routes traffic to the active primary region without requiring client updates during a failover.
Adım Adım Çözüm
Anahtar Kavram
Azure SQL Database failover groups manage replication, automatic failover, and client connection routing across regions via listener endpoints.