A healthcare organization is designing a telemetry processing system. An ingestion application running on Amazon EC2 instances in an Ingestion account (Account ID ) must write sensitive telemetry data to an Amazon S3 bucket located in a dedicated Audit account (Account ID ). The organization's compliance policy requires all data to be encrypted at rest using a key managed by the security team. The solutions architect must configure the cross-account permissions and encryption controls to allow this transmission. Which two actions must the solutions architect take to meet these requirements? (Select TWO.)
- Create a Customer Managed Key (CMK) in AWS KMS within the Audit account. Configure the KMS key policy in the Audit account to allow the Ingestion account's IAM role to perform kms:GenerateDataKey and kms:Decrypt operations.Answer
- Configure the S3 bucket policy in the Audit account to grant s3:PutObject permissions to the specific IAM role ARN from the Ingestion account.Answer
- CConfigure the S3 bucket in the Audit account to use the AWS-managed KMS key for Amazon S3 (aws/s3), and modify its key policy to grant the Ingestion account's IAM role kms:GenerateDataKey permissions.
- DAttach a Service Control Policy (SCP) at the Organization Unit (OU) level containing both accounts that grants s3:PutObject permissions to the Ingestion account's IAM role for the destination S3 bucket.
- EConfigure the S3 bucket policy in the Audit account to grant s3:PutObject permissions using a wildcard principal (Principal: "*") without specifying any organizational conditions or principal AWS account IDs.
Answer
Create a Customer Managed Key (CMK) in AWS KMS within the Audit account, configure its policy to allow the Ingestion account's IAM role to perform kms:GenerateDataKey and kms:Decrypt operations, and configure the S3 bucket policy in the Audit account to grant s3:PutObject permissions to the specific IAM role ARN from the Ingestion account.
The correct options are configuring a Customer Managed Key (CMK) in the Audit account with a policy allowing the Ingestion account's IAM role to perform kms:GenerateDataKey and kms:Decrypt, and configuring the S3 bucket policy in the Audit account to grant s3:PutObject permissions to the Ingestion account's IAM role. This combination ensures that the ingestion application has both S3 write permissions and KMS key permissions to encrypt and upload objects securely across accounts using a Customer Managed Key, which is required since AWS-managed KMS keys do not support policy modification.
Step-by-Step Solution
Key Concept
Cross-account KMS key and S3 bucket policy configuration