IAM: Identity and Access Management Flashcards

1
Q

What does IAM stand for?

A

Identity and Access Management

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

What is IAM?

A

Identity and Access Management is the service where AWS user accounts and their access to various AWS servcies is managed.

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

The common use of IAM is to manage….

A
  • Users
  • Groups
  • Access policies
  • Roles
  • User credentials
  • User password policies
  • Multi-factor authentication (MFA)
  • API Keys for programmatic (CLI) access
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Root User

A

User created when you create an AWS account. By default the root user has full administrative rights and access to every part of the account.

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

What access do new/additional users have in AWS?

A

They are created with no access to any AWS resources. The only granted access is the ability to log in.

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

What are AWS Best Practices?

A

Guidelines that recommend settings, configurations, and architecture for maintaining a high level of security, accessibility, and efficiency.

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

When a new AWS root account is created, it is best practice to complete the tasks listed in IAM under Security Status, including:

A
  • Delete your root access keys
  • Activate MFA on your root account
  • Create individual IAM users
  • Use groups to assign permissions
  • Apply an IAM password policy
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is MFA?

A
  • Multi-Factor Authentication
  • It is an addtional layer of security on your root account that is provided by a 3rd party.
  • It provides a continually changing, random, six-digit code you need to input (along with your password) when logging in to your root account.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Three types of ways to get an MFA code?

A

Multi-Factor Authentication

  1. Virtual MFA device: Smartphone, tablet, use app, such as Google Authenticator
  2. Hardware key fob: small device goes on keychain. Order directly from AWS.
  3. API keys for programmatic (CLI) access: Special credentials required for accessing AWS resources via the command line interface (CLI).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Should the Root Account be used for administrative purposes?

A

No. Best practice is to NEVER use your root account for day-to-day use. If you want full admin access, create an IAM user and attach the AdministratorAccess policy to it. Use that account as your daily driver.

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

What is an IAM Group?

A
  • An IAM group is a collection of IAM users. Groups allow you to set and manage permissions for multiple users at the same time.
  • Group are a more convenient and efficient way to manage account permissions. For example, if our user James were to switch positions within the company, we could easily remove James form his old group and add him to the new group.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

IAM Password Policy and Rules

A
  • A password policy dictates the format and expiration rules that a user must follow when creating or modigying their password.
  • These rules includes:
  • Length requirements
  • Case requirements
  • Number requirements
  • Non-alphanumeric requirements
  • Password expiration
  • Password reuse
  • User rights to change their own password
  • Administrator reset requirements
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Three main components of an IAM User?

A
  1. A username
  2. A password
  3. Permissions to access various AWS services
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is a Policy?

A

Policies assigned to users and groups grant access to AWS resources.

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

What is a Role?

A

IAM roles are used to grant one AWS resource access to another resource (e.g. allow EC2 to access S3)

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