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
Related questions
Which statement best describes AWS Elastic Load Balancing (ELB)?
View question →
Which AWS component is responsible for securely storing and controlling access to encryption keys?
View question →
Which AWS feature helps you provision infrastructure using code?
View question →
What is the main function of Amazon VPC?
View question →
Which AWS service is used to deploy and manage application releases with automated rollbacks?
View question →
Which AWS service is commonly used for message queuing and decoupling applications?
View question →