Q34 — AWS SAA-C03 Ch.11

Question 34 of 100 | ← Chapter 11

Q734. An online photo-sharing company stores its photos in an Amazon S3 bucket that exists in the us-west-1 Region. The company needs to store a copy of all new photos in the us-east-1 Region.Which solution will meet this requirement with the LEAST operational effort?

Correct Answer: A. Create a second S3 bucket in us-east-1. Use S3 Cross-Region Replication to copy photos from the existing S3 bucket to the second S3 bucket.

Explanation

To meet the requirement of storing a copy of all new photos in the us-east-1 Region with the least operational effort, the most suitable solution is:A. Create a second S3 bucket in us-east-1. Use S3 Cross-Region Replication to copy photos from the existing S3 bucket to the second S3 bucket.Option A, creating a second S3 bucket in us-east-1 and using S3 Cross-Region Replication to copy photos from the existing S3 bucket to the second S3 bucket, is the recommended solution to meet the requirements with the least operational effort:- S3 Cross-Region Replication: S3 Cross-Region Replication enables automatic and asynchronous copying of objects from one S3 bucket to another across different AWS Regions. It replicates the objects, including their metadata and permissions, to the destination bucket.By creating a second S3 bucket in the us-east-1 Region and configuring S3 Cross-Region Replication, all new photos uploaded to the existing S3 bucket in the us-west-1 Region will be automatically replicated to the second S3 bucket in the us-east-1 Region. This solution requires minimal operational effort once it is set up, as the replication process is handled by S3.Option B, creating a cross-origin resource sharing (CORS) configuration of the existing S3 bucket and specifying us-east-1 in the CORS rule's AllowedOrigin element, is not the most appropriate solution for storing a copy of all new photos in the us-east-1 Region. CORS is used to control access to resources from different domains or origins and does not provide automatic replication of objects between S3 buckets in different Regions.Option C, creating a second S3 bucket in us-east-1 and using an S3 Lifecycle rule to save photos into the second S3 bucket, is not the optimal solution for automatically copying all new photos. S3 Lifecycle rules are typically used for managing the lifecycle of objects within a single bucket, including transitioning objects to different storage classes or deleting them based on specified criteria.Option D, creating a second S3 bucket in us-east-1 and configuring S3 event notifications on object creation and update events to invoke an AWS Lambda function to copy photos from the existing S3 bucket to the second S3 bucket, can work but requires more operational effort compared to Option A. It involves setting up and managing the event notifications and the Lambda function to handle the copying of photos. S3 Cross-Region Replication (Option A) provides a simpler and more automated solution for replicating objects between S3 buckets in different Regions.Therefore, the solution that best meets the requirements with the least operational effort is A: Create a second S3 bucket in us-east-1. Use S3 Cross-Region Replication to copy photos from the existing S3 bucket to the second S3 bucket. This solution provides automatic replication of all new photos with minimal manual intervention.