AWS Certified Security – Specialty (SCS-C02) — Question 149

A company has two AWS accounts: Account A and Account B. Each account has a VPC. An application that runs in the VPC in Account A needs to write to an Amazon S3 bucket in Account B. The application in Account A already has permission to write to the S3 bucket in Account B.

The application and the S3 bucket are in the same AWS Region. The company cannot send network traffic over the public internet.

Which solution will meet these requirements?

Answer options

Correct answer: D

Explanation

The correct answer is D because creating a gateway VPC endpoint for Amazon S3 in Account A allows the application to access the S3 bucket in Account B directly without traversing the public internet. Options A, B, and C involve more complex networking setups that are unnecessary given the requirement to access S3 directly within the same region.