IAM, ACCOUNTS AND AWS ORGANISATIONS Flashcards

1
Q

IAM Policies Priority? (The first is the higher)

A
  1. Explicit DENY
  2. Explicit ALLOW
  3. Default DENY (Implicit)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the types of IAM Policies?

A
  1. Inline Policy
  2. Managed Policy
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Does these 2 ARN overlap?
- arn:aws:s3:::catgifs
- arn:aws:s3:::catgifs/*

A

No. The first references a Bucket and the second the Objects in the bucket

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

What are IAM users limits?

A
  1. only 5000 IAM users/account
  2. user can be a member of maximum 10 groups
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are IAM Groups?

A

Are containers for Users. I cannot login into an IAM Group and they do not have credentials of their own.

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

Is there a default all users IAM Group in AWS?

A

No

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

Can you nest IAM Groups?

A

No

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

Are there any IAM Group limits?

A

300 Groups/account (but can be increased w/ support ticket)

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

Can IAM Groups be referenced as a principal in a policy? For example when applying a resource policy?

A

No. Groups are not a true identity.

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

What are the IAM Roles Policies?

A
  1. Trust Policy
  2. Permissions Policy
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is STS?

A

Secure Token Service

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

What is a service-linked role?

A
  1. IAM Role linked to an AWS service
  2. You cannot delete the role until it’s no longer required
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is AWS Organizations?

A

It helps managing larger numbers of AWS Accounts

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

What is SCP?

A

Service Control Policies - that is a account permission boundary

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

Can I attach a SCP to a Root Container of the Organization?

A

No. The SCP will never affect the Management account

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

Can you apply a SCP to the account root user of the Root Container of the Organizations?

A

Yes. And it will also indirectly restrict the Root Container of the Organization

17
Q

Do SCP grant permissions?

A

No

18
Q

What is the default for SCP: Allow list or Deny list?

A

Deny list - which means that it will allow everything except what is defined in the Deny list

19
Q

What is CloudWatch Logs?

A

A Public Service. It allows to store, monitor and access logging data

20
Q

What is CloudTrail?

A

It is a product which logs API calls and account events

21
Q

For how long are CloudTrail Events stored by default in Event History?

A

90 days (no cost for 90 days of history) and no S3

22
Q

Is CloudTrail by default storing Management and Data events?

A

No. Only Management events.

23
Q

Is CloudTrail regional or global service?

A

Regional

24
Q

Where does CloudTrail logs data?

A

In the same region of the service or in us-east-1 if they are global services (IAM, STS, CloudFront)

25
Q

Is CloudTrail visible in realtime?

A

No, it takes 15min to see the logs

26
Q

What is Control Tower?

A

A quick and easy setup of multi-account environment

27
Q

What is IAM Identity Center?

A

SSO (Single-Sign-On)

28
Q

IMPORTANT: Study more Control Tower

A

Really!!