A retail corporation is designing a new Point of Sale (POS) transaction processing pipeline across multiple accounts under AWS Organizations. The application tier runs on Amazon EC2 instances in a dedicated Ingestion VPC inside the Production Account (111122223333). These instances must upload transaction logs directly to an Amazon S3 bucket located in a centralized Compliance Account (444455556666). The compliance team requires that all uploaded logs be encrypted at rest using a Key Management Service (KMS) key managed exclusively by the compliance team. The ingestion application must be able to encrypt the logs during upload but must be strictly prevented from decrypting the logs once they are written. Furthermore, key administration must be restricted to the Compliance Account, and administrators in the Production Account must not have permissions to modify the key's configuration. Which combination of actions should the Solutions Architect take to design a compliant control structure? (Select TWO.)
- In the Compliance Account (444455556666), create a Customer Managed KMS key. Configure the key policy to grant the Production Account (111122223333) IAM role permission to perform the kms:GenerateDataKey and kms:DescribeKey actions, while omitting the kms:Decrypt permission for this role.Cevap
- In the Compliance Account (444455556666), configure the S3 bucket policy to grant the Production Account (111122223333) IAM role permission for the s3:PutObject action, and enforce a condition requiring the s3:x-amz-server-side-encryption header to be set to aws:kms referencing the Customer Managed KMS key's Amazon Resource Name (ARN).Cevap
- CIn the Compliance Account (444455556666), configure default S3 bucket encryption using the AWS-managed KMS key for Amazon S3 (aws/s3), and modify its key policy to delegate cross-account encryption and decryption rights to the Production Account (111122223333) IAM role.
- DApply a Service Control Policy (SCP) at the Organizational Unit (OU) level containing the Production Account that explicitly grants the EC2 instance profile role cross-account kms:GenerateDataKey permissions for the key in the Compliance Account, overriding local policy constraints.
- EIn the Compliance Account (444455556666), configure the S3 bucket policy to allow anonymous uploads restricted by the aws:PrincipalOrgID condition, and delegate KMS key permission enforcement to an S3 Access Point registered in the Production Account.