Timedora
Free Online Flashcard Deck

2 Users, Groups, and Roles Free Online FlashCards

Study 2 Users, Groups, and Roles with 12 free online flashcards. Review key terms, definitions, and concepts with this interactive flashcard deck.

12 cards
01
Front

What is an IAM user?

Back

An IAM user is an identity in one AWS account with its own credentials and permissions. New users have no permissions by default.

02
Front

What should you prefer over long-term IAM user credentials for people?

Back

For human access, AWS recommends federation and temporary credentials where possible. Use an IAM user when a specific requirement cannot be met with federation or a role.

03
Front

Does a console-only IAM user need access keys?

Back

No. A console-only user does not need access keys; create only the credentials that user needs.

04
Front

How does an IAM group provide shared permissions?

Back

An IAM user group is a collection of IAM users. Policies attached to the group provide its members with common permissions.

05
Front

What can an IAM group contain, and can a user join multiple groups?

Back

A user can belong to multiple groups, but a group cannot contain other groups, roles, or non-user identities.

06
Front

Can an IAM group sign in or assume a role?

Back

No. Groups organize user permissions; they are not identities that sign in or assume roles.

07
Front

What happens when a trusted entity assumes an IAM role?

Back

An IAM role has permissions but is not tied to one person and has no standard long-term password or access keys. A trusted entity assumes it to receive temporary session credentials.

08
Front

What does each of an IAM role’s two policies control?

Back

The trust policy specifies who or what may assume the role; the permissions policy specifies what the role session may do.

09
Front

How should an AWS application get access to another AWS service?

Back

Use a role trusted by the service and grant only the required resource access. Do not embed long-term IAM user keys in the application.

10
Front

How should a contractor in another AWS account receive temporary access?

Back

Use a role with a narrowly defined trust policy and permissions policy, and verify the cross-account trust configuration.

11
Front

Several analysts need the same read-only access. What is an appropriate IAM approach?

Back

Use an IAM group with the appropriate least-privilege permissions and add the analyst as a user. For human access, federation may be used instead.

12
Front

What IAM access should be reviewed when a user changes jobs?

Back

Remove the user from groups no longer needed, add them to the appropriate groups, and review direct permissions and role access.