AWS Certified Advanced Networking – Specialty (ANS-C01) — Question 97

A company needs to temporarily scale out capacity for an on-premises application and wants to deploy new servers on Amazon EC2 instances. A network engineer must design the networking solution for the connectivity and for the application on AWS.

The EC2 instances need to share data with the existing servers in the on-premises data center. The servers must not be accessible from the internet. All traffic to the internet must route through the firewall in the on-premises data center. The servers must be able to access a third-party web application.

Which configuration will meet these requirements?

Answer options

Correct answer: B

Explanation

Option B is the correct choice as it utilizes a VPC with only private subnets, ensuring that the servers are not accessible from the internet while allowing secure connectivity to the on-premises data center via the VPN. Options A, C, and D include public subnets, which do not meet the requirement of restricting internet access for the servers.