A financial analytics company hosts its transaction-matching engine on a single-instance Amazon RDS for PostgreSQL DB instance. A SysOps Administrator must configure the database tier to achieve automated failover to a standby instance in a different Availability Zone within the same Region in the event of an infrastructure failure. Additionally, the administrator wants to offload read-heavy analytical queries from the primary instance. Which of the following database configurations should the SysOps Administrator implement to meet these requirements with the lowest Recovery Time Objective (RTO)?
- Modify the DB instance to a Multi-AZ deployment, and deploy one or more Read Replicas in different Availability Zones to handle the analytical queries.Cevap
- BConfigure a PostgreSQL Read Replica in a different Availability Zone, and configure the application connection string to route write traffic to the replica if the primary instance becomes unavailable.
- CEnable Cross-Region replication to a standby database instance in another Region, and configure Amazon Route 53 with an active-passive failover routing policy to handle database failover.
- DCreate a CNAME record in Amazon Route 53 pointing to the primary database endpoint, and configure an AWS Lambda function to update the CNAME record to point directly to a read replica during an outage.
Cevap
Modify the DB instance to a Multi-AZ deployment, and deploy one or more Read Replicas in different Availability Zones to handle the analytical queries.
Modifying the database to a Multi-AZ deployment provides automatic, synchronous replication to a standby instance in a different Availability Zone within the same Region. In the event of an infrastructure failure, RDS automatically updates the DNS record to point to the standby instance, ensuring the lowest RTO. Deploying separate read replicas is the correct method to handle read-heavy analytical queries without affecting the primary write instance.
Adım Adım Çözüm
Anahtar Kavram
Amazon RDS Multi-AZ deployments provide high availability and automatic failover through synchronous replication to a standby instance, whereas Read Replicas are designed for read scaling and use asynchronous replication.
Tahmini Süre:1m 30s