Policy Conditions Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering IAM Policies

What you'll be asked

  1. Which IAM policy element is used to specify the circumstances under which a policy is in effect?
  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. 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. When using the 'StringLike' condition operator, what is the purpose of the asterisk (*) wildcard?
  5. You are writing a policy with multiple conditions within a single 'Condition' block. How does IAM evaluate these conditions?

Answers and explanations come after you submit.