An enterprise is designing a multi-account AWS environment using AWS Organizations. The security team requires all CloudTrail logs from all member accounts to be aggregated into a centralized Amazon S3 bucket located in a dedicated Security account. The logs must be encrypted at rest using a Key Management Service (KMS) key. Additionally, member accounts must be prohibited from modifying or disabling the logging configuration. Which of the following configurations should the Solutions Architect implement to meet these requirements? (Select TWO.)
- Configure an organization trail in AWS CloudTrail from the management account that sends logs to the centralized S3 bucket in the Security account, and encrypt the logs using a Customer Managed Key (CMK) in the Security account with a key policy that allows the CloudTrail service principal cross-account access.Cevap
- Attach a Service Control Policy (SCP) to the organization root that denies cloudtrail:StopLogging, cloudtrail:DeleteTrail, and cloudtrail:UpdateTrail actions to prevent member accounts from altering the logging configuration.Cevap
- CConfigure the CloudTrail trail to encrypt logs using the AWS-managed KMS key for Amazon S3 (aws/s3) in the Security account, and update its key policy to allow cross-account access for the member accounts.
- DAttach a Service Control Policy (SCP) to the member accounts' Organizational Unit (OU) that grants s3:PutObject permissions to the centralized logging bucket, removing the need for local IAM policies.
- EConfigure the centralized S3 bucket policy to allow write access to the management account only, assuming the CloudTrail organization trail uses the management account's credentials to write logs from member accounts.
Cevap
To secure centralized logging in a multi-account environment, the Solutions Architect must deploy an organization trail in AWS CloudTrail using a Customer Managed Key in the Security account with appropriate cross-account permissions, and enforce trail protection by attaching an SCP to the organization root that denies deletion or modification of CloudTrail configurations.
Deploying an organization trail from the management account ensures consistent logging across all member accounts. Since the logs must be encrypted, a Customer Managed Key (CMK) is required in the Security account to permit the cross-account CloudTrail service principal to write encrypted objects. To prevent member accounts from changing this setup, a Service Control Policy (SCP) must be attached to the root of the organization to deny unauthorized modifications to CloudTrail configurations.
Adım Adım Çözüm
Anahtar Kavram
Multi-account governance through organization trails, cross-account KMS CMK policies, and Service Control Policies as permission boundaries.