wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Intoduction to AWS IAM

Total questions: 40

Worksheet time: 33mins

Name
Class
Date
1.

What is AWS IAM?

a)

A service for managing server instances in AWS.

b)

A service for managing user identities and access to AWS resources.

c)

A service for managing storage and databases in AWS.

d)

A service for monitoring and logging in AWS.

2.

Which AWS IAM entity is used to grant permissions for accessing AWS resources?

a)

Users

b)

Roles

c)

Groups

d)

Policies

3.

What is an IAM role?

a)

A group of IAM users with similar permissions.

b)

An IAM entity with temporary credentials used by applications running on EC2 instances.

c)

A policy document that defines permissions for AWS resources.

d)

An IAM user with administrative privileges.

4.

What is the purpose of an IAM policy?

a)

To define the password requirements for IAM users.

b)

To define permissions for AWS resources.

c)

To define the network access rules for VPCs.

d)

To define the backup and recovery options for EC2 instances.

5.

Which AWS service allows you to enable multi-factor authentication (MFA) for IAM users?

a)

AWS CloudTrail

b)

AWS S3

c)

AWS IAM

d)

AWS VPC

6.

What is the main purpose of IAM groups?

a)

To define permissions for IAM users.

b)

To enable cross-account access to AWS resources.

c)

To allow IAM users to assume roles in other AWS accounts.

d)

To organize IAM users and apply policies to them in a group.

7.

Which AWS service provides a way to securely access and manage AWS services using a command-line interface?

a)

AWS IAM

b)

AWS CloudFormation

c)

AWS CLI (Command Line Interface)

d)

AWS Lambda

8.

Which of the following authentication methods are supported by IAM?

a)

Username and password

b)

Access keys

c)

Multi-factor authentication (MFA)

d)

All of the above

9.

What does IAM stand for in AWS?

a)

Intelligent Asset Manager

b)

Integrated Access Manager

c)

Identity and Access Management

d)

Instance Authentication Module

10.

Which of the following is true about IAM users?

a)

They have full administrative privileges in AWS.

b)

They can access and manage AWS resources.

c)

They are AWS service accounts used for internal processes.

d)

They can only be created by the root AWS account.

11.

What is the recommended way to grant permissions to an IAM user or group?

a)

Using IAM policies

b)

Sharing access keys and secret keys.

c)

Modifying the AWS account root user permissions.

d)

Creating separate AWS accounts for each user.

12.

Which AWS service allows you to integrate external identity providers with IAM?

a)

AWS CloudFormation

b)

Amazon S3

c)

AWS Single Sign-On (SSO)

d)

AWS Lambda

13.

How can you enable multi-factor authentication (MFA) for an IAM user?

a)

Use a hardware token provided by AWS.

b)

Configure it directly in the IAM user settings.

c)

Contact AWS support to enable MFA.

d)

MFA is only available for the root AWS account.

14.

What is the purpose of IAM access keys?

a)

To authenticate AWS API requests.

b)

To encrypt and store sensitive data in AWS services.

c)

To manage IAM user passwords.

d)

To enable multi-factor authentication for IAM users.

15.

Which AWS service allows you to grant temporary access to your AWS resources to users outside your organization?

a)

IAM Access Analyzer

b)

Amazon Simple Queue Service (SQS)

c)

AWS Single Sign-On (SSO)

d)

AWS Security Token Service (STS)

16.

What is the default action when no explicit permissions are granted to an IAM user?

a)

The user is granted full access to all AWS resources

b)

The user is denied access to all AWS resources

c)

The user inherits the permissions of the root account

d)

The user is prompted to request permissions

17.

Which AWS service can be used to audit and monitor IAM activity?

a)

AWS CloudTrail

b)

AWS Lambda

c)

AWS CloudFormation

d)

AWS Config

18.

Which of the following is NOT a valid IAM entity in AWS?

a)

User

b)

Group

c)

Role

d)

Service

19.

Which of the following is not a feature of IAM?

a)

Centralized control of AWS account

b)

Fine-grained access control to AWS resources

c)

Multi-factor authentication (MFA)

d)

Automated scaling of resources

20.

How are IAM policies defined in AWS?

a)

In YAML format

b)

In JSON format

c)

In XML format

d)

In binary format

21.

Which of the following actions can be performed using IAM policies?

a)

Granting permissions to users

b)

Creating IAM groups

c)

Configuring VPC settings

d)

Launching EC2 instances

22.

How are IAM policies associated with users, groups, and roles in AWS IAM?

a)

They are attached directly to each user, group, or role.

b)

They are stored separately in an S3 bucket and linked to each entity.

c)

They are inherited from the root account and cannot be modified.

d)

They are applied globally to all users, groups, and roles.

23.

True or False: IAM policies are JSON documents that define permissions and can be attached to users, groups, and roles in AWS.

a)

True

b)

False

24.

What does the principle of least privilege mean in the context of AWS IAM?

a)

Granting maximum permissions to all IAM users

b)

Restricting access to only a single AWS service

c)

Giving access to resources based on user location

d)

Providing users with only the permissions they need to perform their tasks

25.

What is the recommended way to grant temporary access to an AWS resource to an external user without creating an IAM user account?

a)

Share your root account credentials

b)

Create an IAM user account for the external user

c)

Use AWS Identity Federation and temporary security credentials

d)

Attach an IAM policy directly to the resource

26.

What is the default action when you create a new IAM user in AWS?

a)

The user has full administrative access to all AWS services and resources.

b)

The user has no access to any AWS services or resources.

c)

The user inherits the permissions of the root account.

d)

The user is prompted to set up their own access permissions.

27.

How can you enforce a strong password policy for IAM users in AWS?

a)

By enabling multi-factor authentication (MFA) for all IAM users

b)

By regularly rotating IAM user access keys

c)

By requiring IAM users to use complex and regularly updated passwords

d)

By assigning IAM users to a specific IAM group

28.

Which AWS IAM feature allows you to grant users temporary access to AWS resources?

a)

IAM policies

b)

IAM roles

c)

IAM groups

d)

IAM permissions

29.

What is the purpose of an IAM policy simulator in AWS?

a)

To track and monitor IAM user activities in real-time

b)

To test the effectiveness of IAM policies before deploying them

c)

To enforce compliance with AWS security best practices

d)

To generate IAM access reports for auditing purposes

30.

Which AWS service provides a graphical interface for managing IAM resources?

a)

AWS CloudFormation

b)

AWS Identity and Access Management (IAM) Console

c)

AWS Elastic Beanstalk

d)

AWS Simple Storage Service (S3)

31.

True or False: IAM users inherit the permissions of the IAM groups they belong to.

a)

True

b)

False

32.

Which of the following actions can be performed by an IAM user with the "IAMFullAccess" policy attached?

a)

Create S3 buckets and upload files

b)

Launch and terminate EC2 instances

c)

Manage IAM users and groups

d)

Access billing and cost management information

33.

True or False: IAM policies can be attached to both IAM users and IAM roles.

a)

True

b)

False

34.

Which statement is true about IAM access keys?

a)

IAM access keys are used for passwordless authentication.

b)

IAM access keys are used to sign and encrypt data in transit.

c)

IAM access keys consist of a public key and a private key.

d)

IAM access keys are used to make programmatic API calls to AWS.

35.

What is the recommended way to manage access and permissions in AWS?

a)

Creating separate AWS accounts for each user

b)

Sharing the root AWS account credentials with all users

c)

Assigning IAM roles to users based on their job functions

d)

Granting full administrative access to all users by default

36.

Which of the following is a best practice for IAM?

a)

Sharing IAM user credentials among multiple users

b)

Assigning the most permissive IAM policies to all users

c)

Regularly rotating IAM access keys

d)

Creating separate IAM users for each AWS service.

37.

Which AWS service allows you to simulate and test IAM policies before applying them?

a)

AWS Config

b)

AWS IAM Analyzer

c)

AWS IAM Access Advisor

d)

AWS IAM Policy Simulator

38.

Which statement accurately describes IAM roles for EC2 instances?

a)

IAM roles can only be assigned to EC2 instances at launch time

b)

IAM roles for EC2 instances are used for SSH key management

c)

IAM roles for EC2 instances are used to manage EC2 instance types

d)

IAM roles for EC2 instances provide temporary credentials for applications running on the instance

39.

What is the minimum permission required for a user to manage IAM users and groups?

a)

IAMReadOnlyAccess

b)

IAMUserChangePassword

c)

IAMUserAdmin

d)

IAMFullAccess

40.

Which of the following is NOT a component of AWS IAM?

a)

Users

b)

Roles

c)

Policies

d)

Security Groups