Q98 — AWS DOP-C02 Ch.3

Question 98 of 100 | ← Chapter 3

A company operates an application 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. Container images are published to Amazon Elastic Container Registry (Amazon ECR). The company needs to replicate the container images and database state to a second Region. Which solution meets these requirements most efficiently?

Correct Answer: C. Enable cross-Region replication to replicate the ECR repository to the second Region. Deploy the application to an EKS cluster in the second Region, referencing the new ECR repository in the Kubernetes deployment files. Configure an Aurora Global Database spanning the initial Region and the second Region. Configure the new application deployment to use the endpoint of the second Region’s cluster in the Aurora Global Database.

Explanation

Amazon ECR supports cross-Region replication of container images, automatically synchronizing them to a target Region’s ECR repository. Amazon Aurora Global Database enables cross-Region deployment with one primary (read-write) cluster and secondary (read-only) clusters, providing low-latency global reads and disaster recovery capabilities. Option C leverages native ECR cross-Region replication for container images and Aurora Global Database for database replication. Other options either avoid using ECR’s native replication or rely on non-Global Database replication mechanisms, resulting in lower efficiency or functional limitations.