A media conglomerate is designing a security and compliance architecture for a new video processing pipeline. The pipeline involves a transcoding application running on Amazon ECS tasks in the Media Processing account (Account 111122223333). The processed video files must be written directly to a centralized Amazon S3 bucket located in the Compliance Archive account (Account 444455556666). The S3 bucket is encrypted using a Customer Managed Key (CMK) in the Compliance Archive account. The regulatory team requires that all uploaded videos are owned exclusively by the Compliance Archive account, and the ECS tasks must be able to encrypt the objects during upload. Which combination of configurations will allow the ECS tasks to successfully write the files to the centralized S3 bucket? (Select TWO.)
- Enable S3 Object Ownership with the Bucket Owner Enforced setting on the S3 bucket in the Compliance Archive account, and configure the S3 bucket policy to grant s3:PutObject permissions to the ECS task role in the Media Processing account.Answer
- Configure the KMS key policy in the Compliance Archive account to grant kms:GenerateDataKey and kms:Decrypt permissions to the ECS task role in the Media Processing account, and configure the ECS task IAM policy in the Media Processing account to grant the same KMS permissions.Answer
- CConfigure the S3 bucket in the Compliance Archive account to use the AWS-managed key aws/s3 for encryption, and configure the ECS task role in the Media Processing account with IAM permissions to access this AWS-managed key.
- DConfigure the S3 bucket policy in the Compliance Archive account to grant s3:PutObject permissions to the Media Processing account, and configure the S3 bucket to use the default aws/s3 AWS-managed key to allow cross-account encryption.
- EAttach a Service Control Policy (SCP) to the Organizational Unit (OU) containing the Media Processing account that explicitly grants s3:PutObject and kms:GenerateDataKey permissions to the ECS task execution role.