An enterprise SaaS company is building a collaborative video processing pipeline across multiple AWS accounts within an AWS Organizations organization. The media ingestion application runs on Amazon EC2 instances in Account A (AWS account ID: ) and must upload raw media files directly to an Amazon S3 bucket located in Account B (AWS account ID: ).
The following security controls are required:
1. All objects uploaded to the S3 bucket must be encrypted at rest using an AWS KMS Customer Managed Key (CMK) located in Account B.
2. The S3 bucket owner (Account B) must automatically own all uploaded objects and have full control over them, disabling access control lists (ACLs).
3. The ingestion application's IAM role in Account A must have the minimum necessary privileges to perform the uploads and encrypt the objects.
Which combination of actions must the Solutions Architect perform to meet these requirements? (Select TWO.)
- In Account B, configure the KMS Customer Managed Key policy to grant the ingestion application's IAM role in Account A permissions to perform the kms:GenerateDataKey and kms:Decrypt actions.Answer
- In Account B, configure the S3 bucket to use the Bucket Owner Enforced setting for S3 Object Ownership, and update the bucket policy to grant s3:PutObject permissions to the ingestion application's IAM role in Account A.Answer
- CIn Account B, configure the S3 bucket to use the AWS-managed KMS key for Amazon S3 (aws/s3) for default encryption, and configure the bucket policy to delegate cross-account access to Account A.
- DIn AWS Organizations, attach a Service Control Policy (SCP) to the Organizational Unit (OU) containing Account A that explicitly allows the ingestion application's IAM role to perform s3:PutObject and kms:GenerateDataKey actions.
- EIn Account B, configure the S3 bucket policy with the Principal set to a wildcard '*' and use the aws:PrincipalOrgID condition key, relying on Account A's local IAM policy to restrict write access to the ingestion application.