AWS IAM · Question 4 of 12
What distinguishes an IAM role from an IAM user?
1 answer is correct. Easy Created with AI
Show answer
Answer
- C A role only provides temporary credentials when it is assumed
Explanation
Roles have no long-term credentials. Whoever assumes them, such as an EC2 instance, a Lambda function or a user from another account, receives credentials that expire after a short time. This is safer than stored access keys.