nerdexam
Amazon

SCS-C03 · Question #91

A company has an organization in AWS Organizations. The organization consists of multiple OUs. The company must prevent IAM principals from outside the organization from accessing the organization's…

The correct answer is D. Deploy an SCP that includes the "aws:ResourceOrgID": "${aws:PrincipalOrgID}" condition. By using an SCP with the aws:ResourceOrgID and aws:PrincipalOrgID condition, you ensure that only IAM principals from within the same AWS Organization can access the S3 buckets. This SCP restricts access from any IAM principals outside the organization while allowing access…

Submitted by ravi_2018· Mar 6, 2026Identity and Access Management (IAM)

Question

A company has an organization in AWS Organizations. The organization consists of multiple OUs. The company must prevent IAM principals from outside the organization from accessing the organization's Amazon S3 buckets. The solution must not affect the existing access that the OUs have to the S3 buckets. Which solution will meet these requirements?

Options

  • AConfigure S3 Block Public Access for all S3 buckets.
  • BConfigure S3 Block Public Access for all AWS accounts.
  • CDeploy an SCP that includes the "aws:ResourceOrgPaths": "${aws:PrincipalOrgPaths}" condition.
  • DDeploy an SCP that includes the "aws:ResourceOrgID": "${aws:PrincipalOrgID}" condition.

How the community answered

(62 responses)
  • A
    15% (9)
  • B
    5% (3)
  • C
    10% (6)
  • D
    71% (44)

Explanation

By using an SCP with the aws:ResourceOrgID and aws:PrincipalOrgID condition, you ensure that only IAM principals from within the same AWS Organization can access the S3 buckets. This SCP restricts access from any IAM principals outside the organization while allowing access within the organization. This approach meets the requirement without affecting existing permissions within the OUs.

Topics

#SCP#AWS Organizations#PrincipalOrgID#S3 cross-org access

Community Discussion

No community discussion yet for this question.

Full SCS-C03 Practice