Timedora
Free Practice Quiz Question List

5 Shared Responsibility and IAM Practice Online Quiz Questions

Use this free practice quiz with 20 questions to review 5 Shared Responsibility and IAM Practice, test your knowledge, and prepare for your next test or exam.

20 questions
01
True or false
1 point

True or false: Protecting AWS data-center facilities is AWS's responsibility.

  1. A

    True

  2. B

    False

02
Written response
1 point

In the example policy, which exact S3 action allows listing the contents of the bucket?

03
Fill in the blank
1 point

A role's trust policy states .

04
Choose one
1 point

A team runs an EC2 instance and needs to patch its guest operating system. Who is responsible for that task?

  1. A

    AWS, because it operates the EC2 service

  2. B

    The customer, because it manages the guest operating system

  3. C

    AWS and the customer equally in every case

  4. D

    Neither, because guest operating systems are patched automatically

05
Written response
1 point

If IAM users are used for human access, what identity type should each person have instead of sharing credentials?

06
Fill in the blank
1 point

In the example policy, the resource ARN for the object-level action s3:GetObject ends with .

07
True or false
1 point

True or false: If an applicable policy explicitly denies a requested action, an Allow in another applicable policy does not make the request succeed.

  1. A

    True

  2. B

    False

08
Choose one
1 point

A user has MFA enabled, but their policies allow only s3:GetObject. They need to delete an object for their job. What is the appropriate conclusion?

  1. A

    Enable MFA again; MFA adds delete access after sign-in

  2. B

    Change the s3:GetObject permission to a broader wildcard action

  3. C

    Add an applicable Allow for s3:DeleteObject if the job requires deletion

  4. D

    No policy change is needed because reading permission includes deletion

09
Choose one
1 point

An application on EC2 needs to read from one S3 bucket and currently stores a long-term IAM user access key locally. Which is the safer approach?

  1. A

    Keep the long-term access key, but store it in a different local configuration file

  2. B

    Use an IAM role for the EC2 workload and grant only the required bucket permissions

  3. C

    Give the application s3:* on * so it can obtain temporary credentials

  4. D

    Share a human user's access key with the application

10
Choose one
1 point

Which practice best follows the guidance for an AWS account's root identity?

  1. A

    Reserve it for tasks that require it and protect it with MFA

  2. B

    Use it for routine work so all account actions have one identity

  3. C

    Share it among administrators, but enable MFA on one device

  4. D

    Disable MFA whenever a task requires elevated access

11
Choose all
1 point

When reviewing an access request, which checks should be performed? Select all that apply.

  1. A

    Identify the principal making the request.

  2. B

    Match the requested action to the relevant service action.

  3. C

    Check that the resource matches the intended resource.

  4. D

    Review applicable identity-based and resource-based policies, the role trust policy, and any applicable permissions boundary, session policy, or AWS Organizations policy.

  5. E

    Review only identity-based policies and ignore other applicable controls.

  6. F

    Assume that a policy's Allow is sufficient without checking other applicable policies.

12
Choose all
1 point

A developer needs to read objects from one project bucket, but their IAM user has s3:* on *. Which changes follow least privilege? Select all that apply.

  1. A

    Replace s3:* with the specific read actions the task requires

  2. B

    Keep s3:* on * because the developer may need other access later

  3. C

    Limit the resources to the intended bucket and its objects

  4. D

    Add upload and delete actions even though the task requires only reading

13
Open ended
1 point

Explain the difference between a role's trust policy and its permissions policy, and why both must be configured appropriately.

14
True or false
1 point

An IAM user has MFA enabled, but the applicable permissions policy allows only s3:GetObject. The user can delete an object because MFA is enabled.

  1. A

    True

  2. B

    False

15
Choose one
1 point

A team runs an application on an EC2 instance and needs to patch the instance’s guest operating system. Under the shared responsibility model, who is responsible for that patching?

  1. A

    AWS patches the guest operating system because EC2 runs on AWS infrastructure.

  2. B

    The customer patches the guest operating system inside its EC2 instance.

  3. C

    AWS and the customer each patch half of the guest operating system.

  4. D

    The hardware vendor patches the guest operating system.

16
Written response
1 point

An application running on EC2 needs access to AWS resources. What AWS identity type should be used to provide the workload with temporary credentials instead of storing a long-term access key?

17
Choose one
1 point

A developer needs to list and read objects in one project bucket, but currently has s3:* on *. Which change best follows least privilege?

  1. A

    Keep s3:* on * because the task is limited to one project.

  2. B

    Allow s3:GetObject on * and deny all other S3 actions.

  3. C

    Allow only the necessary read actions and scope them to the project bucket and its objects.

  4. D

    Allow s3:* on the project bucket and all its objects.

18
Choose one
1 point

A role’s permissions are appropriately limited, but an unintended principal can assume it. Which change addresses the problem, and what does that policy control?

  1. A

    The trust policy lists the resources the role can access; the permissions policy identifies who may assume it.

  2. B

    The trust policy identifies who may assume the role; the permissions policy defines what the role can do.

  3. C

    Both policies define only which users can sign in to the AWS account.

  4. D

    The trust policy grants MFA, and the permissions policy grants temporary credentials.

19
Written response
1 point

In the example policy for read-only access to one S3 bucket, what exact IAM action is used to list the bucket?

20
Choose one
1 point

A user’s policy allows an action on a resource, but another applicable policy explicitly denies that same action. What is the result?

  1. A

    The request is denied; an applicable explicit Deny overrides an Allow.

  2. B

    The request is allowed because any Allow takes precedence over a Deny.

  3. C

    The request is allowed if the user has MFA enabled.

  4. D

    The request is denied only if the resource-owning account also has an explicit Deny.