Bird
0
0

Which JSON element in a bucket policy specifies the user or service the policy applies to?

easy📝 Conceptual Q2 of 15
AWS - S3 Fundamentals
Which JSON element in a bucket policy specifies the user or service the policy applies to?
A"Effect"
B"Principal"
C"Action"
D"Resource"
Step-by-Step Solution
Solution:
  1. Step 1: Identify the role of JSON elements in bucket policy

    "Principal" defines who the policy applies to (users, roles, services).
  2. Step 2: Differentiate from other elements

    "Effect" is allow or deny, "Action" is what can be done, "Resource" is the bucket or objects.
  3. Final Answer:

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

    Principal = user/service identity = A [OK]
Quick Trick: "Principal" means who gets the permission [OK]
Common Mistakes:
MISTAKES
  • Confusing "Effect" with "Principal"
  • Using "Action" to specify user
  • Mixing up "Resource" with "Principal"

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes