A Cantrill - IAM, ACCOUNTS AND AWS ORGANISATIONS Flashcards

1
Q

What is the order of priority for IAM permissions? (who can access what?)

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 IAM policy method is best practice? Managed or Inline Policy?

A

Managed policy is best practice

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

What is a principal in IAM?

A

A person, service account or application

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

What are the limits for number of IAM users per account?
What is the limit for number of groups that 1 User can be a part of?

A

-5,000 IAM users per account
-IAM user can be a member of 10 groups

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

What is the best IAM strategy for very large organizations or “Internet scale applications”?

A

IAM Roles (not users) & Identity Federation

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

What is the limit of groups in an account?

A

300 groups

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

T or F: Groups are NOT a true identity. They CANNOT be referenced as a principal in a policy

A

True

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

What are the two types of policies that can be attached to a IAM Role?

A

Trust Policy and Permissions policy

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

What are the two types of policies that can be attached to a IAM User?

A

Inline policy and Managed policy

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

In AWS organization, what are the types of accounts?

A

Management account (aka payer account), Member accounts,

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

What is CloudTrail?

A

Logs API calls and account events.

It’s very often used to diagnose security or performance issues, or to provide quality account level traceability.

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

How long are CloudTrail Events stored by default?

A

CloudTrail events are stored 90 days by default

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

Where are Global services (IAM, STS, CloudFront) CloudTrail located?

A

US-East-1

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

What are the two types of Cloudtrail events? And which one is NOT enabled by default?

A

Management and Data events.

Data events are NOT enabled by default

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

-What is the feature of CloudTrail that allows you to store Events in a place other than CloudTrail Events ?

-And where can you store these Events?

A

-CloudWatch Trails

-S3 and CloudWatch Logs.

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

Is CloudTrail a good use case for “realtime” events?

A

No CloudTrail is NOT a realtime service

17
Q

What is the typical delivery time of CloudTrail events?

A

Typically 15 minutes

18
Q

What is AWS Control Tower?

A

Ability to set up and govern Multi-Account environment that prescribes best practices.

Orchestrates several other AWS services such as Organizations, Service Catalog, and AWS IAM Identity Center, Cloud Formation, Config, etc.

19
Q

What is the multi-account environment in AWS Control Tower?

A

Landing Zone.

20
Q

What is a feature in Control Tower that can detect/mandate rules and standards across all accounts?

A

AWS Guard Rails.

21
Q

What are the three levels of Control Tower Guard Rails?

A

Mandatory, Strongly Suggested, Elective.

22
Q

What are the two services that Guard Rails uses that to make its rules?

A

AWS ORG SCPs - Preventative (stops you from doing things)
AWS Config - Detective (compliance checks)

23
Q

What is Account Factory?

A

Allows a user to create accounts but has guard rails and limits

24
Q

What account type is unaffected by SCPs?

A

Management account in AWS organizations.

25
Does Cloudtrail have realtime processing capabilities?
No, amazon Cloudtrail does not have realtime processing.
26
What needs to be done for logging in AWS to be encrypted?
Using Cloudtrail by default, CloudTrail event log files are encrypted using Amazon S3 server-side encryption (SSE)