An enterprise has an existing AWS Organizations structure where member accounts upload sensitive daily transaction logs to a centralized Amazon S3 bucket in a dedicated Logging account. Currently, the bucket uses Amazon S3 managed encryption keys (SSE-S3). To comply with a new security standard, a solutions architect must improve the data protection controls. The requirements are:
* All logs stored in the bucket must be encrypted using an AWS KMS customer managed key (CMK) managed by the Logging account.
* The member accounts must be able to write to the bucket and encrypt the objects using this KMS key.
* The Logging account must have full ownership and administrative control over all uploaded objects.
* All unencrypted uploads and uploads not using the specified KMS key must be blocked.
Which combination of actions should the solutions architect take to meet these requirements? (Select TWO.)
- Configure S3 Object Ownership to 'Bucket owner enforced' on the destination bucket, and add a bucket policy statement that denies s3:PutObject uploads if the s3:x-amz-server-side-encryption header is not set to aws:kms or if the s3:x-amz-server-side-encryption-aws-kms-key-id header does not specify the customer managed key's ARN.Answer
- Configure the customer managed key's policy in the Logging account to allow the member accounts' IAM roles to perform kms:GenerateDataKey and kms:Decrypt operations.Answer
- CDeploy a Service Control Policy (SCP) at the root level of the organization that explicitly grants member accounts permission to perform kms:GenerateDataKey and kms:Decrypt on the Logging account's KMS customer managed key.
- DConfigure the S3 bucket's default encryption to use the AWS-managed KMS key for Amazon S3 (aws/s3), and modify its policy to grant kms:GenerateDataKey and kms:Decrypt permissions to the member accounts' IAM roles.
- EAdd a statement to the S3 bucket policy in the Logging account that defines the Principal element directly as the AWS Organization ID (o-xxxxxxxxx), allowing member accounts to upload objects using default encryption without requiring explicit KMS key policy changes.