Question

Difficulty: MediumS3 Reliability and Replication

A SysOps Administrator is setting up Amazon S3 replication to copy data between two buckets. After configuring the replication rules and applying the configuration, the administrator notices that objects uploaded to the source bucket are not appearing in the destination bucket, and the replication status shows as failed.

Which configuration errors could be causing this replication failure? (Select TWO.)

  1. The IAM trust policy of the replication role does not list the s3.amazonaws.com service principal as a trusted entity.Answer
  2. S3 versioning is enabled on the source bucket, but it has not been enabled on the destination bucket.Answer
  3. C
    S3 versioning is suspended on the destination bucket to optimize storage costs, as only the source bucket requires active versioning.
  4. D
    The replication role's permissions policy contains the iam:PassRole action on the destination bucket resource rather than S3 API permissions.
  5. E
    The destination bucket has a lifecycle rule configured to transition objects back to S3 Standard from S3 Standard-IA within 15 days of replication.

Answer

The correct configurations are to ensure the IAM trust policy of the replication role trusts the Amazon S3 service principal, and S3 versioning is enabled on both the source and destination buckets.
The replication configuration requires both source and destination S3 buckets to have versioning enabled. In addition, the IAM role used by S3 for replication must have a trust policy allowing the Amazon S3 service principal (s3.amazonaws.com) to assume the role via sts:AssumeRole.

Step-by-Step Solution

1
Inspect S3 versioning status on both the source and destination buckets.
Confirm versioning is enabled on both buckets.
S3 replication requires versioning to be active on both the source and destination buckets.
2
Inspect the trust relationship policy of the replication IAM role.
Ensure the service principal s3.amazonaws.com is allowed to assume the role.
Amazon S3 must be allowed to perform sts:AssumeRole to run replication on behalf of the customer.

Key Concept

Amazon S3 replication requires versioning enabled on both buckets and a correct IAM trust policy allowing S3 to assume the replication role.
Rate this question