IAM Flashcards

1
Q

What is an IAM policy?

A

A policy defines permissions that you can assign to a user, group, role or resource

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

What is the resource in an IAM policy?

A

The resource is the AWS resource that the policy is taking affect for. For example, if you want to create access to an S3 bucket, the resource would be the specified bucket you want to access

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

True or False: An AWS Account is a colelction of AWS Organizations

A

False. An AWS Organization is a collection of AWS Accounts

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

What are Service Control Policies in AWS Organizations?

A

SCPs offer central control over the max available permissions for all accounts in an organization. They can be applied to an organization or an account and are used to restrict access

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

True or False: A Service Control Policy defines what orgs and accounts can do

A

False. They should only be used to set LIMITS to what orgs and accs can do. They cannot grant permissions

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

True or False: We can apply an Service Control Policy to the Management Account in the Root organization

A

False. Root account has full access, SCP does not change that

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

We need to restrict certain actions within AWS based on criteria like IP addresses, resource tags, regions, etc. What can we do?

A

Add a condition on the IAM Policy

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

True or False: When assuming a role, the user has to give up the original permissions

A

True

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

What is an Identity-based policy?

A

It is a policy attached to a user, group of users or roles. These are different from a resource-based policy that is attached to an AWS resource

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

What is an inline policy?

A

A policy that is attached directly to a user, group, role or resource. Resource-based policies are automatically inline policies

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

What is a permission boundary?

A

It is a limitation of permissions on a managed policy. We can define all the permission that an entity MAY have, but not what it DOES have

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

Does each Organization have a management account?

A

No. Only the root organization has the management (root) account

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

What is AWS Identity Center?

A

It helps manage control of access to all of your AWS orgs and accounts

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

We want to control access to SAML business applications, what AWS Service can we use?

A

AWS Identity Center

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

What are the three AWS Directory Services

A

AWS Managed Microsoft AD, AD Connector, Simple AD

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

We need to set up governance for multiple AWS accounts. What can we use?

A

AWS Control Tower

17
Q

You have 5 AWS Accounts that you manage using AWS Organizations. You want to restrict access to certain AWS services in each account. How should you do that?

A

AWS Organizations SCP