A web application stores static files in Amazon S3. Due to regulatory requirements, the company must ensure that the files are replicated to a secondary region. What is the most efficient way to achieve this?
S3 Cross-Region Replication is the native, AWS-recommended way to handle automated, asynchronous replication of objects between buckets in different regions. It ensures data durability and compliance with disaster recovery policies by keeping a secondary copy of the data in a separate geographic region with minimal latency and no manual intervention.
Why this answer
S3 Cross-Region Replication (CRR) is the most efficient and native way to automatically replicate objects from a source bucket to a destination bucket in a different region. It replicates new objects as they are uploaded and can also replicate existing objects if configured, providing a managed, low-latency replication solution that meets regulatory requirements.
Exam trap
The trap is selecting custom or hybrid solutions like Lambda triggers or DataSync when a native, automated S3 feature (CRR) directly addresses the requirement with less operational overhead.
How to eliminate wrong answers
Option A is wrong because AWS DataSync is designed for migrating or copying data between on-premises storage and AWS, or between AWS storage services, but it is not a continuous replication mechanism for S3-to-S3 and requires scheduling and management overhead. Option C is wrong because triggering a Lambda function on every upload to copy objects is a custom, serverless approach that adds complexity, potential failures, and does not handle large objects or metadata as efficiently as native CRR. Option D is wrong because AWS Storage Gateway is for hybrid cloud storage integration, not for replicating S3 data between regions.