A company runs a critical application using a single-node Amazon RDS for PostgreSQL DB instance. A SysOps Administrator has set up a read-only reporting environment by adding an RDS Read Replica. During a review of the disaster recovery plan, the administrator needs to ensure that the primary database has high availability with automatic failover and zero data loss in the event of an Availability Zone outage. Which action should the administrator take to meet these requirements with the shortest recovery time?
- Modify the DB instance to enable the Multi-AZ deployment option.Cevap
- BConfigure Amazon Route 53 with a failover routing policy pointing to the Read Replica endpoint.
- CCreate an Amazon EventBridge rule to trigger an AWS Lambda function that promotes the Read Replica when the primary instance becomes unhealthy.
- DModify the Read Replica to enable Multi-AZ replication and use its endpoint as the primary connection string.
Cevap
Modify the DB instance to enable the Multi-AZ deployment option.
Enabling the Multi-AZ option on the primary RDS DB instance replicates data synchronously to a standby instance in a different Availability Zone. If the primary instance fails, AWS automatically updates the DNS record to point to the standby instance, ensuring automatic failover with zero data loss and the shortest recovery time.
Adım Adım Çözüm
Anahtar Kavram
Amazon RDS Multi-AZ deployments provide synchronous replication, automatic failover, and high availability across Availability Zones within an AWS Region.
Tahmini Süre:1m 30s