A multinational financial enterprise is building a regulatory reporting data pipeline. The application tier runs on Amazon EC2 instances in an Application Account (Account A: ). The reporting logs must be delivered to an Amazon S3 bucket in a Centralized Security Account (Account B: ). The compliance requirements mandate that all logs must be encrypted at rest using a Key Management Service (KMS) key, and the Centralized Security Account must have full ownership of all uploaded objects to prevent access delegation issues. The application tier must only have permissions to write objects and must not be allowed to decrypt the logs once written. Which combination of actions must the solutions architect take to meet these security requirements? (Select TWO.)
- Enable S3 Object Ownership with the Bucket Owner Enforced setting on the S3 bucket in Account B, and configure the S3 bucket policy in Account B to grant s3:PutObject permissions to Account A's EC2 instance profile role.Answer
- Create a customer managed KMS key in Account B, configure its key policy to grant kms:GenerateDataKey permissions to Account A's EC2 instance profile role, and configure the S3 bucket in Account B to use this customer managed KMS key for default encryption.Answer
- CEnable default encryption on the destination S3 bucket in Account B using the default AWS managed key (aws/s3), and configure a Service Control Policy (SCP) in the organization to grant Account A cross-account access to the AWS managed key.
- DConfigure the S3 bucket policy in Account B to grant s3:PutObject permissions to Account A's IAM role, and include kms:GenerateDataKey permissions within the S3 bucket policy to allow Account A to encrypt the objects.
- ECreate an IAM role in Account B that has permissions to write to the S3 bucket and encrypt objects using the KMS key. Configure the role's trust policy to use the sts:AssumeRoleWithSAML action to allow the EC2 instances in Account A to assume the role.