Bird
0
0

Which of the following is the correct JSON key to specify the effect of a statement in an IAM policy?

easy📝 Configuration Q12 of 15
AWS - Identity and Access Management
Which of the following is the correct JSON key to specify the effect of a statement in an IAM policy?
A"Permission"
B"Action"
C"Resource"
D"Effect"
Step-by-Step Solution
Solution:
  1. Step 1: Recall IAM policy statement keys

    IAM policy statements include keys like Effect, Action, Resource, and optionally Condition.
  2. Step 2: Identify key for permission type

    The key that specifies whether to allow or deny is "Effect".
  3. Final Answer:

    "Effect" -> Option D
  4. Quick Check:

    Effect key = permission type [OK]
Quick Trick: Effect key sets allow or deny in IAM policy [OK]
Common Mistakes:
  • Using "Permission" instead of "Effect"
  • Confusing "Action" with permission type
  • Mistaking "Resource" for effect

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes