A healthcare software provider is reviewing its centralized logging architecture in AWS. Currently, AWS CloudTrail logs from multiple member accounts in an AWS Organization are consolidated into an Amazon S3 bucket located in a dedicated Security account. The S3 bucket is configured with default encryption using the AWS managed key aws/s3.
To meet new regulatory compliance requirements, the solutions architect must enhance data protection. The requirements specify:
1. All log data must be encrypted at rest using a customer-managed key with automatic annual rotation.
2. Spoke accounts must be able to write their CloudTrail logs to the destination S3 bucket.
3. Cross-account access to the KMS key and S3 bucket must be restricted to the minimum required permissions.
Which combination of actions should the solutions architect take to meet these requirements? (Select TWO.)
- Create a customer managed KMS key in the Security account with automatic key rotation enabled. Update the key policy to grant the AWS CloudTrail service principal permissions for the kms:GenerateDataKey* and kms:Decrypt actions, restricted using the aws:PrincipalOrgID condition.Answer
- Update the S3 bucket policy in the Security account to grant the AWS CloudTrail service principal permissions for the s3:PutObject and s3:GetBucketAcl actions, restricted using the aws:PrincipalOrgID condition.Answer
- CModify the default S3 bucket encryption to use the AWS managed key aws/s3 and update the key policy via the AWS CLI to delegate cross-account access to the member accounts.
- DCreate a Service Control Policy (SCP) at the Organization root that grants the cloudtrail.amazonaws.com service principal permissions to perform kms:GenerateDataKey* on the aws/s3 managed key across all member accounts.
- EUpdate the S3 bucket policy in the Security account to grant the wildcard principal ("Principal": "*") full s3:* permissions, and use IAM policies in each member account to restrict write access to their respective CloudTrail service roles.