IAM - Identity Access Manager Flashcards

1
Q

IAM Policies

A

Identity policies are type of policies that get attached to AWS identities and either ALLOW or DENY access to AWS resources.

Identities are
1. IAM Users
2. IAM groups
3. IAM Roles.

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

IAM policies or Identity Policy.

A

It is a set of security statements to AWS

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

IAM Policy Document

A

It is a JSON file, which has one or more statements

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

Structure of Statement

A

Statement : [
{
“sid” : “FullAccess”,
“Effect” : “Allow”,
“Action” : “[“s3:”],
“Resource” : [
]
},
{
“sid” : “DenyCatBucket”,
“Effect” : “Deny”,
“Action” : “[“s3:”],
“Resource” : [“arn:aws:s3:::catgifs”, “arn:aws:s3:::catgifs/
] – list with aws resources it should be in ARN (amazon resource name format )
},

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

How does aws handle overlapping permissions.

A

If there is an overlap with the effect, deny takes the priority over allow.
if there is no effect defined then it is implicitly denied.

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

AWS policy Priority of granting access to resources

A

Here is the priority details

1.Explicit DENY
2.Explicit ALLOW
3.IMPLICIT DENY.

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

Types of Policy

A

Inline policy
- Use this for Special or Exceptional allow or Deny
managed policy - these are good for 2 main reasons
- Reusable
- low management overhead

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

There are two types of managed policies

A

AWS and custom manage policy.

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

What is an ARN

A

Amazon Resource Name - Uniquely identifies resources within any AWS accounts.

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

ARN format

A

arn:partition:service:region

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

Max number of IAM user accounts

A

500 IAM users per account

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

IAM user can be member of how many groups

A

10 groups

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