IAM Flashcards

1
Q

Request context of a policy

A

Principal
action
Resource,

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

Policy Types

A

identity-based policies,
resource-based policies,
IAM permissions boundaries,
AWS Organizations service control policies (SCPs),
access control lists (ACLs),
session policies

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

Identity based

A

Also known as IAM policies, identity-based policies are managed and inline policies attached to IAM identities (users, groups to which users belong, or roles).

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

Permission Boundary

A

A permissions boundary sets the maximum permissions that an identity-based policy can grant to an IAM entity.

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

ACL

A

Use ACLs to control which principals in other accounts can access the resource to which the ACL is attached

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

Service Roles

A

IAM roles that can be assumed by an AWS service

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

ABAC

A

defines permissions based on attributes

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

iam:AWSService

A

control access for a specific service role.

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

iam:OrganizationsPolicyId

A

key provides the IAM entity access to specific SCPs.

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

iam:PermissionsBoundary

A

checks that the specified policy is attached as a permissions boundary on the IAM principal resource.

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

iam:PolicyARN

A

checks the Amazon Resource Name (ARN) of a managed policy in requests that involve that same managed policy

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

iam:ResourceTag

A

checks that the tag attached to the identity resource, either a user or role, matches the specified key name and value provided.

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

iam:PassedToService

A

specifies the service principal of the service to which a role can be passed.

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

iam:associatedarn

A

specifies the ARN of the resource to which this role will be associated at the destination service.

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

NotPrincipal

A

specify an exception to a list of principals.

You cannot use the NotPrincipal element in an IAM identity-based policy. You can use it in the trust policies for IAM roles and in resource-based policies.

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

AWS Security Token Service (AWS STS)

A

create and provide trusted IAM users or users that you authenticate (federated users) with temporary security credentials that can control access to your AWS resources.

17
Q

IAM roles for Amazon ECS tasks

A

you can specify an IAM role to be used by the containers in a task. Applications are required to sign their AWS API requests with AWS credentials, and this feature provides a strategy to manage credentials for your application’s use. This is similar to how Amazon EC2 instance profiles provide credentials to EC2 instances.

18
Q
A