
Answer-first summary for fast verification
Answer: Create a cross-Region read replica of the database in the secondary Region and configure an AWS Lambda function in the secondary Region to promote the read replica during a failover event., Set up a failover routing policy in Route 53 for the database DNS record, specifying the primary and secondary endpoints in each respective Region.
To ensure a highly available architecture for an Amazon RDS for PostgreSQL database across multiple Regions, you need to create a cross-Region read replica and set up a failover routing policy using Amazon Route 53. Option A suggests creating a read replica in the secondary Region and configuring an AWS Lambda function to promote it during a failover event, ensuring that the RTO and RPO requirements are met. Option D recommends setting up a failover routing policy in Route 53, which allows traffic to be redirected to the appropriate database endpoint in the event of a failure. Together, these options create a robust multi-Region architecture capable of meeting the specified RTO and RPO targets.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
A solutions architect is tasked with implementing a multi-Region architecture for an Amazon RDS for PostgreSQL database that supports a web application. The database is launched using an AWS CloudFormation template that includes AWS services and features available in both the primary and secondary Regions. The database is set up for automated backups with an RTO (Recovery Time Objective) of 15 minutes and an RPO (Recovery Point Objective) of 2 hours. The web application uses an Amazon Route 53 record to direct traffic to the database. What steps should be taken to ensure a highly available architecture that meets these requirements? (Select two options.)
A
Create a cross-Region read replica of the database in the secondary Region and configure an AWS Lambda function in the secondary Region to promote the read replica during a failover event.
B
In the primary Region, establish a health check on the database that triggers an AWS Lambda function upon detecting a failure. The Lambda function should then recreate the database from the latest snapshot in the secondary Region and update the Route 53 host records for the database.
C
Develop an AWS Lambda function to periodically copy the latest automated backup to the secondary Region every 2 hours.
D
Set up a failover routing policy in Route 53 for the database DNS record, specifying the primary and secondary endpoints in each respective Region.
E
Create a hot standby database in the secondary Region and utilize an AWS Lambda function to restore the secondary database to the most recent RDS automatic backup in the event of a primary database failure.