Which statement best describes the difference between an IAM policy and a resource policy (such as an S3 bucket policy)?

Answer

IAM policies grant permissions to principals; resource policies grant permissions on the specific resource

Explanation

IAM policies attach to identities (users/roles/groups), while resource policies attach to resources and specify which principals can access them. Evaluation combines both types when relevant.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list