AWS Certified Solutions Architect – Professional (SAP-C02) — Question 72

A company is running several workloads in a single AWS account. A new company policy states that engineers can provision only approved resources and that engineers must use AWS CloudFormation to provision these resources. A solutions architect needs to create a solution to enforce the new restriction on the IAM role that the engineers use for access.

What should the solutions architect do to create the solution?

Answer options

Correct answer: C

Explanation

The correct answer is C because it allows for strict control over provisioning by separating permissions into an IAM service role specifically for approved resources, which AWS CloudFormation can utilize. Option A is incorrect as it does not enforce resource provisioning restrictions. Option B does not separate the service role for provisioning, and option D limits engineers to their own stacks, which does not adequately enforce the policy for approved resources.