AWS Certified Advanced Networking – Specialty (ANS-C00) — Question 353

A company is building a hybrid PCI-DSS compliant application that runs in the us-west-2 Region and on-premises. The application sends access logs from all locations to a single Amazon S3 bucket in us-west-2. To protect this sensitive data, the bucket policy is configured to deny access from public IP addresses.
How should an engineer configure the network to meet these requirements?

Answer options

Correct answer: A

Explanation

Option A is correct because utilizing an AWS Direct Connect private virtual interface coupled with an HTTPS proxy inside the VPC allows on-premises traffic to route privately through a VPC endpoint, ensuring S3 requests originate from private VPC IP addresses and comply with the bucket policy. Option C is incorrect because a public VIF routes traffic over public IP space, violating the bucket policy that blocks public IPs. Options B and D are incorrect because BGP cannot directly advertise S3 routes over a VPN, and NAT gateways translate traffic to public IPs which would be blocked by the bucket policy.