Identity Access Management (IAM)

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/49

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 6:51 PM on 6/8/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

50 Terms

1
New cards

Which of the followings is not BEST PRACTICES for IAM? Choose all that apply.

1. Delete you root access key

2. Apply an IAM password policy

3. Follow the "Principal of Least Privilege"

4. Use Users to assign permissions

5. Don't create individual IAM users

6. Activate MFA on your Root Account

7. Create and use an IAM user with Admin privileges instead of the Root Account.

Use Users to assign permissions

Don't create individual IAM users

2
New cards

True or False

By default, any new IAM user you create in an AWS account is created with NO access to any AWS services.

True

3
New cards

What is the term used to describe this: "By default, any new IAM user you create in an AWS account is created with NO access to any AWS services."

Implicit Deny Rule

4
New cards

What is IAM?

IAM is where you manage your AWS users, groups, and roles and their access to AWS accounts and services.

5
New cards

IAM provides access and access permissions to ....

AWS resources

6
New cards

IAM is ...... service to all the AWS regions, creating a user account will apply to all the .....

global, regions

7
New cards

True or False

For all the users (except the Root user), permissions must be given that grant access to AWS services.

True

8
New cards

How do you grant access to AWS services?

Through attaching/associating IAM policies to the users or groups

9
New cards

How do you log into the console?

How do you log into the CLI and SDK?

Username and password associated with a user or root user

Access keys or API keys

10
New cards

Is it possible to change/customize the user sign-in link?

Yes - right on top of the IAM page, you can click on the customize key to change the url.

11
New cards

Can IAM users share their credentials with each other?

No - credentials should never be shared with each other. Each user should have their unique credentials.

12
New cards

What is a policy?

A policy is a document that formally states one or more permissions. It's a JSON document.

13
New cards

What is the default setting for policies?

By default, all permissions are implicitly denied.

14
New cards

An ____ ___ always overrides an _____ ___

explicit deny, explicit allow

15
New cards

IAM provides pre-built policy templates to assign to users and groups. What are some policy templates?

1. Administrator access: full access to ALL AWS resources

2. Power user access: Admin access except it does not allow user/group management

3. Read only access: Only view AWS resources

16
New cards

What is a visual editor?

Using the visual editor, you can create a custom IAM permission policies.

17
New cards

Can more than one policy be attached to a user, group, or role at the same time?

Yes, more than one policy can be attached to a user or group at the same time.

18
New cards

True or False:

Policies can be directly attached to AWS resources.

False, policies cannot be directly attached to AWS resources.

19
New cards

What is a condition used in IAM policies?

The Condition element (or Condition block) lets you specify conditions for when a policy is in effect. For example, you can specify that only users from certain IP address can access the resource.

20
New cards

What is the default setting for IAM User permission?

When first created, by default an IAM User has an implicit deny for all AWS services - and does not have access to use them until a policy granting allow access has been applied to the user or to the group the user belongs to.

21
New cards

True or False

IAM users receive unique access credentials so you do not (should not) share with others.

True

22
New cards

What should you never do with user credentials?

User credentials should NEVER be stored or "passes' to an EC2 instance.

23
New cards

Can MFA be configured on a per user basis login and resource access/actions?

Yes, MFA can be configured on a per user basis login and resource access/actions.

24
New cards

What is the programmatic access used for? What do you need to provide the users for programmatic access?

Programmatic access is used log into the CommandLine, Software Development Kit. You need to provide the users with Access Keys.

25
New cards

What does the users need to have access to the AWS Management Console?

Users need to have a link, username and password to access the console.

* You can autogenerate the password, or create one yourself and provide it to the user.

26
New cards

How many times can you view the secret access key?

ONLY once, so after the secret access keys are generated, download the keys before moving onto the new screen.

27
New cards

What is an ARN?

Amazon Resource Name (ARN) uniquely identifies the AWS resources.

28
New cards

Each user receives an unique ARN.

True

29
New cards

What is an INLINE policy?

Inline policy is used to create a unique policy for a specific user.

30
New cards

What is the maximum number of access keys can an IAM user have?

Maximum of 2 access keys, which is used to manually rotate and activate an access key.

31
New cards

What allows you to assign IAM permission policies to more than one user at a time.

IAM Groups - this ability allows for easier access management to AWS resources.

32
New cards

What is an IAM Role?

A role is something that another entity (AWS Services, IAM Users, or Groups in same or different AWS account, Federated Users) can "assume", and acquire temporary permissions defined by the role.

33
New cards

Why must roles be used?

Roles must be used because policies cannot be directly attached to AWS services.

34
New cards

What is a Trust Policy?

Trust policy defines the entities that have permission to assume the role.

35
New cards

If you are using an EC2 instance and it need to access an S3 bucket, then what do you do?

1. Instance should assume a role from IAM with the proper required permissions (S3 read-only)

2. Instance can then perform actions based on the role it assumes.

3. You can associate a role with an instance before or after launch. User must have the passRole permission.

4. An EC2 instance can only have ONE role attached at a time.

36
New cards

What are API access keys?

API Access Keys are used to sign programmatic requests to AWS.

37
New cards

When is the Access Keys is used?

Access keys are required to make calls to AWS from the CLI, PowerShell, SDKs and direct HTTP calls.

38
New cards

When you create a new user or reissue a new set of keys, then how many times is it available?

API keys are only available ONE time.

39
New cards

True or False:

AWS will regenerate the same set of access keys.

False - AWS will not generate the same set of access keys.

40
New cards

Do roles have API credentials?

No - roles do not have API credentials and access keys does not have to be manually rotated.

41
New cards

If you need new API credentials, then what should you do?

Deactivate the current set of keys, and generate new one.

42
New cards

What is STS?

STS (Security Token Service) allows you to create temporary security credentials that grant trusted users access to your AWS resources.

These temporary credentials are for short term use, with a configurable session duration between 15 minutes and 12 or 36 hours.

Once expired, they can no longer be used to access your AWS resources.

43
New cards

When you request through an STS API call, what credentials do you receive in return?

* Session Token

* An Access Key ID

* A Secret Access Key

* Expiration Timestamp

44
New cards

What are the benefits of using STS service?

* Avoid distributing or embedding long-term AWS security credentials in an application.

* Grant access to AWS resources without having to create an IAM user.

* Since the credentials are temporary, you don't have to manually rotate or revoke them.

45
New cards

When should you use STS?

* Identity Federation

* Roles for Cross-Account Access

* Roles for Amazon EC2

46
New cards

What are the STS API calls?

* Assume Role

* Assume Role With Web Identity

* Assume Role with SAML

* Get Federation Token

* Get Session Token

47
New cards

What is the difference between Assume Role and Get Tokens?

Assume role - getting permission policy associated with a role

Get Token - getting credentials for a specific IAM user and using the permissions of the IAM user

48
New cards

What is Identity Federation?

It is a way of authenticating users or applications outside of the AWS IAM user and groups process.

49
New cards

What is AWS Organizations?

Manage Multiple Accounts

Allows you to create a root/master account, then invite other accounts to join your organization under the root account, then you can apply service control policies to control what these accounts can do

50
New cards

How does the AWS Organizations allow you to manage multiple accounts?

Through IAM Policy Management and Consolidated Billing.