nerdexam
Amazon

SCS-C02 · Question #134

A security engineer needs to create an Amazon S3 bucket policy to grant least privilege read access to IAM user accounts that are named User1, User2, and User3. These IAM user accounts are members…

The correct answer is A. "Principal": { "AWS": [ "arn:aws:iam::1234567890:user/User1", "arn:aws:iam::1234567890:user/User2", "arn:aws:iam::1234567890:user/User3" ] }. Option A is correct because S3 bucket policies require individual IAM user ARNs to be explicitly listed in the Principal element when granting least privilege access to specific users. This directly names only User1, User2, and User3, satisfying both the 'missing Principal'…

Submitted by kavita_s· Mar 6, 2026Identity and Access Management - Implement and manage authorization controls for AWS resources, including writing least-privilege S3 bucket policies with correct Principal definitions

Question

A security engineer needs to create an Amazon S3 bucket policy to grant least privilege read access to IAM user accounts that are named User1, User2, and User3. These IAM user accounts are members of the AuthorizedPeople IAM group. The security engineer drafts the following S3 bucket policy:

When the security engineer tries to add the policy to the S3 bucket, the following error message appears: "Missing required field Principal." The security engineer is adding a Principal element to the policy. The addition must provide read access to only User1, User2, and User3. Which solution meets these requirements? A. B. C. D.

Exhibits

SCS-C02 question #134 exhibit 1
SCS-C02 question #134 exhibit 2

Options

  • A"Principal": { "AWS": [ "arn:aws:iam::1234567890:user/User1", "arn:aws:iam::1234567890:user/User2", "arn:aws:iam::1234567890:user/User3" ] }
  • B"Principal": { "AWS": [ "arn:aws:iam::1234567890:root" ] }
  • C"Principal": { "AWS": [ "*" ] }
  • D"Principal": { "AWS": "arn:aws:iam::1234567890:group/AuthorizedPeople" }

How the community answered

(22 responses)
  • A
    91% (20)
  • B
    5% (1)
  • C
    5% (1)

Explanation

Option A is correct because S3 bucket policies require individual IAM user ARNs to be explicitly listed in the Principal element when granting least privilege access to specific users. This directly names only User1, User2, and User3, satisfying both the 'missing Principal' error and the least privilege requirement. IAM groups cannot be used as principals in resource-based policies like S3 bucket policies, so each user must be specified individually.

Topics

#S3 Bucket Policies#IAM Principals#Least Privilege#Resource-Based Policies

Community Discussion

No community discussion yet for this question.

Full SCS-C02 Practice