Identity and Access Management Flashcards

1
Q

What is IAM?

A

A web service that enables you to manage access to your AWS account and resources.

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

What is an IAM User?

A

A person or service that interacts with AWS services.

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

What is an IAM Group?

A

A collection of users.

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

What is an IAM Policy?

A

To manage access and provide permissions to AWS services, you create IAM policies and attach them to IAM users, groups, and roles.

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

What are the 4 major sections to an IAM Policy?

A
  1. Version
  2. Effect (allow or deny)
  3. Action (type of action)
  4. Resource (object or objects policy covers)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Benefits of multiple accounts (WLC)?

A
  1. Group workloads
  2. Centralize logging
  3. Constrain access
  4. Limit blast radius
  5. Manage cost
  6. Distribute API request rates
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is an IAM role?

A

An IAM role is an identity that you can create in your account, and it has specific permissions.

a role can be assumed by anyone who needs it

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

What is a service role?

A

A role created and assumed by a service.

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

Delegation

A

Delegation is the granting of permissions to someone to allow access to resources that you control.

Delegation involves setting up a trust between two accounts. The first account is the account that owns the resource (the trusting account). The second account is the account that contains the users that need to access the resource (the trusted account).

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

Federation

A

Federation is the creation of a trust relationship between an external IdP and AWS. Users can sign in to a web identity provider, such as Login with Amazon, Facebook, Google, or any IdP that is compatible with OIDC. Users can also sign in to an enterprise identity system that’s compatible with SAML 2.0, such as Microsoft Active Directory Federation Services. When you use OIDC and SAML 2.0 to configure a trust relationship between these external IdPs and AWS, the user is assigned to an IAM role. The user also receives temporary credentials that allow the user to access your AWS resources.

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

Federated User

A

Instead of creating an IAM user, you can use existing identities from AWS Directory Service, your enterprise user directory, or a web identity provider. These identities are known as federated users. AWS assigns a role to a federated user when access is requested through an identity provider.

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

Trust Policy

A

A trust policy is a JSON policy document where you define the principals that you trust to assume the role. A role trust policy is a required, resource-based policy that’s attached to a role in IAM. The principals that you can specify in the trust policy include users, roles, accounts, and services.

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

Permission Boundary

A

A permissions boundary is an advanced feature where you use policies to limit the maximum permissions that an identity-based policy can grant to a role. You can’t apply a permissions boundary to a service-linked role.

for example, a developer is in a developer group with privledges. We can attach a PB to individual users to restrict access that the developer group could be granting to further restrict.

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

Principal

A

A principal is an entity in AWS that can perform actions and access resources. A principal can be an AWS account root user, an IAM user, or a role.

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

What is AWS Organization

A

AWS Organizations is a management service provided by Amazon Web Services that allows you to centrally manage and govern multiple AWS accounts within your organization.

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

IAM vs. Organization

A

In summary, AWS Organizations is suited for large-scale management of multiple AWS accounts with a focus on governance and cost management, while IAM is tailored for detailed access and identity management within a single account.

17
Q

What is STS?

A

Security Token Service allows you to assume roles