SAA-C03 practice question: Multi-Region data replication (2 of 2)
Design Resilient Architectures A free question from our original SAA-C03 practice exam. Try it, then open the answer to see why each option is right or wrong.
A medical laboratory stores test reports in an Amazon S3 bucket in eu-west-2.
A new regulation requires that every report uploaded from now on is automatically copied to a second bucket, in the same AWS account, in eu-west-1. Reports already in the bucket do not need to be copied.
To control cost, the copies must be stored in the S3 Standard-IA storage class. The team wants to use managed S3 features rather than custom code.
Which TWO actions should a solutions architect take? (Choose two.)
Choose two answers.
AA. Turn on S3 Versioning for both buckets: the source bucket in eu-west-2 and the destination bucket in eu-west-1.
BB. Turn on S3 Versioning for the source bucket only, because the destination bucket just receives copies of new reports.
CC. Add an S3 Lifecycle rule to the source bucket that transitions each new report to Standard-IA in the eu-west-1 bucket.
DD. Add a replication rule on the source bucket that targets the eu-west-1 bucket with Standard-IA, using an IAM role for S3.
EE. Configure S3 Event Notifications to invoke an AWS Lambda function that copies each new report to the eu-west-1 bucket.
B. Wrong: Versioning on the source alone is not enough: S3 replication requires versioning on both the source and the destination buckets. Without it on the destination, the replication rule cannot be used and objects show a failed replication status. Learn more: How S3 Versioning works (opens in a new tab)
C. Wrong: Lifecycle rules change the storage class of objects or expire them within the same bucket. They cannot copy or move objects to another bucket or Region, so they cannot meet the copy requirement. Replication is the feature that copies objects to another Region. Learn more: Managing the lifecycle of objects (opens in a new tab)
D. Right: Correct. A replication rule copies new objects to the destination bucket automatically, using an IAM role that grants S3 permission to read the source and write to the destination. The rule can set the storage class of the replicas, so the copies can go straight into Standard-IA. Existing objects are not replicated, which the scenario allows. Learn more: Replicating objects within and across Regions (opens in a new tab)
Copying new objects to a bucket in another Region is S3 Cross-Region Replication. It needs versioning on both buckets, and a replication rule on the source bucket with an IAM role that S3 can assume; the rule can also set the replicas' storage class to Standard-IA. Lifecycle rules cannot move objects between Regions, and a Lambda copy is custom code.
Want more on Multi-Region data replication? The 5 full-length practice sets have 10 more Multi-Region data replication questions, 325 in all, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets →