IAM & AWS CLI Flashcards

(33 cards)

1
Q

IAM =

A

Identity And Access Management - Global service

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
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
3
Q

Should you use the root account that is created by default?

A

No.

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

Users are people within your organization, and can be grouped. True or False.

A

True

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

Groups can only contain users, not other groups?

A

True

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

Users or Groups are assigned JSON documents called?

A

Policies

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

What do policies do?

A

They define the permissions of the users

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

What is the “least privilege principle”?

A

don’t give more permissions than a user needs

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

How does a User inherit a policy?

A

Attach a policy to that user’s group.

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

Who can an inline policy?

A

Individual users.

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

Features:
- set a minimum password length
- Require specific character types:
- including uppercase letters
- lowercase letters, number, non-alphanumeric characters
- Allow IAM users to change their own passwords
- Require users to change their password after some time (password expiration)
- Prevent password re-user

A

Password policies that can be set.

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

Three ways to access AWS?

A
  • 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
13
Q

How are access keys generated?

A

Through the AWS Console

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

How are keys managed?

A

By user

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

What is AWS CLI?

A

A tool that allows you to interact with the AWS services using commands in your command-line shell.

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

How can you get direct access to the public APIs of your AWS services

17
Q

Where can you develop scripts to manage your resources?

18
Q

What an alternative to using AWS CLI?

A

AWS Management Console

19
Q

AWS SDK =

A

AWS Software Development Kit

20
Q

What is the purpose of the AWS SDK?

A

Enables you to access and manage your AWS services programmatically

21
Q

What is embedded within your application?

22
Q

What is AWS CloudShell?

A

Alternative to using the terminal

23
Q

What are IAM Roles?

A

Similar to IAM Users but specifically designed for AWS services to perform actions on your account, not for direct use by individuals.

24
Q

What is created to assign necessary permissions to AWS services, enabling them to act on your behalf within your AWS account.

25
What grants permissions to execute tasks within AWS.
IAM Roles
26
What is IAM Credentials Report (account-level)
A report that lists all your account’s users and the status of their various credentials.
27
IAM Access Advisor (user-level)
shows the service permissions granted to a user and when those services were last accessed
28
What tool can you use to gather information to revise your policies?
IAM Access Advisor (user-level)
29
Don’t use a root account except when you set up your AWS account?
True
30
What should security be managed?
At the group level?
31
How do you assign permissions to users?
Assign users to groups and assign permissions to groups
32
How can audit account permissions?
IAM Credentials Reports & IAM Access Advisor
33
What is the differences in responsibility between user and AWS?
AWS is responsible for all the infrastructure User is responsible for how that infrastructure is used.