Security

An application's role allows Amazon Bedrock model invocation, but requests fail because an AWS Organizations SCP explicitly denies it. What change can enable access while preserving the restriction for other roles?

Show the answer

Correct answerB. Exclude the application role from the SCP's deny.

AWhy not this: An additional identity-policy allow cannot override an explicit deny in an SCP.

BWhy this is right: A narrowly scoped exception removes the blocking deny for the application role while retaining it for other roles.

CWhy not this: A VPC endpoint policy cannot override an explicit deny in an SCP.

DWhy not this: A permissions boundary limits available permissions; it cannot override an SCP's explicit deny.

The SCP's explicit deny must no longer apply to the application role before its IAM allow can take effect. An additional identity-policy allow cannot override an explicit deny.