IAM Flashcards

(14 cards)

1
Q

What is IAM?

A

Identity and Access Management for AWS

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

Is it Global? Or region-specific?

A

It is Global Service

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

What is main point of IAM?

A

Create a user and then grouped them

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

Group

A

Each group can consist of USers, it impossible to have one group inside other group

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

IAM Permission

A

USers and Groups can be assigned to JSON (Plain English) docs called policy

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

IAM Policies inheritance

A

Group policies will affect all users in the current group, but if User does not assign to any group, we can have an inline policy specific to User without group

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

IAM Policies Structure

A

It is a JSON looks file, consist of:
Version: policy lang version
ID: an identifier for policy (optional)
Statement: one or more statement (required)
Statement consist of:
Sid: an identifier for statement (optional)
Effect: allows or denies access
Principal: account/user/role to which this policy applied to
Action: list of actions this policy allows to denies
Resource: list of resource to which the action applied to
Condition: condition for when this policy is in effect (optional)

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

How can user access AWS?

A

AWS Management Console (pass + MFA)
AWS CLI (access key)
AWS SDK - for code (access by keys)

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

What is the AWS CLI?

A

A tool that enables you to interact with AWS services using the commands in cli. You can develop scripts to manage resources
Alternative to use AWS Management Console

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

What is the AWS SDK?

A

It is set of libraries. Enables you to access and manage AWS services programmatically (for example, you can import library that allows you to create a S3 bucket in your python app)

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

What is IAM Identity Center

A

It is ex-AWS SSO service

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

IAM Role

A

It is very similar to IAM User, but will not used by physical person, it will be used by AWS services (for example, EC2 instance and it required IAM Role to perform some action)

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

IAM Security Tools

A

There are two Security Tools available:
IAM Credentials Report (account-level) - it is a report that lists all accounts users and the status of their creds

IAM Access Advisor (user-level) - it is shows the service permissions granted to a user and when user accessed to service last time

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

IAM Best Practices

A

Don’t use the root acc on daily basis, just to setup AWS Account
One user = one AWS user
Assign users to groups and assign permission to groups
Strong password policy
Use MFA
Create and use Roles for AWS services
Access Key for AWS SDK or AWS Cli
Never share IAM users and access keys

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