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
Related questions
Which security control most directly helps prevent unauthorized access to AWS resources at the API level for AWS accounts and services?
View question →
A company uses VPC Flow Logs for traffic monitoring but wants to reduce sensitive data exposure in logs while still keeping enough signals for detection. Which change most directly reduces sensitive information in VPC Flow Logs?
View question →
A company wants to enforce that all S3 objects are encrypted with AWS-managed keys and blocks any attempt to use customer-provided keys. Which approach best accomplishes this requirement?
View question →
You need to design a solution where a service in a VPC must call an external endpoint securely, without exposing the service to the internet. Which option best addresses this using AWS security services?
View question →
In AWS, what is the primary purpose of using AWS Config with an appropriate recorder and delivery channel?
View question →
A security team suspects a compromised IAM user and needs to limit further damage immediately while preserving evidence. What is the best immediate action?
View question →