Identity and Access Management (AWS IAM) Flashcards

This it to have mastery of the concepts of IAM in AWS

1
Q

An AWS Service that manages access of AWS Users and Resources

A

Identity and Access Management (IAM)

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

End Users who login into the console or interact with AWS resource programmatically

A

IAM Users

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

This allows you to group your Users so they share permission levels of group (i.e Administrators, Developers, Auditors

A

IAM Groups

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

This allows you to Associate permissions to a role and then assign this to a User or groups

A

IAM Role

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

JSON documents which grants permissions for a specific user, group, or role to access service. Policies are attached to IAM Identities

A

IAM Policies

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

This is a policy which is managed by AWS which you cannot edit. Managed policies are labeled with an orange bix

A

Managed Policies

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

Policy created by the customer which is editable

A

Customer Managed Policies

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

It is a Global Service that allows you to manage multiple AWS Accounts

A

AWS Organization

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

What are two advantages of AWS Organization?

A

Consolidated Billing across all accounts
Pricing benefits from aggregated usage (volume discount for EC2 and S3, …)

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

IAM Policies applied to OU or Accounts to Restrict users and Roles

A

Service Control Policies

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

You can include this IAM Condition if you want to restrict the client IP

A

aws:SourceIp

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

You can include this IAM Condition if you want to restrict the region the API calls are made to

A

aws:RequestedRegion

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

You can include this IAM Condition if you want to restrict based on tags

A

ec2:ResourceTag

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

You can include this IAM Condition if you want to force MFA

A

aws:MultiFactorAuthPresent

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

IAM for s3
s3ListBucket permission applies to arn:aws:s3:::test which means it is a ____ permission while s3:GetObject, s3:PutObject,s3:DeleteObject applies to arn:aws:s3:::test/* which means it is a ___ permission

A

bucket level
object level

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

This can be use in any resource policies to restrict access to accounts that are member of an AWS Organization

A

aws:PrincipalOrgID

15
Q

True or False:

When you assume a role (user, application or service), you give up your original permission and take the permission assigned to the role

A

TRUE

16
Q

True or False:
When using Resource-based Policy, the principal doesn’t have to give up his permission

A

True

17
Q

This enables One Login (single sign-on) for all your AWS Accounts in AWS Organization

A

AWS IAM Identity Center

18
Q

A company uses AWS Organization to manage multiple accounts for different departments. The Management account has an Amazon S3 bucket that contains project reports. The company wants to limit access to this S3 bucket to only users of accounts within the organization in AWS organizations.

Which solution meets these requirements with the LEAST amount of operational overhead?

A

Add the aws:PrincipalOrgID global condition key with a reference to the organization ID to the S3 bucket policy.

https://aws.amazon.com/blogs/security/control-access-to-aws-resources-by