What is the primary role of an “IAM role” in AWS?
Answer
A way to grant permissions to an identity
Explanation
An IAM role defines a set of permissions that can be assumed by trusted entities. Roles are commonly used for granting access to services without using long-term credentials. They are distinct from users and are often assumed by EC2 instances or AWS services. Storage, networking boundaries, and instance launching are not roles’ primary purpose.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
Which EC2 feature helps you automatically scale capacity based on demand?
View question →
Which AWS service is primarily used to store objects (files) in the cloud?
View question →
What is the main purpose of Amazon CloudWatch in AWS?
View question →
Which AWS storage service is specifically designed for block-level storage attached to EC2 instances?
View question →
Which tool/service is used to record API calls made in your AWS account for auditing?
View question →
In AWS, what does “VPC” stand for?
View question →