A retail company is designing a new compliance-regulated transaction ingestion pipeline. The architecture utilizes two AWS accounts within the same AWS Organization: an Ingestion Account (account ID 111122223333) and an Analytics Account (account ID 444455556666). An application running on Amazon ECS tasks in the Ingestion Account must write transactional data directly to an Amazon S3 bucket in the Analytics Account. The security architecture mandates that all uploaded data must be encrypted at rest, and the Analytics Account must retain absolute ownership of all objects uploaded by the external Ingestion Account without requiring the use of S3 Access Control Lists (ACLs). Which TWO configurations must be implemented to establish this secure cross-account ingestion pipeline? (Select TWO.)
- In the Analytics Account, configure the S3 Object Ownership setting on the S3 bucket to Bucket owner enforced to disable ACLs and automatically transfer ownership of all uploaded objects.Answer
- In the Analytics Account, configure the S3 bucket default encryption to use a Customer Managed Key (CMK), and update its key policy to grant the ECS task role in the Ingestion Account permissions for kms:GenerateDataKey and kms:Decrypt.Answer
- CIn the Analytics Account, configure the S3 bucket default encryption to use the AWS-managed KMS key for S3 (aws/s3), and configure the key policy to delegate cross-account access to the ECS task role in the Ingestion Account.
- DIn the Ingestion Account, configure an IAM policy attached to the ECS task role to grant write access to the S3 bucket in the Analytics Account, and omit the S3 bucket policy in the Analytics Account as IAM permissions are transitive across accounts within the same Organization.
- EAttach a Service Control Policy (SCP) to the Organizational Unit (OU) containing the Ingestion Account that explicitly grants the ECS task role access to write to the S3 bucket in the Analytics Account, eliminating the need to configure a local IAM policy in the Ingestion Account.