A company uses AWS Organizations with separate OUs for development and production. Only AWS accounts in the production OU should be allowed to write VPC Flow Logs to a specific Amazon S3 bucket. When adding a Condition element to the S3 bucket policy for s3:PutObject, how should the security engineer configure the condition?
Choose an answer
Tap an option to check your answer.
Correct answer: Set the aws:SourceOrgPaths condition key to the AWS Organizations entity path of the production OU..
Why this is the answer
The aws:SourceOrgPaths condition key is correct because it allows you to specify the exact organizational unit (OU) path from which an action can originate. This ensures that only accounts within the designated production OU can write VPC Flow Logs to the S3 bucket, fulfilling the requirement for granular control based on OU membership. aws:SourceOrgID would allow any account within the entire organization, not just the production OU. aws:ResourceOrgID and aws:ResourceOrgPaths are used to specify conditions based on the organization or OU of the resource being accessed, not the source of the request, which is what's needed here.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed