Timedora
Free Practice Quiz Question List

2 AWS Identity and Access Management Online Quiz Questions

Use this free practice quiz with 20 questions to review 2 AWS Identity and Access Management, test your knowledge, and prepare for your next test or exam.

20 questions
01
True or false
1 point

True or false: Because the AWS account root user has extensive access, it should be protected and avoided for routine work.

  1. A

    True

  2. B

    False

02
True or false
1 point

True or false: In IAM, authentication decides whether a request is permitted, while authorization verifies an identity.

  1. A

    True

  2. B

    False

03
Written response
1 point

What IAM process verifies an identity?

04
Written response
1 point

What IAM control sets the maximum permissions an identity-based policy can grant without granting permissions by itself?

05
Fill in the blank
1 point

A team needs to specify which principals may assume an IAM role and under what conditions. The team should configure the role's .

06
Fill in the blank
1 point

In a typical IAM policy statement, which optional field specifies circumstances required for the statement to apply?

07
Choose one
1 point

A team wants to attach a policy directly to a supported resource, such as an S3 bucket. Which policy type should it use?

  1. A

    An identity-based policy

  2. B

    A resource-based policy

  3. C

    A permissions boundary

  4. D

    A role trust policy

08
Choose one
1 point

A request matches both an applicable Allow statement and an applicable explicit Deny statement. What is the result?

  1. A

    The request is allowed because an Allow always takes precedence.

  2. B

    The request is denied because an explicit Deny overrides an Allow.

  3. C

    The request is allowed only if the policy has a Condition field.

  4. D

    The request is denied only if the user belongs to an IAM group.

09
Choose all
1 point

Select all the policy requirements that must be met for a principal to assume a role and perform a requested action.

  1. A

    A trust policy that permits the principal to assume the role.

  2. B

    A permissions boundary that grants the requested action by itself.

  3. C

    A permissions policy that allows the assumed role session to perform the action.

  4. D

    Membership in an IAM group, because groups can be assumed as roles.

10
Choose all
1 point

Select all practices that support least privilege when designing AWS access.

  1. A

    Scope policies to the specific actions and resource ARNs required.

  2. B

    Use broad action and resource wildcards by default to simplify policy management.

  3. C

    Use separate roles for different tasks or environments.

  4. D

    Review permissions regularly and remove unused access.

11
Choose one
1 point

A person needs access to resources in another AWS account. Which IAM identity type is commonly used for this cross-account access?

  1. A

    An IAM group

  2. B

    A permissions boundary

  3. C

    An IAM role

  4. D

    A resource ARN

12
Choose one
1 point

An organization is choosing an access pattern for its employees. Which approach best follows the material's workforce-access recommendations?

  1. A

    Create a separate long-term IAM user for every employee.

  2. B

    Use an IAM group as the principal employees assume.

  3. C

    Use a trusted identity provider and temporary role sessions for workforce access.

  4. D

    Store shared long-term access keys in a configuration file.

13
True or false
1 point

True or false: An IAM group is a principal that can be assumed as a role.

  1. A

    True

  2. B

    False

14
Open ended
1 point

A company has a reporting analyst who needs to read one reports bucket and a deployment task that needs to update a defined set of application resources. Propose an IAM access design that limits the impact of mistakes or compromised credentials.

15
Choose one
1 point

A team wants to manage the same permissions for several IAM users together. Which IAM identity should it use?

  1. A

    They are principals that applications can assume to receive temporary credentials.

  2. B

    They collect IAM users so shared permissions can be managed together.

  3. C

    They define which external identity providers may sign in to AWS.

  4. D

    They set the maximum permissions an identity-based policy can grant.

16
Written response
1 point

In an IAM policy statement, which field specifies the API operations covered by the statement?

17
Written response
1 point

An administrator attaches a policy directly to a supported resource, such as an S3 bucket. What type of policy is it?

18
Choose one
1 point

An application running on an AWS compute service needs access to a specific S3 bucket. Which approach best avoids storing long-term access keys in the application code?

  1. A

    Create a separate IAM user for the application and embed its long-term access keys in the code.

  2. B

    Add the application to an IAM group and have the group assume a role.

  3. C

    Attach an IAM role to the compute service and use its temporary credentials.

  4. D

    Use the account root user credentials for the application's AWS requests.

19
Choose one
1 point

A request matches an applicable Allow statement and an applicable explicit Deny statement. What is the access decision?

  1. A

    The request is denied because an explicit Deny overrides an Allow.

  2. B

    The request is allowed because the Allow statement takes precedence.

  3. C

    The result depends only on whether the user belongs to an IAM group.

  4. D

    The request is allowed unless a permissions boundary explicitly grants it.

20
Choose one
1 point

A company wants employees managed by its external identity provider to access AWS without creating a separate long-term IAM user for each person. Which approach matches IAM federation?

  1. A

    Create a separate long-term IAM user for every employee and require them to use its credentials.

  2. B

    Use an external identity provider and have employees obtain temporary credentials through a role.

  3. C

    Add the external identity provider as an IAM group and let the group assume a role.

  4. D

    Use the AWS account root user as the shared identity for employees.