IAM Policies Flashcards

1
Q

What does IAM stand for?

A

Identity and Access Management

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

Can a group contain another group?

A

No

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

Do users have to belong to a group?

A

No, but it’s not best practice

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

Can users belong to multiple groups?

A

Yes

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

What kind of service is IAM (global or regional)?

A

Global

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

What are the MFA options on AWS?

A
  1. Virtual MFA device (google authenticator/authy)
  2. Universal Second Factory U2F (Yubikey)
  3. Hardware Key Fob
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is an IAM role?

A

An IAM entity that defines a set of permissions for making requests to AWS services, and will be used by an AWS service

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

True or False: IAM User groups can contain IAM users and other user groups

A

False. IAM User Groups can only contains IAM Users

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

What are the fields in the IAM Policy Structure

A
  1. Version: (YYYY-MM-DD)
  2. Id: Optional
  3. Statement:
    * Principal: account/user/role to which policy is applied
    * Effect: Allow/Deny access
    * Action: List of allow/deny actions
    * Resource: Resource the action is applied to
    * Sid: statement Id - Optional
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How can you audit IAM usage?

A

By creating a IAM credentials report and using the IAM access advisor service.

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

How can users access AWS ?

A

To access AWS, you have three options:
AWS Management Console (protected by password + MFA)
AWS Command Line Interface (CLI): protected by access keys
AWS Software Developer Kit (SDK) - for code: protected by access keys

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

What are Access Keys

A

Access Key ID ~= username
Secret Access Key ~= password

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

What’s the AWS SDK?

A

AWS Software Development Kit (AWS SDK)
Language-specific APIs (set of libraries)
Enables you to access and manage AWS services programmatically
Embedded within your application
Supports
- SDKs (JavaScript, Python, PHP, .NET, Ruby, Java, Go, Node.js, C++)
- Mobile SDKs (Android, iOS, …)
- IoT Device SDKs (Embedded C, Arduino, …)
Example: AWS CLI is built on AWS SDK for Python

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