Security, Compliance, and Governance

A production account inherits an SCP that explicitly denies an API action, but an application now requires that action. Its IAM role already allows the action; which change enables access?

Show the answer

Correct answerC. Revise the inherited deny so the required access is excluded.

AWhy not this: An SCP allow cannot override an explicit deny inherited from a parent.

BWhy not this: A permissions boundary cannot override an explicit SCP deny.

CWhy this is right: Excluding the required access from the inherited deny removes the restriction that blocks the existing IAM permission.

DWhy not this: The role already allows the action, and another IAM allow cannot override an SCP deny.

An explicit SCP deny overrides IAM permissions and SCP allows. The inherited deny must stop applying to the required access; adding an allow at the account cannot override it.