SAP-C02 practice question 13 of 35

A company's solutions architect is reviewing a web application that runs on AWS. The application references static assets in an Amazon S3 bucket in the us-east-1 Region. The company needs resiliency across multiple AWS Regions. The company already has created an S3 bucket in a second Region. Which solution will meet these requirements with the LEAST operational overhead?

Full set: 689 questions

Domain Accelerate Workload Migration and Modernization

Answer options
A: Configure the application to write each object to both S3 buckets. Set up an Amazon Route 53 public hosted zone with a record set by using a weighted routing policy for each S3 bucket. Configure the application to reference the objects by using the Route 53 DNS name.
B: Create an AWS Lambda function to copy objects from the S3 bucket in us-east-1 to the S3 bucket in the second Region. Invoke the Lambda function each time an object is written to the S3 bucket in us- east-1. Set up an Amazon CloudFront distribution with an origin group that contains the two S3 buckets as origins.
C: Configure replication on the S3 bucket in us-east-1 to replicate objects to the S3 bucket in the second Region Set up an Amazon CloudFront distribution with an origin group that contains the two S3 buckets as origins. Correct answer
D: Configure replication on the S3 bucket in us-east-1 to replicate objects to the S3 bucket in the second Region. If failover is required, update the application code to load S3 objects from the S3 bucket in the second Region.
Correct Answer:
C. Configure replication on the S3 bucket in us-east-1 to replicate objects to the S3 bucket in the second Region Set up an Amazon CloudFront distribution with an origin group that contains the two S3 buckets as origins.
Explanation

This solution provides the highest resiliency with the lowest operational overhead by leveraging two fully managed AWS services. S3 Cross-Region Replication (CRR) automatically and asynchronously copies objects from the primary bucket to the secondary bucket without requiring any custom code or application logic. Amazon CloudFront with an origin group provides automated failover at the content delivery layer. If the primary origin (the us-east-1 S3 bucket) becomes unavailable, CloudFront will automatically route user requests to the secondary origin (the S3 bucket in the second region). This combination creates a robust, self-healing architecture that requires only initial configuration, perfectly aligning with the "least operational overhead" requirement.

Why Incorrect

A. Requiring the application to perform dual writes adds significant complexity and a point of failure to the application code, which increases, rather than minimizes, operational overhead.
B. Using a custom AWS Lambda function to replicate objects requires development, deployment, and ongoing maintenance, which has higher operational overhead than the managed S3 Replication service.
D. A manual failover process that requires updating application code is slow, error-prone, and involves significant operational effort during an outage, directly contradicting the core requirement.

References

1. Amazon S3 User Guide - Replicating objects: "Amazon S3 Replication is a fully managed, low-cost feature that replicates objects between S3 buckets... S3 Replication provides an automated mechanism for copying objects." This source validates the use of S3 Replication as a managed, automated solution with low overhead.

2. Amazon CloudFront Developer Guide - Optimizing high availability with CloudFront origin failover: "You can set up CloudFront with origin failover for scenarios that require high availability. To get started, you create an origin group with two origins: a primary and a secondary. If the primary origin is unavailable... CloudFront automatically switches to the secondary origin." This confirms that CloudFront with an origin group is the correct managed service for automated failover.

3. AWS Whitepaper: Disaster Recovery of Workloads on AWS: Recovery in the Cloud (July 2021) - Page 18: This whitepaper discusses data backup strategies. It highlights using "Amazon S3 Cross-Region Replication to replicate data to another Region" as a key method for multi-region data resiliency, reinforcing it as a best practice.

Scroll to Top