Policy Conditions Quiz

5 questions Pass: 70% +25 pts

Quiz covering IAM Policies

Policy Conditions Quiz

5 questions | Pass: 70% | Earn 25 points

Questions in this quiz

A preview of the 5 questions covered. Start the quiz above to answer them, check your score, and read the explanations.

  1. 1

    Which IAM policy element is used to specify the circumstances under which a policy is in effect?

  2. 2

    You want to restrict access to an S3 bucket so that users can only access it from your corporate office's public IP address (192.0.2.0/24). Which condition operator should you use?

  3. 3

    If an IAM policy contains a condition that checks for 'aws:MultiFactorAuthPresent' with a value of 'true', what happens if a user tries to access the resource without MFA?

  4. 4

    When using the 'StringLike' condition operator, what is the purpose of the asterisk (*) wildcard?

  5. 5

    You are writing a policy with multiple conditions within a single 'Condition' block. How does IAM evaluate these conditions?