Q63 — AWS SAP-C02 Ch.3
Question 63 of 75 | ← Chapter 3
Q288. A company implements a containerized application by using Amazon Elastic Container Service (Amazon ECS) and Amazon API Gateway. The application data is stored in Amazon Aurora databases and Amazon DynamoDB databases. The company automates infrastructure provisioning by using AWS CloudFormation. The company automates application deployment by using AWS CodePipeline. A solutions architect needs to implement a disaster recovery (DR) strategy that meets an RPO of 2 hours and an RTO of 4 hours. Which solution will meet these requirements MOST cost-effectively?
- A. Set up an Aurora global database and DynamoDB global tables to replicate the databases to a secondary AWS Region. In the primary Region and in the secondary Region, configure an API Gateway API with a Regional endpoint. Implement Amazon CloudFront with origin failover to route traffic to the secondary Region during a DR scenario
- B. Use AWS Database Migration Service (AWS DMS),Amazon EventBridge (Amazon CloudWatch Events),and AWS Lambda to replicate the Aurora databases to a secondary AWS Region. Use DynamoDB Streams, EventBridge (CloudWatch Events),and Lambda to replicate the DynamoDB databases to the secondary Region. In the primary Region and in the secondary Region, configure an API Gateway with a Regional endpoint. Implement Amazon Route 53 failover routing to switch traffic from the primary Region to the secondary Region
- C. Use AWS Backup to create backups of the Aurora databases and the DynamoDB databases in a secondary AWS Region. In the primary Region and in the secondary Region, configure an Gateway with a Regional endpoint. Implement Amazon Route 53 failover routing to switch traffic from the primary Region to the secondary Region ✓
- D. Set up an Aurora global database and DynamoDB global tables to replicate the databases to a secondary AWS Region. In the primary Region and in the secondary Region, configure an Gateway API with a Regional endpoint. Implement Amazon Route 53 failover routing to switch traffic from the primary Region to the secondary Region
Correct Answer: C. Use AWS Backup to create backups of the Aurora databases and the DynamoDB databases in a secondary AWS Region. In the primary Region and in the secondary Region, configure an Gateway with a Regional endpoint. Implement Amazon Route 53 failover routing to switch traffic from the primary Region to the secondary Region
Explanation
To meet the DR requirements of an RPO of 2 hours and an RTO of 4 hours for a containerized application using Amazon ECS and API Gateway with data stored in Aurora databases and DynamoDB databases, the solution should be to use AWS Backup to create backups of the Aurora and DynamoDB databases in a secondary AWS Region. In the primary Region and in the secondary Region, configure an API Gateway with a Regional endpoint and implement Amazon Route 53 failover routing to switch traffic from the primary Region to the secondary Region in case of a DR scenario. Option C is the correct solution: C. Use AWS Backup to create backups of the Aurora databases and the DynamoDB databases in a secondary AWS Region. In the primary Region and in the secondary Region, configure an Gateway with a Regional endpoint. Implement Amazon Route 53 failover routing to switch traffic from the primary Region to the secondary Region. Using AWS Backup to create backups of the Aurora and DynamoDB databases in a secondary AWS Region will allow for cost-effective and efficient replication of the application data and meeting the RPO/ RTO requirements. Using Amazon Route 53 failover routing will allow for automated switching of traffic from the primary Region to the secondary Region in the event of a DR scenario. Option A is incorrect because configuring Amazon CloudFront with origin failover may not meet the DR requirements as it does not provide automatic switchover in the event of a DR scenario. Also, setting up an Aurora global database and DynamoDB global tables requires additional configuration. Option B is incorrect because using AWS DMS, EventBridge, and Lambda to replicate the data to a secondary AWS Region may incur additional costs and complexity. Option D is incorrect because using only Aurora global database and DynamoDB global tables to replicate data may not be sufficient for meeting the DR requirements specified in this scenario. Additionally, Amazon Route 53 failover routing should also be implemented to enable traffic routing during a DR scenario.