In AWS, what is the primary purpose of an IAM role?

Answer

To grant permissions to AWS services and users

Explanation

IAM roles define permission sets and can be assumed by users, applications, or AWS services. They are central to controlling access in AWS using least privilege. They are not for hosting servers, creating subnets, or directly storing logs.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list