SCS-C02 · Question #242
A company runs workloads on Amazon EC2 instances in VPCs The EC2 instances make requests to Amazon S3 buckets through VPC endpoints. The company uses AWS Organizations to manage its AWS accounts. The
Sign in or unlock SCS-C02 to reveal the answer and full explanation for question #242. The question stem and answer options stay visible for context.
Question
A company runs workloads on Amazon EC2 instances in VPCs The EC2 instances make requests to Amazon S3 buckets through VPC endpoints. The company uses AWS Organizations to manage its AWS accounts. The company needs the requests from the EC2 instances to originate from the same VPC that the EC2 instance credentials were issued to. Which solution will meet this requirement?
Options
- ADeploy an SCP that includes the S3: * action with the "awsSourceVpc": "S
- BEdit the VPC endpoints to include the S3:' action with the "aws:
- CLimit all actions in the S3 bucket policies by using the aws:SourceVpce condition key with the
- DLimit all actions in the S3 bucket policies by using the aws:SourceVpc condition key with the
Unlock SCS-C02 to see the answer
You've previewed enough free SCS-C02 questions. Unlock SCS-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.