IAM Flashcards

1
Q

IAM is a global service. True or false?

A

True

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

It is best practise to assign a user to a group. And not to assign individual permissions to the user. True or false?

A

True

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

What is a user in IAM?

A

An object created to represent an identify. It could be an actual person, or it could be an account user by the app.

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

Can IAM users be created via command line?

A

Yes

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

What’s the size and type of string used for an IAM access key?

A

20 character, alphanumeric.

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

True or false. You can recover a lost secret access key?

A

False. Once it’s gone, it’s gone!

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

How many groups can a user be part of?

A

10

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

Default group limit per AWS account?

A

200

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

IAM secret access keys. How long are they?

A

40 characters.

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

What format are IAM policies in?

A

JSON

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

In the context of an IAM policy. What is an SID?

A

Statement Identity. It’s unique to the policy.

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

What are the two types of managed IAM policies?

A

Managed Policies

Inline Policies

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

There are two types of IAM managed policies.

A

AWS managed policies

Customer managed policies

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

Explain IAM inline policies

A

Policies that attach directly to an IAM project

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

What happens if you have conflicting IAM inline policies. One policy allows access to a resource, another denies it.

A

Access will be denied.

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

What is IAM identity federation?

A

Allows you to access resources, even if you don’t have an IAM account

17
Q

What does idP mean?

A

Identity Provider

18
Q

How does identify federation grant access?

A

Either via OpenID or SAML2

19
Q

What does STS mean?

A

Secure token service

20
Q

You need to apply a password policy to your AWS account. How do you do this?

A

IAM account settings

21
Q

You need to prove your AWS account is compliant, with your companies password policy. How might you do this?

A

Run off a credential report from IAM.

22
Q

How often does the IAM credential report update?

A

Every four hours.

23
Q

In IAM, does the order in which policies are evaluated effect the outcome?

A

No.

24
Q

True or false. In IAM, all requests are allowed by default.

A

False.

25
Q

In IAM, is a policy explicitly denies a request. Can it is be over-ridden?

A

No

26
Q

Name to IAM best practised for providing an additional layer of protection for user identify verification

A

Strong password policies

2FA

27
Q

True or false. IAM roles should always be favoured over access keys.

A

True

28
Q

Are roles considered temporary?

A

Yes