An organization's enterprise resource planning (ERP) application uses an Amazon RDS for PostgreSQL DB instance configured in a Multi-AZ deployment within the us-east-1 Region. For disaster recovery purposes, the database also has a cross-Region read replica configured in the us-west-2 Region. The application servers in us-east-1 connect to the database using the primary database endpoint CNAME. Amazon Route 53 is configured with an active-passive failover routing policy to redirect client traffic to us-west-2 only if the application stack in us-east-1 becomes completely unavailable.
Following an unexpected hardware failure on the active primary DB instance in us-east-1, the database undergoes an automatic failover. However, the SysOps Administrator observes that the local application servers in us-east-1 continue to encounter database connection timeout errors for several minutes, and Route 53 does not redirect client traffic to the us-west-2 Region.
Which two statements correctly explain these observations and identify the appropriate steps to resolve the connection issues? (Select TWO.)
- The database connection timeouts occur because the application servers or database clients have cached the DNS resolution (IP address) of the RDS primary database endpoint. Restarting the client applications or reducing the client-side DNS cache TTL will force them to resolve the endpoint to the newly promoted standby instance's IP address.Cevap
- Route 53 did not redirect traffic to us-west-2 because the failover was localized to the primary Region. The database endpoint CNAME was updated to point to the standby instance within us-east-1, keeping the primary Region's application stack healthy and functional once client DNS caches cleared.Cevap
- CTo resolve the connection timeouts, the administrator must manually promote the us-west-2 read replica to a standalone primary DB instance, as RDS Multi-AZ standby instances do not automatically assume the primary database endpoint CNAME during a failover.
- DTo prevent future connection timeouts during database failovers, the application connection strings should be updated to point to the read replica endpoint in us-west-2, allowing synchronous write redirection to the promoted standby instance.
- ERoute 53 failed to redirect client traffic because active-passive failover routing requires the primary database to be configured with an active-active routing policy to synchronize CNAME records across both Regions during a local AZ outage.