IAM - Users and Groups/Policies Flashcards

1
Q

What does IAM stand for? And what is it used for?

A

Identity and Access Management. It’s used to create and manage users and groups.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

True or False? Groups contain users and other groups.

A

False. Groups only contain users.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are IAM policies?

A

They are JSON documents that are assigned to users and groups that define their permissions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the name of the principle that allows the minimal amount of permissions that a user requires?

A

The least privilege principle.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is an Inline Policy?

A

A policy that is assigned to a user directly rather than through a group.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does the JSON document for IAM policies consist of?

A

Version: Policy language version. Always include “2012-10-17”

Id: Identifier of the policy (optional) e.g. “S3-Account-Permissions”

Statement: One or more individual statements that detail what the policy is and who it applies to (required).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does the statement for the JSON document consist of?

A

Sid: An identifier for the statement (optional)

Effect: Whether the statement allows or denies access.

Principal: The account/user/role that the policy applies to.

Action: List of actions that the policy allows or denies e.g. “S3:GetObject”

Resource: List of resources to which the actions are applied to e.g. An S3 bucket

Condition: Conditions for when this policy is in effect (optional)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

List three device options for MFA?

A

Virtual MFA device e.g. Google Authenticator

Universal 2nd Factor (U2F) Security Key e.g. YubiKey

Hardware Key Fob MFA Device e.g. Gemalto

How well did you know this?
1
Not at all
2
3
4
5
Perfectly