SCS-C03 · Question #91
SCS-C03 Question #91: Real Exam Question with Answer & Explanation
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 withi
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.
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.
Community Discussion
No community discussion yet for this question.