AWS Certified Solutions Architect – Professional — Question 650
A solutions architect must implement a multi-Region architecture for an Amazon RDS for PostgreSQL database that supports a web application. The database launches from an AWS CloudFormation template that includes AWS services and features that are present in both the primary and secondary Regions.
The database is configured for automated backups, and it has an RTO of 15 minutes and an RPO of 2 hours. The web application is configured to use an Amazon
Route 53 record to route traffic to the database.
Which combination of steps will result in a highly available architecture that meets all the requirements? (Choose two.)
Answer options
- A. Create a cross-Region read replica of the database in the secondary Region. Configure an AWS Lambda function in the secondary Region to promote the read replica during failover event.
- B. In the primary Region, create a health check on the database that will invoke an AWS Lambda function when a failure is detected. Program the Lambda function to recreate the database from the latest database snapshot in the secondary Region and update the Route 53 host records for the database.
- C. Create an AWS Lambda function to copy the latest automated backup to the secondary Region every 2 hours.
- D. Create a failover routing policy in Route 53 for the database DNS record. Set the primary and secondary endpoints to the endpoints in each Region.
- E. Create a hot standby database in the secondary Region. Use an AWS Lambda function to restore the secondary database to the latest RDS automatic backup in the event that the primary database fails.
Correct answer: A, D
Explanation
Creating a cross-Region read replica (Option A) allows for near-instantaneous data replication to the secondary Region, ensuring the low RPO of 2 hours is met and allowing a Lambda function to promote it within the 15-minute RTO during a failover. Configuring a Route 53 failover routing policy (Option D) seamlessly diverts application database traffic to the secondary endpoint once the replica is promoted. Restoring databases from automated backups (Options B and E) takes too long and would violate the strict 15-minute RTO requirement.