Section 2: IAM Flashcards

1
Q

What are IAM users, groups roles and policies?

A

Users = individual user

Groups = a bunch of users with the same policies

Roles = a preset of policies for service/s. It is used by AWS resources and roles may contain multiple policy documents.

Policies = JSON documents that define what Users, groups, and Roles can do within AWS

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

What is AWS Security Token Service (STS)?

A

A web service for requesting temporary, limited-privilege credentials for AWS Identity and Access Management users or for users that you authenticate (federated users)

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

Identity based policy
vs
Resource based policy

A

Identity based policies are attached to an IAM user, group, or role. e.g. you can attach the policy to the IAM user named John, stating that he is allowed to perform the Amazon EC2 RunInstances action.

Resources based policies are attached to a resource. For example, you can attach resource-based policies to Amazon S3 buckets, Amazon SQS queues

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

An explicit deny in any policy overwrides any other policy allow?

A

True

An explicit deny in any policy does overwrides any other policy allow

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

What is a Federated User

A

A user with temporary AWS access permissions through using a third party provider such as Google, Facebook etc.

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

What should you use the root user for?

A

Avoid using root user as much as possible. Any daily tasks should be done with another account

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

What can you use to generate policies based on chosen access levels

A

Use IAM Access Analyzer to validate IAM policies and generate least-privililage policies

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

How many users can an AWS account have?

A

up to 5000 users per AWS account

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

How are temporary credentials assumed?

A

Temporary credentials are assumed using AWS STS (Security Token Service)

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

How can you allow 1 services to have access to another?

A

Create a role and assigned a permisson policy to that role that grants access to the service

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