DOP-C02 · Question #298
A company has an application that runs in a single AWS Region. The application runs on an Amazon Elastic Kubernetes Service (Amazon EKS) cluster and connects to an Amazon Aurora MySQL cluster. The…
The correct answer is C. Turn on Cross-Region Replication to replicate the ECR repository to the second Region. Deploy. Turning on Cross-Region Replication for the ECR repository ensures that container images are automatically and efficiently replicated to the second region without manual intervention or custom Lambda functions. This reduces operational overhead and provides a streamlined, fully…
Question
A company has an application that runs in a single AWS Region. The application runs on an Amazon Elastic Kubernetes Service (Amazon EKS) cluster and connects to an Amazon Aurora MySQL cluster. The application is built in an AWS CodeBuild project. The container images are published to Amazon Elastic Container Registry (Amazon ECR). The company needs to replicate the state of the application for the container images and the database to a second Region. Which solution will meet these requirements in the MOST operationally efficient way?
Options
- ATurn on Amazon S3 Cross-Region Replication (CRR) on the bucket that holds the ECR container
- BCreate an Amazon EventBridge rule that reacts to image pushes to the ECR repository.
- CTurn on Cross-Region Replication to replicate the ECR repository to the second Region. Deploy
- DConfigure the CodeBuild project to also push the container image to an ECR repository in the
How the community answered
(12 responses)- A17% (2)
- B8% (1)
- C75% (9)
Explanation
Turning on Cross-Region Replication for the ECR repository ensures that container images are automatically and efficiently replicated to the second region without manual intervention or custom Lambda functions. This reduces operational overhead and provides a streamlined, fully managed replication process. Aurora Global Database is purpose-built for cross-region replication with near real-time replication and low latency between AWS Regions. It allows read and write operations to be handled in the primary region and replication to happen asynchronously to the secondary region, with minimal lag. It offers the best performance and operational efficiency for replicating the database across regions, meeting the need to replicate the Aurora MySQL cluster. Both the Cross-Region Replication for ECR and the Aurora Global Database are AWS-native solutions designed for multi-region replication. They require minimal manual configuration and ongoing maintenance, making them the most operationally efficient options. They scale automatically and reduce the need for custom-built solutions like Lambda functions or EventBridge rules.
Topics
Community Discussion
No community discussion yet for this question.