A logistics company is designing a centralized compliance auditing and log monitoring architecture across its AWS Organization, which currently consists of 120 member accounts. The security team mandates that all AWS CloudTrail logs must be consolidated into a single Amazon S3 bucket located in a dedicated Security account. The architecture must satisfy the following constraints:
- All log data must be encrypted at rest using a customer managed key (CMK) in AWS KMS to meet regulatory requirements.
- The encryption key and S3 bucket must reside in the Security account to isolate auditing assets.
- Administrators in individual member accounts must not be able to modify, disable, or delete the logging configuration, nor should they have access to decrypt or tamper with the logs.
- The configuration must automatically scale to new accounts vended through the organization's automation pipeline.
Which TWO actions should the Solutions Architect take to implement this architecture?
- Create a customer managed KMS key and an S3 bucket in the centralized Security account. Configure the KMS key policy to grant the AWS CloudTrail service principal permissions to perform kms:GenerateDataKey* and kms:Decrypt actions, restricted by a condition matching the organization ID. Configure the S3 bucket policy to allow the CloudTrail service principal to perform s3:PutObject and s3:GetBucketAcl actions, conditional on the organization ID.Cevap
- Deploy an organization trail from the AWS Organizations management account configured to deliver log files to the centralized S3 bucket, specifying the customer managed KMS key for log encryption. Attach a Service Control Policy (SCP) to the organization root that denies member accounts the permissions to delete, update, or stop CloudTrail configurations.Cevap
- CConfigure the S3 bucket in the centralized Security account to use default encryption with the AWS-managed KMS key (aws/s3). Apply a bucket policy that grants s3:PutObject access to the CloudTrail service principal for all AWS accounts within the organization.
- DCreate an IAM role in each member account that grants permission to write log files to the S3 bucket in the Security account. Configure the organization trail to assume these regional IAM roles to authenticate and deliver the logs, and update the S3 bucket policy in the Security account to trust these IAM roles.
- EAttach a Service Control Policy (SCP) to the organization root that grants the CloudTrail service principal explicit permissions to write to the centralized S3 bucket and generate data keys using the customer managed KMS key, thereby bypassing local resource policy requirements.