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

A company uses an organization in AWS Organizations to manage 10 AWS accounts. All features are enabled, and trusted access for AWS CloudFormation is enabled.

A DevOps engineer needs to use CloudFormation to deploy an IAM role to the Organizations management account and all member accounts in the organization.

Which solution will meet these requirements with the LEAST operational overhead?

Answer options

Correct answer: B

Explanation

CloudFormation StackSets with service-managed permissions automatically manage the necessary IAM roles to deploy to member accounts under an OU, but they do not deploy stacks to the Organizations management account itself. Therefore, to cover all accounts, a separate CloudFormation stack must be deployed in the management account in addition to the StackSet. Self-managed permissions are incorrect because they require manual creation of administration and execution IAM roles in every account, which increases operational overhead.