Security and Compliance

A developer creates the role AppRole with the permissions boundary DevBoundary, which allows s3:* and dynamodb:*. AppRole's identity policy allows s3:GetObject and sqs:SendMessage. No SCPs, session policies, or resource-based policies affect these requests. Which actions can AppRole perform?

Show the answer

Correct answerC. s3:GetObject only

AWhy not this: sqs:SendMessage is outside the boundary, so the identity policy's allow for it has no effect.

BWhy not this: A boundary only limits permissions; the role's identity policy never grants DynamoDB actions or most S3 actions.

CWhy this is right: Only s3:GetObject is allowed by both the identity policy and the boundary.

DWhy not this: Effective permissions are the intersection of the two policies, not their union.

A permissions boundary sets the maximum permissions; it grants nothing. Effective permissions are the intersection of the identity policy and the boundary, so only s3:GetObject, which both allow, is permitted.