A SysOps Administrator is configuring cross-region replication (CRR) between two Amazon S3 buckets. The source bucket is located in the us-west-2 Region and the destination bucket is located in the us-east-1 Region. The administrator enables versioning on the source bucket and creates the necessary IAM replication role with trust permissions for the Amazon S3 service. However, the destination bucket is a newly created bucket that does not have versioning enabled. What will happen when the administrator attempts to save the replication configuration?
- The configuration will fail to save, and Amazon S3 will return an error indicating that versioning must be enabled on the destination bucket.Answer
- BThe configuration will save successfully, but replication will fail to copy any new objects until versioning is manually enabled on the destination bucket.
- CThe configuration will save successfully, but replication will fail because the replication IAM role must be granted the iam:PassRole permission within its own permissions policy.
- DThe configuration will save successfully, and Amazon S3 will automatically enable versioning on the destination bucket when the first replication event occurs.
Answer
The replication configuration will fail to save, and Amazon S3 will return an error indicating that versioning must be enabled on the destination bucket.
For S3 replication (both CRR and SRR), versioning must be enabled on both the source and destination buckets. If versioning is disabled on the destination bucket, Amazon S3 fails the validation check when the administrator tries to save the configuration, preventing the rule from being applied.
Step-by-Step Solution
Key Concept
S3 Versioning Requirements for Replication