IAM Flashcards

1
Q

What kind of service is IAM?

A

Identity and access management (IAM) is a global service.

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

What is IAM used for?

A

Creating users within an account and allocating permissions to these users to access aws account and resources.

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

How are users organised?

A

you can create groups and add users into these groups. A single user can belong to multiple groups.

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

What is an IAM policy?

A

An IAM policy is a JSON document that defines permission for a user.

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

What is the least privilege principle?

A

It’s applied to IAM policy to provide only the needed permissions to the user and not more.

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

How are policies applied to users?

A

IAM Policies are can be applied to individual users and to groups. Users that don’t belong to any group will have inline policies.
Users belonging to multiple groups will inherit policies from those groups.

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

what are the main components of an IAM policy?

A
The policy consists of:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "ec2:Describe*",
"Resource": "*"
},
{
"Effect": "Allow",
"Action": "elasticloadbalancing:Describe*"
,
"Resource": "*"
},
{
"Effect": "Allow",
"Action": [
"cloudwatch:ListMetrics",
"cloudwatch:GetMetricStatistics",
"cloudwatch:Describe*"
],
"Resource": "*"
}
]
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is MFA?

A

Multi-Factor Authentication: used for securing your account, especially your root account.
This is a combination of a password you know and a security device you own.

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

What are IAM Roles

A

IAM Roles are like users with permissions, Roles are for aws services that allow them to communicate or perform actions on other services.

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

What are the IAM security tools

A

IAM Credentials Report (account-level)
• a report that lists all your account’s users and the status of
their various credentials
IAM Access Advisor (user-level)
• Access advisor shows the service permissions granted to a user and when the services were last accessed.
• You can use this information to revise your policies

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