IAM and AWS CLI Flashcards

1
Q

Which region is IAM specific to?

A

None, it is a global service

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

True or False: IAM groups may contain other groups.

A

False, they may only contain users

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

What is the maximum number of groups a user can belong to?

A

Unlimited

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

Permissions can be assigned to a user or group through a _ document called a _

A

A JSON document called a policy

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

What are the 3 definitions that define an IAM policy?

A
  1. The policy language version (2012-10-17)
  2. Id (Optional)
  3. Statements
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the 6 definitions that define an IAM policy?

A
  1. Sid (Optional)
  2. Effect (Allow/Deny)
  3. Principle (Account/user/role the policy applies to)
  4. Action (List of actions the policy allows/denys)
  5. List of resources to which the actions can be applied to
  6. Condition (Optional)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are two different ways to protect users from being compromised?

A
  1. Password Policy
  2. MFA Policy
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the different 4 MFA device options?

A

Virtual MFA (phones)
Universal 2nd Factor Security Key (U2F)
Hardware Key Fob MFA Device
AWS GovGloud Hardware Key

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

What are the 3 different options to access AWS

A
  1. AWS Management Console
  2. AWS Command Line Interface (CLI)
  3. AWS Software Developer Kit (SDK)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What IAM feature is used to give permissions to AWS services to perform actions on your behalf?

A

IAM Roles

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

What tool can be used to generate a report on the permissions across your account’s users

A

IAM Credential Report

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

What tool can be used to generate a report on the permissions for a given user?

A

IAM Access Advisor

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

What are 8 best practices for IAM?

A
  1. Don’t use the root account
  2. One physical user = One AWS user
  3. Assign users to groups and permissions to groups
  4. Strong password policy
  5. Enforce MFA
  6. Use roles to assign permissions to AWS services
  7. Use access keys for CLI/SDK access
  8. Never share IAM users or access keys
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly