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

A company is implementing a standardized security baseline across its AWS accounts. The accounts are in an organization in AWS Organizations.

The company must deploy consistent IAM roles and policies across all existing and future accounts in the organization.

Which solution will meet these requirements with the MOST operational efficiency?

Answer options

Correct answer: B

Explanation

Using AWS CloudFormation StackSets with service-managed permissions and trusted access enabled in AWS Organizations allows for automatic deployment of templates to all current and future accounts with minimal administrative effort. Self-managed permissions (Option C) require manual setup of prerequisite IAM roles in each target account, which is less operationally efficient. Setting up AWS CodePipeline (Option D) or AWS Control Tower Account Factory customization (Option A) introduces unnecessary complexity and higher operational overhead compared to a native service-managed StackSet.