Security and Compliance
An SCP attached to a parent OU explicitly denies ec2:StopInstances. A child OU's SCP and an administrator's IAM policy allow that action in a member account. What must change to let the administrator stop instances?
Show the answer
Correct answerC. Remove the applicable deny from the parent OU's SCP.
AWhy not this: Another child OU under the same parent still inherits the parent's explicit deny.
BWhy not this: An account-level SCP allow cannot override an explicit deny inherited from a parent OU.
CWhy this is right: Removing the inherited deny removes this restriction, provided the action is otherwise allowed throughout the hierarchy.
DWhy not this: AdministratorAccess does not override restrictions imposed by an applicable SCP.
An explicit deny in an inherited SCP overrides allows in child SCPs and IAM policies. Adding an account-level allow cannot override the parent OU's deny.