IAM Flashcards
By default, all requests are implcitly allowed.
True or False?
False.
By default, all requests are implicitly denied. (Alternatively, by default, the AWS account root user has full access.)
In simple terms. What is the Policy evaluation logic to determine whether a request is allowed or denied within an account?
- Explicit DENY has top priority
- Explicit ALLOW
- Implicit DENY
What are the types of identity-based policies?
- Managed policies – Standalone identity-based policies that you can attach to multiple users, groups, and roles in your AWS account. There are two types of managed policies:
1a. AWS managed policies – Managed policies that are created and managed by AWS.
1b. Customer managed policies – Managed policies that you create and manage in your AWS account. Customer managed policies provide more precise control over your policies than AWS managed policies. - Inline policies – Policies that you add directly to a single user, group, or role. Inline policies maintain a strict one-to-one relationship between a policy and an identity. They are deleted when you delete the identity.
What are IAM users?
IAM Users are an identity used for anything requiring long-term AWS access e.g humans, apps or service accounts
What is a principal?
Is an entity trying to access an AWS account (individual people, computers, services or a group of them)
How can IAM authentication be achieved?
- Through username and passwords (for individual people)
2. Access keys (apps, command line tools, etc.)
How many IAM users per account you can have?
5,000 IAM users per account
How many groups an IAM users can be a member of?
10 groups max per IAM user
Can you log in to IAM Groups?
No. IAM groups have no credentials of their own
Can an IAM user be member of multiple groups?
Yes
Can you attach policies to IAM Groups?
Yes
What type of policies can be attached to IAM groups?
Inline and Managed
What is the limit of IAM users for a single IAM group?
There is no effective limit
What is the name for the All-Users-Group inside IAM?
There is no built in All-Users-Group inside IAM
How many nesting levels can you have in an IAM group?
There is no nesting available for IAM groups