A Cantrill - IAM, ACCOUNTS AND AWS ORGANISATIONS Flashcards
What is the order of priority for IAM permissions? (who can access what?)
- Explicit DENY
- Explicit ALLOW
- Default DENY (Implicit)
What IAM policy method is best practice? Managed or Inline Policy?
Managed policy is best practice
What is a principal in IAM?
A person, service account or application
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?
-5,000 IAM users per account
-IAM user can be a member of 10 groups
What is the best IAM strategy for very large organizations or “Internet scale applications”?
IAM Roles (not users) & Identity Federation
What is the limit of groups in an account?
300 groups
T or F: Groups are NOT a true identity. They CANNOT be referenced as a principal in a policy
True
What are the two types of policies that can be attached to a IAM Role?
Trust Policy and Permissions policy
What are the two types of policies that can be attached to a IAM User?
Inline policy and Managed policy
In AWS organization, what are the types of accounts?
Management account (aka payer account), Member accounts,
What is CloudTrail?
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 long are CloudTrail Events stored by default?
CloudTrail events are stored 90 days by default
Where are Global services (IAM, STS, CloudFront) CloudTrail located?
US-East-1
What are the two types of Cloudtrail events? And which one is NOT enabled by default?
Management and Data events.
Data events are NOT enabled by default
-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?
-CloudWatch Trails
-S3 and CloudWatch Logs.