AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 201

A company uses AWS Control Tower and AWS CloudFormation to manage its AWS accounts and to create AWS resources. The company requires all Amazon S3 buckets to be encrypted with AWS Key Management Service (AWS KMS) when the S3 buckets are created in a CloudFormation stack.

Which solution will meet this requirement?

Answer options

Correct answer: B

Explanation

Option B is correct as it involves configuring proactive controls within AWS Control Tower to ensure that all S3 buckets created via CloudFormation are encrypted with AWS KMS. The other options do not directly enforce encryption during the bucket creation process; option A relies on permissions, option C focuses on detective controls which do not enforce compliance, and option D checks for existing encryption instead of ensuring it at creation time.