Configuration Management and IaC
A parent OU's SCP explicitly denies ec2:RunInstances, but a child OU's SCP allows it. A role in a child OU member account has AdministratorAccess; what change permits the role to launch instances without moving the account?
Show the answer
Correct answerC. Remove or narrow the parent SCP's applicable deny.
AWhy not this: FullAWSAccess cannot override an explicit deny inherited from a parent OU.
BWhy not this: A permissions boundary limits identity permissions and cannot override an SCP deny.
CWhy this is right: The inherited explicit deny must stop applying before the role's existing permissions can authorize the action.
DWhy not this: A trust policy controls who can assume a role; it cannot override an SCP deny on EC2 actions.
An explicit deny in an inherited SCP overrides allows in child SCPs and IAM policies. Attaching FullAWSAccess to the account cannot override the parent's explicit deny.