252 words
1 minute
IAM Roles and Trusted Entities Quiz
2025-09-04
No Tags

IAM Roles and Trusted Entities Quiz#

Question 1#

What is a trusted entity in IAM roles?

  • An IAM policy that grants permissions
  • A specific user or service that is allowed to assume the role
  • A predefined AWS managed role
  • A group of users in IAM
Show Answer A specific user or service that is allowed to assume the role

Question 2#

Which of the following is a valid trusted entity type?

  • An AWS Lambda function
  • An IAM group
  • Another IAM role
  • An EC2 instance
Show Answer Another IAM role

Question 3#

What is the purpose of the trust policy in an IAM role?

  • To define the permissions the role grants
  • To specify the AWS resources the role can access
  • To define who can assume the role and under what conditions
  • To assign MFA requirements for the role
Show Answer To define who can assume the role and under what conditions

Question 4#

Which statement is true about roles and trusted entities?

  • Roles can only be assumed by users within the same AWS account
  • Roles provide temporary security credentials to trusted entities
  • Roles must be attached to a specific EC2 instance
  • Roles cannot be assumed by AWS services
Show Answer Roles provide temporary security credentials to trusted entities

Question 5#

How can you allow an EC2 instance to assume an IAM role?

  • By adding the EC2 instance to an IAM group
  • By creating a trust policy that specifies the EC2 service as the trusted entity
  • By directly attaching the role to the EC2 instance
  • By adding the EC2 instance to a VPC
Show Answer By creating a trust policy that specifies the EC2 service as the trusted entity
IAM Roles and Trusted Entities Quiz
https://mranv.pages.dev/posts/aws/iam/roles/roles_trusted_entity_q/
Author
Anubhav Gain
Published at
2025-09-04
License
CC BY-NC-SA 4.0