IAM Flashcards

1
Q

Users are…

A

people in an organization that can be grouped

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

Can groups contain other groups?

A

No

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

How can you structure users?

A

Users dont need to belong to a group but they can belong to multiple groups

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

How is a JSON policy document of a user or group structured?

A

It contains

  • a version
  • a list of statements
    • Effect
    • Action
    • Resource
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What basic principle do you need to follow for giving permissions?

A

You apply the least privilege principle: only as many permissions as users need

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

How can permissions be obtained?

A

They can be:

  • given by an inline policy directly to the user
  • inherited from every group policy a user is member of
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

A user’s password has been guessed correctly. How can you prevent this from happening in the future? How can damage be controlled?

A
  • Enable MultiFactorAuthentication (MFA)
  • Enable password rules:
    • Set minimum password length
    • require special characters, numbers, letters, non alpha characters
    • require password change after some time
    • prevent password reuse
    • never share IAM users & Access Keys
    • never use the root user (only for user setup)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

AWS devices for MFA?

A
  • Virtual MFA device
  • Universal 2nd Factor (U2F) Security Key
  • Hardware Key Fob MFA
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How can you access AWS?

A
  • AWS Management Console (password+MFA)
  • AWS CLI
  • AWS SDK
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How can AWS services get permissions?

A

-Through IAM roles that can be given permissions

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

How can you check the current user/policy configuration?

A
  • IAM Credentials Report (a report that lists all users and their credentials)
  • IAM Access advisor (shows the permissions granted to a user and time of last access)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly