Q43 — AWS SAP-C02 Ch.1
Question 43 of 75 | ← Chapter 1
Q118. A company is running an application in the AWS Cloud. The application runs on containers in an Amazon Elastic Container Service (Amazon ECS) cluster.The ECS tasks use the Fargate launch type.The application's data is relational and is stored in Amazon Aurora MySQL. To meet regulatory requirements, the application must be able to recover to a separate AWS Region in the event of an application failure. In case of a failure, no data can be lost.Which solution will meet these requirements with the LEAST amount of operational overhead?
- A. Provision an Aurora Replica in a different Region ✓
- B. Set up AWS DataSync for continuous replication of the data to a different Region
- C. Set up AWS Database Migration Service (AWS DMS) to perform a continuous replication of the data to a different Region
- D. Use Amazon Data Lifecycle Manager (Amazon DLM) to schedule a snapshot every 5 minutes
Correct Answer: A. Provision an Aurora Replica in a different Region
Explanation
To meet the requirements of recovering the application to a separate AWS Region in the event of an application failure without any data loss and with the least amount of operational overhead, the most suitable solution is: A. Provision an Aurora Replica in a different Region. Explanation: Option A is the most appropriate solution for this scenario. By provisioning an Aurora Replica in a different AWS Region, the application's data will be continuously replicated to the replica in real-time, ensuring data durability and availability in the event of a failure in the primary Region. Aurora Replicas use synchronous replication, which means that changes made to the primary Aurora instance are immediately replicated to the replica. This ensures that there is no data loss in case of a failure. Option B is not the ideal solution for this scenario. AWS DataSync is primarily used for transferring data between on-premises storage and AWS storage services. While it can be used for continuous replication, it is not the optimal choice for replicating data between AWS Regions, especially for an Aurora MySQL database. Option C is not the most suitable solution for this scenario. AWS Database Migration Service (AWS DMS) is typically used for migrating databases between different database engines or for replicating data between databases within the same Region. While it can be used for continuous replication, it introduces additional complexity and operational overhead compared to provisioning an Aurora Replica in a different Region. Option D is not the correct solution for this scenario. Amazon Data Lifecycle Manager (Amazon DLM) is used for automating the creation, retention, and deletion of Amazon EBS snapshots. It is not designed for replicating data between AWS Regions or ensuring high availability in the event of an application failure. Therefore, the correct solution is A: Provision an Aurora Replica in a different AWS Region.