An enterprise is designing a centralized compliance and auditing architecture using AWS Organizations. The organization consists of a management account, a dedicated Logging account, and multiple member accounts. A solutions architect must configure a single AWS CloudTrail trail at the organization level that automatically aggregates log files from all current and future member accounts into an Amazon S3 bucket located in the Logging account.
The architecture must enforce the following security requirements:
- All log files stored in the S3 bucket must be encrypted at rest using a customer managed key (CMK) in AWS KMS that is managed by the Logging account.
- The member accounts must have no ability to read, decrypt, or delete the aggregated logs.
- The Logging account's security team must have exclusive permission to decrypt and analyze the logs.
- The solution must ensure that log delivery is secure and follows the principle of least privilege.
Which TWO configuration steps should the solutions architect perform to meet these requirements?
- Configure a key policy for the customer managed key in the Logging account that grants `kms:GenerateDataKey*` and `kms:DescribeKey` permissions to the `cloudtrail.amazonaws.com` service principal with a condition restricting `aws:SourceArn` to the Organization Trail ARN, and restrict `kms:Decrypt` permissions to authorized security roles in the Logging account.Answer
- Configure an S3 bucket policy on the destination bucket in the Logging account that grants `s3:PutObject` and `s3:GetBucketAcl` permissions to the `cloudtrail.amazonaws.com` service principal, requiring the `s3:x-amz-acl` header to be set to `bucket-owner-full-control`, and restricting the S3 resource path to `AWSLogs/o-orgid/*` where `o-orgid` is the organization ID.Answer
- CEnable S3 default encryption on the destination bucket using the AWS managed key `aws/s3` in the Logging account, and configure the S3 bucket policy to allow the AWS Organizations management account and all member accounts to perform `kms:Decrypt` and `kms:GenerateDataKey` operations.
- DApply a Service Control Policy (SCP) at the root level of the organization that explicitly grants `s3:PutObject` and `kms:GenerateDataKey` permissions to the `cloudtrail.amazonaws.com` service principal for the centralized bucket and KMS key, eliminating the need for resource-based policies.
- EConfigure the S3 bucket policy in the Logging account to allow the IAM roles of all member accounts in the organization to perform `s3:PutObject` and `s3:GetBucketAcl` on the bucket, ensuring that local member account processes can deliver the logs.