QuestionQ61

VerifiedSecurity and Compliance

A company manages several AWS accounts by using AWS Organizations. Its security policy requires that member-account AWS root user credentials must not be used, and the company monitors access to those credentials.

A recent alert indicates that a member account’s root user launched an Amazon EC2 instance. A DevOps engineer must create an SCP at the organization root level to prevent root users in member accounts from making any AWS service API calls.

Which SCP satisfies these requirements?

Explanation

An SCP attached at the organization root can explicitly deny permissions for all member accounts, including each member account’s root user. A Deny for Action: "*" and Resource: "*", conditioned with StringLike on aws:PrincipalArn: "arn:aws:iam::*:root", matches only account root-user principals and prevents their AWS service API calls. AWS documents this deny-all-root-actions SCP pattern.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!