IAM and AWS CLI Flashcards

(13 cards)

1
Q

Can groups contain other groups?

A

No

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

What are policies?

A

JSON documents that define permissions of users

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

What is an account alias?

A

Allows for custom sign in URL for user

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

What are tags?

A

Optional key value pairs that you can add to AWS resources to help identify/organise/search for resources (eg. Key = Department, Value = Engineering)

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

What is an inline policy?

A

Policy that is only attached to a user

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

AWS password policies

A

Can setup policy for setting min password length, specific character types, allowing IAM users to change their own passwords, password expiration, preventing password reuse, MFA

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

AWS MFA options

A

Virtual MFA device (eg. google authenticator) or U2F security key (eg. YubiKey) or Hardware Key Fob or Hardware key Fob MFA for AWS GovCloud (USA)

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

3 ways to access AWS

A
  • AWS Management Console (protected by password)
  • AWS CLI (protected by access keys)
  • AWS SDK (protected by access keys)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What does aws configure do?

A

Allows your to configure your AWS CLI (eg. add access keys, region)

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

What are IAM roles?

A

Used to assign permissions to AWS services with IAM roles (eg. create IAM role for EC2 instance), gives AWS services permission to do stuff on AWS

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

What is AWS cloudshell?

A

Terminal in cloud of AWS online, can download files from it (only available in some regions)

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

IAM security tools

A
  • IAM Credentials Report (account-level) - lists all your account’s users and the status of their various credentials
  • IAM Access Advisor/LastAccess (user-level) - Shows service permissions granted to a user and when those services were last accessed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

IAM best practices

A
  • Dont use root account except for AWS account setup
  • One physical user = one AWS user
  • Assign users to groups and assign permissions to groups
  • Strong password policy
  • Use and enforce MFA
  • Create and use roles for giving permissions to AWS services
  • Use access keys for CLI / SDK
  • Audit permissions using IAM Credentials Report and AccessAdvisor/LastAccess
How well did you know this?
1
Not at all
2
3
4
5
Perfectly