SAP-C02 Exam QuestionsBrowse all questions from this exam

SAP-C02 Exam - Question 405


A company needs to implement a disaster recovery (DR) plan for a web application. The application runs in a single AWS Region.

The application uses microservices that run in containers. The containers are hosted on AWS Fargate in Amazon Elastic Container Service (Amazon ECS). The application has an Amazon RDS for MySQL DB instance as its data layer and uses Amazon Route 53 for DNS resolution. An Amazon CloudWatch alarm invokes an Amazon EventBridge rule if the application experiences a failure.

A solutions architect must design a DR solution to provide application recovery to a separate Region. The solution must minimize the time that is necessary to recover from a failure.

Which solution will meet these requirements?

Show Answer
Correct Answer: C

The best solution to minimize recovery time involves setting up a second ECS cluster and ECS service on Fargate in the separate Region and using a cross-Region read replica of the RDS DB instance. In the event of a failure, the read replica can quickly be promoted to the primary database, ensuring minimal downtime. The solution should also include an AWS Lambda function to promote the read replica to the primary database and update Route 53 to route traffic to the second ECS cluster. Updating the EventBridge rule to invoke the Lambda function ensures automatic failover when a failure is detected.

Discussion

10 comments
Sign in to comment
shaaam80Option: C
Nov 30, 2023

Answer C. Configure RDS read-replica instead of Snapshots. Invoke Lambda function to promote read-replica to primary and update Route53 to point to secondary region incase of DR

salazar35Option: C
Nov 26, 2023

The solution must minimize the time that is necessary to recover from a failure

GabrielDeBiasiOption: C
Nov 28, 2023

Answer c

_Juwon
Dec 14, 2023

C. read replica

cypkirOption: C
Nov 22, 2023

Answer: C

devalenzuela86Option: C
Nov 22, 2023

Answer c

thalaOption: C
Nov 23, 2023

Second ECS Cluster and RDS Read Replica with Lambda

career360guruOption: C
Jan 11, 2024

Option C

career360guruOption: C
Mar 8, 2024

Option C

gfhbox0083
Jul 12, 2024

C, for sure. It's not straight forward to Convert the RDS MySQL snapshot to an Amazon DynamoDB global table.