IAM Flashcards

1
Q

What is the SID of a policy statement?

A

SID = Statement ID. This is an optional identifier for the policy statement.

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

What is the effect of a policy statement?

A

effect is set to allow or deny in order to grant access or deny access to a specific resource or action.

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

What is the resource of a policy statement?

A

Names a resource that the statement applies to.

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

What is the action of a policy statement?

A

Names the action that the policy statement applies to.

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

How does AWS decide on priority in a policu?

A

DENY ALLOW DENY. First, deny access to things explicitly denied. Then, allow things explicitly allowed. Finally, deny things that aren’t explicitly allowed.

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

What’s the difference between inline and managed policies?

A

Inline policies are directly assigned to users, managed policies are objects that can be applied to several different users. Managed policies are the way to go!

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

How many IAM users are permitted in one AWS accounr?

A

5,000

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

How many groups can an IAM user be a part of?

A

10

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

What is an IAM Group used for?

A

Containers for users, mostly for admin purposes. You can also attach policies to groups.

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

How many groups allowed per AWS account?

A

300

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

What is the limit to the number of groups a user can belong to?

A

None ;)

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

What is a Role?

A

Roles are IAM identities that can be assumed by a principal with AWS.

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

What is a Trust policy?

A

A policy assigned to roles that can reference identities or AWS services that generate temporary security credentials.

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

What is a Permissions policy?

A

A permissions policy is checked by the temporary security credentials generated by a Trust Policy to allow access to services.

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

Name a few scenarios where using roles might be beneficial.

A
  • Application access or script running
  • Break the glass scenario
  • Greater than 5,000 users
  • Interacting with another AWS account without needing to create 1000s of users in another account
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the main purpose of AWS Organizations?

A

Allows large companies to manage multiple AWS accounts

17
Q

What is the Management Account?

A

The AWS account that creates the organization.

18
Q

What is consolidated billing?

A

A system in AWS Organizations in which costs from the management account + member accounts are all consolidated under the management account. Results in volume discounts.

19
Q

What is role switch used for?

A

Switching into another AWS account within the same organization.

20
Q

What is a service control policy?

A

A policy that can be attached to an organization. Except for users under management account, restricts what any user can do (even root user!)