AWS Certified Solutions Architect – Professional — Question 779
A company uses AWS Organizations to manage its AWS accounts. A solutions architect must design a solution in which only administrator roles are allowed to use IAM actions. However, the solutions architect does not have access to all the AWS accounts throughout the company.
Which solution meets these requirements with the LEAST operational overhead?
Answer options
- A. Create an SCP that applies to all the AWS accounts to allow IAM actions only for administrator roles. Apply the SCP to the root OU.
- B. Configure AWS CloudTrail to invoke an AWS Lambda function for each event that is related to IAM actions. Configure the function to deny the action if the user who invoked the action is not an administrator.
- C. Create an SCP that applies to all the AWS accounts to deny IAM actions for all users except for those with administrator roles. Apply the SCP to the root OU.
- D. Set an IAM permissions boundary that allows IAM actions. Attach the permissions boundary to every administrator role across all the AWS accounts.
Correct answer: C
Explanation
Applying a Service Control Policy (SCP) at the root OU level in AWS Organizations allows the solutions architect to enforce security controls globally without needing direct access to individual member accounts. A deny policy with a condition that excludes administrator roles (Option C) is the correct approach because SCPs act as guardrails, and explicit denies override any other permissions. Option D is incorrect because the architect does not have access to individual accounts to attach permissions boundaries, and Option B introduces significant operational complexity.