Identity and Access Management (IAM) Flashcards

1
Q

What is IAM?

A

It stands for Identity and Access Management and it allows you to manage users and their levels of access to the AWS console.

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

What are you allowed to do in IAM?

A
  1. Create users and grant permissions to those users
  2. Create groups and roles
  3. Control access to AWS resources
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the root account in AWS?

A

The root account has full administrative access to AWS.

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

What are the four steps to secure your root account in AWS?

A
  1. Enable MFA on the root account
  2. Create an admin group for your administrators and assign the appropriate permissions to this group
  3. Create user accounts for administrators
  4. Add users to the admin group
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How do you control permissions using IAM?

A

You assign permissions using policy documents which are made up of JSON.

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

What are the elements of a policy document in IAM?

A
  1. Version
  2. Statement with Effect (Allow or Deny), Action and Resource
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What can you assign policy documents to in IAM?

A

Users, Groups and Roles

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

What is a user in IAM?

A

One physical person

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

What is a group in IAM?

A

Functions, such as administrator, developer, etc. and they contain users

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

What is a role in IAM?

A

Internal usage within AWS that allows one part of AWS to use another part of AWS

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

Is it best practice to assign policies (permissions) directly to users?

A

No, it is best practice for uses to inherit permissions from groups.

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

Explain the principal of least privilege.

A

Only assign a user the minimum amount of privileges they need to do their job.

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

Is IAM a regional service?

A

No it is a global (universal) service.

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

Are new users assigned any permissions when they are created (by default)?

A

No, the user will have no permissions unless assigned.

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

What are access key IDs and secret access keys?

A

They are not the same as usernames and passwords. They are used for programmatic access to AWS (APIs and CLI).

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

What is IAM federation?

A

You can combine your own existing user account with AWS. It uses Identity Federation which uses the SAML standard, which is essentially Active Directory.