Bird
0
0

Which of the following is the correct JSON key to specify who is allowed or denied access in a bucket policy?

easy📝 Configuration Q12 of 15
AWS - S3 Fundamentals
Which of the following is the correct JSON key to specify who is allowed or denied access in a bucket policy?
A"Action"
B"Principal"
C"Resource"
D"Effect"
Step-by-Step Solution
Solution:
  1. Step 1: Identify the key for user or service

    The "Principal" key specifies the user, account, service, or entity the policy applies to.
  2. Step 2: Differentiate from other keys

    "Action" defines allowed actions, "Resource" defines the bucket or objects, "Effect" states Allow or Deny.
  3. Final Answer:

    "Principal" -> Option B
  4. Quick Check:

    Who = Principal [OK]
Quick Trick: Principal means who gets access [OK]
Common Mistakes:
  • Confusing "Action" with "Principal"
  • Using "Effect" to specify user
  • Mixing up "Resource" with user identity

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes