IAM Flashcards

1
Q

What are core components of IAM

A

User, Role, Policy, Group

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

Should we use root account

A

No, instead create an admin user via IAM and use it

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

How to safe guard root account

A

By enabling MFA

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

Can one user belong to multiple groups

A

Yes

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

What is the strategy of associating policy for the user

A

Least privilege

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

What is policy document

A

a JSON file

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

What are the components of policy document

A

version, id and statement (an array); each element of the statement states : 1) Sid 2) Effect 3) Principle (user/account/role) 4) Action 3) Resource 4) Condition

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

What is a password policy

A

Recommended configuration to ensure password is strong and can not be compromised easily

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

What are two kinds of MFA device

A

virtual and U2F devices

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

How can user access AWS

A

via console, cli and software development kit

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

What is role

A

IAM role is a technique to assign permission to one AWS service to talk to other AWS service

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

What are two security tools

A

Credential Reports & Access Advisor

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

What is credential report

A

A report that lists status of various credential for all users under an account

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

What is access advisor

A

A report that lists service permission given to an user and time when it was last used

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

State few best practices for IAM

A
  1. Don’t use the root account except for AWS account setup
  2. One physical user = One AWS user
  3. Assign users to groups and assign permissions to groups
  4. Create a strong password policy
  5. Use and enforce the use of Multi Factor Authentication (MFA)
  6. Create and use Roles for giving permissions to AWS services
  7. Use Access Keys for Programmatic Access (CLI / SDK)
  8. Audit permissions of your account with the IAM Credentials Report
  9. Never share IAM users & Access Keys
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

From shared responsibility standpoint for Security what are responsibilities of AWS

A
  • Infrastructure (global network security)
  • Configuration and vulnerability analysis
  • Compliance validation