IAM Flashcards

1
Q

What are the various benefits of IAM?

A
  • Centralized control of AWS account
  • Shared access to AWS account
  • Granular permissions - allowing people to access one service but not the other
  • Identity Federation (including Active directory, linkedIn, FB) - allows for ability to link to various accounts
  • Multi Factor Authentication
  • Provide temporary access for users/devices and services where necessary
  • Setup password rotation policy
  • Integrates with many AWS services
  • supports PCI DSS compliance
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Key terminology for IAM?

A
  • Users - end users
  • Groups - each user in group will inherit permissions of the group
  • Policies - made up of policy documents that are made in JSON that provides permissions on what a group, user or role is allowed to do
  • Roles - create a role and associate it to a resource. Allow one service to work with another service
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How can you create an alias for your console link?

A

Using the customize link.

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

What region are you working in default in IAM?

A

Global

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

What is the root account?

A

The first account you create when creating your AWS account.

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

True or False. Users have no permissions when first created?

A

True. You need to create permissions for the users after creating them.

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

Can you use the access key and secret key to sign into the console?

A

No, you can only use these for programmatic access.

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

True or False. Service control policies (SCPs) offer central control over the maximum available permissions for all accounts in your organization, allowing you to ensure your accounts stay within your organization’s access control guidelines.

A

True.

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

True or False. IAM roles for ECS tasks enabled you to secure your infrastructure by assigning an IAM role directly to the ECS task rather than to the EC2 container instance. This means you can have one task that uses a specific IAM role for access to S3 and one task that uses an IAM role to access DynamoDB.

A

True.

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

True or False. IAM roles can not be specified at the container and task level on EC2 launch type and the task level on Fargate launch type.

A

False. IAM roles can be specified at the container and task level on EC2 launch type and the task level on Fargate launch type.

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

True or False. The permissions boundary for an IAM entity (user or role) sets the maximum permissions that the entity can have. This can change the effective permissions for that user or role. The effective permissions for an entity are the permissions that are granted by all the policies that affect the user or role. Within an account, the permissions for an entity can be affected by identity-based policies, resource-based policies, permissions boundaries, Organizations SCPs, or session policies.

A

True.

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

True or False. the solutions architect can set an IAM permissions boundary on the developer IAM role that explicitly denies attaching the administrator policy.

A

True.

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

True or False. Accounts can be migrated between organizations using the AWS Organizations console. To do this you must have root or IAM access to both the member and master accounts. Resources will remain under the control of the migrated account.

A

True.

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