A financial services company is centralizing audit transaction logs from multiple member accounts within an AWS Organization into a single Amazon S3 bucket in a dedicated Compliance account. The existing logs in the member accounts are currently encrypted using Customer Managed Keys (CMKs) in AWS Key Management Service (AWS KMS). The company requires that all replicated logs in the Compliance account be encrypted with a key owned by the Compliance account, and that member accounts must be blocked from decrypting any logs once they are successfully copied. Additionally, all existing logs must be backfilled to the centralized bucket. A Solutions Architect configures S3 Cross-Region Replication (CRR) on the source buckets in the member accounts. However, the replication jobs fail to copy any existing logs, and new logs replicated to the Compliance account remain encrypted with the member accounts' KMS keys. Which combination of actions will successfully resolve these issues and meet the security requirements?
- AConfigure default encryption on the destination S3 bucket in the Compliance account using the default AWS managed KMS key (aws/s3). Update the IAM replication roles in the member accounts to grant cross-account permissions for the aws/s3 key, then execute an S3 Batch Operations job to copy the existing logs.
- BCreate a Customer Managed Key (CMK) in the Compliance account. Attach a Service Control Policy (SCP) to the organization's root that explicitly permits the member accounts' replication roles to perform kms:GenerateDataKey, kms:Encrypt, and kms:Decrypt actions on the Compliance account's CMK. Run an S3 Batch Replication job in each member account.
- Create a Customer Managed Key (CMK) in the Compliance account and modify its key policy to grant the source replication IAM roles kms:GenerateDataKey and kms:Encrypt permissions. Configure replication rules in the member accounts to use the Compliance account's CMK for encrypting replicas, and execute S3 Batch Replication jobs in each member account to backfill the existing logs.Answer
- DCreate a Customer Managed Key (CMK) in the Compliance account. Update the destination S3 bucket policy in the Compliance account to grant kms:GenerateDataKey and kms:Encrypt permissions on the CMK to the replication IAM roles of the member accounts. Configure the member accounts' replication rules to point to the destination bucket's key, and run S3 Batch Replication jobs.