AWS Certified Solutions Architect – Professional — Question 808

A company has two VPCs: VPC A and VPC B. The company uses a solution in VPC A in the ca-central-1 Region to expose services that are deployed on Amazon
EC2 instances. The services read objects that are stored in an Amazon S3 bucket in ca-central-1. The S3 bucket must not be publicly accessible, and the EC2 instances must use a gateway VPC endpoint. A rule in the S3 bucket policy allows only traffic that comes from the VPC A endpoint.
The company recently created another application. The application is hosted on EC2 instances that are deployed in VPC B in the us-east-1 Region in the same
AWS account. The application needs to access objects that are stored in the S3 bucket in ca-central-1.
Which solution will meet these requirements?

Answer options

Correct answer: C

Explanation

Option C is correct because gateway VPC endpoints do not support transitive routing or cross-Region access over VPC peering, which rules out Options A and B. By leveraging AWS PrivateLink with a Network Load Balancer and establishing a cross-Region VPC peering connection between VPC C and VPC B, traffic can be securely routed across Regions to access the services. Option D is incorrect because an IPsec VPN connection cannot be used to route traffic directly to an S3 gateway VPC endpoint.