A SysOps Administrator is configuring Amazon S3 Cross-Region Replication (CRR) between a source bucket and a destination bucket using the AWS CLI. The administrator has already created an IAM role (`arn:aws:iam::123456789012:role/S3ReplicationRole`) with a trust policy allowing `s3.amazonaws.com` to assume it, and a permissions policy allowing replication actions. Both buckets have versioning enabled.
However, when the administrator runs the `aws s3api put-bucket-replication` command to apply the configuration, the command fails with the following error:
`An error occurred (AccessDenied) when calling the PutBucketReplication operation: Access Denied`
An inspection of the administrator's IAM policy shows full permissions to S3 (`s3:*`). Which of the following is the root cause of this error?
- AVersioning has not been enabled on the destination S3 bucket, causing S3 to deny the replication configuration request.
- BThe trust policy of the S3 replication IAM role does not list the administrator's IAM user as a trusted principal.
- CThe administrator's IAM policy lacks the `sts:AssumeRole` permission for the S3 replication role.
- The administrator's IAM policy does not grant the `iam:PassRole` permission for the S3 replication role.Cevap