A SysOps Administrator is designing a disaster recovery strategy for a critical transactional application. The primary infrastructure is in the eu-west-1 Region, utilizing an Amazon RDS for PostgreSQL DB instance in a Multi-AZ deployment. For cross-region disaster recovery, the administrator deploys an RDS Read Replica in the eu-central-1 Region.
To manage traffic during a regional outage, the administrator configures an Amazon Route 53 active-passive failover routing policy. The primary routing record is a CNAME pointing to the primary RDS endpoint in eu-west-1, associated with a Route 53 health check. The secondary routing record is a CNAME pointing to the replica's endpoint in eu-central-1.
During a simulated outage of eu-west-1, the health check fails, and Route 53 successfully redirects traffic to eu-central-1. However, the application fails to perform any write operations, returning read-only database transaction errors.
Which of the following describes the root cause of this issue, and the correct action to resolve it?
- AThe Route 53 failover routing policy was configured with an active-active routing configuration rather than active-passive, which kept the primary region CNAME active. The administrator must change the routing policy to active-passive and associate the primary health check with the secondary record to allow RDS to automatically trigger the database promotion API.
- BThe administrator did not configure the cross-region Read Replica as a standby instance within the RDS Multi-AZ deployment configuration. Enabling Multi-AZ globally across both regions is required for RDS to perform automatic failover and promote the secondary replica to a write-enabled state without manual intervention.
- Cross-region RDS Read Replicas are read-only and do not automatically promote to primary write-enabled instances during a DNS failover. To restore write capabilities, the administrator must manually promote the Read Replica in the secondary region to a standalone DB instance.Answer
- DThe administrator omitted the 'Enable Failover Target' attribute when launching the cross-region Read Replica. Without this attribute, Route 53 DNS updates redirect the application connection string, but the replica is prevented from assuming the master role and transitioning out of read-only mode.