IAM - Roles/Security Tools/Best Practices Flashcards

1
Q

What is an IAM Role in AWS?

A

An IAM Role is a set of permissions assigned to AWS services (like EC2 or Lambda), allowing them to perform actions on your behalf. It’s like a user account, but for services, not people.

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

How do IAM Roles work with services like EC2?

A

When an AWS service (like EC2) needs to access other AWS resources, it assumes an IAM Role with the necessary permissions. The service uses the role to make API calls and interact with other AWS services securely.

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

What is an IAM Credentials Report?

A

The IAM Credentials Report is a security tool that provides a summary of all users in your AWS account, including the status of their credentials (e.g., whether their password or access keys are active).

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

What does the IAM Access Advisor do?

A

The IAM Access Advisor shows the permissions granted to a user and when they last accessed the associated AWS services. This helps to identify unused permissions and enforce the principle of least privilege.

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

Why is IAM Access Advisor useful?

A

It helps track service usage by users. If a service hasn’t been accessed recently, it may not need to be granted anymore, helping reduce unnecessary permissions and improve security.

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

When should you use the root account in AWS?

A

Only use the root account when setting up your AWS account. After setup, create a personal user account for regular tasks.

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

What does “one AWS user = one physical user” mean?

A

Each AWS user should represent a single person. Do not share accounts. Instead, create a new user for each person who needs access.

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

Why should you assign permissions to groups instead of individual users?

A

Assigning permissions to groups simplifies management and ensures consistent security at the group level.

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

Why should you use IAM roles for AWS services?

A

IAM roles allow AWS services (like EC2 instances) to perform actions on your behalf securely by assigning them the appropriate permissions.

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