A SysOps Administrator is setting up an organization trail in AWS CloudTrail to log all API activity across all accounts in an AWS Organization. The trail is created in the management account (account ID ) and is configured to deliver logs to an Amazon S3 bucket named `org-audit-logs` located in a dedicated security tooling account (account ID ). The administrator also configures the trail to encrypt all log files using a customer managed KMS key, which is also located in the security tooling account (). However, after configuring the trail, the administrator detects that log files are not appearing in the S3 bucket, and CloudTrail reports delivery errors. Which of the following configuration steps must be performed in the security tooling account () to resolve this issue and enable successful log delivery? (Select TWO.)
- Configure the S3 bucket policy on `org-audit-logs` to grant the `cloudtrail.amazonaws.com` service principal the `s3:GetBucketAcl` permission on the bucket resource and the `s3:PutObject` permission on the prefix `arn:aws:s3:::org-audit-logs/AWSLogs/o-exampleorgid/*`.Answer
- Configure the KMS key policy in the security tooling account to allow the `cloudtrail.amazonaws.com` service principal to perform `kms:GenerateDataKey*` and `kms:Decrypt` actions, with a condition restricting `aws:SourceArn` to the trail ARN in the management account.Answer
- CConfigure the S3 bucket policy on `org-audit-logs` to grant the management account's IAM root principal (`arn:aws:iam::111122223333:root`) the `s3:PutObject` permission on the prefix `arn:aws:s3:::org-audit-logs/AWSLogs/111122223333/*`.
- DAttach an IAM policy to the CloudTrail service-linked role in the management account () that allows `kms:GenerateDataKey*` and `kms:Decrypt` permissions on the customer managed KMS key in the security tooling account.
- EConfigure the S3 bucket policy on `org-audit-logs` to grant the `cloudtrail.amazonaws.com` service principal `s3:PutObject` permissions restricted only to the path `arn:aws:s3:::org-audit-logs/AWSLogs/111122223333/*`.