AWS Certified SysOps Administrator – Associate (legacy) — Question 151

You need to design a VPC for a web-application consisting of an Elastic Load Balancer (ELB). a fleet of web/application servers, and an RDS database. The entire Infrastructure must be distributed over 2 availability zones.
Which VPC configuration works while assuring the database is not available from the Internet?

Answer options

Correct answer: C

Explanation

The correct answer is C because it provides public subnets for the ELB, allowing it to receive traffic from the Internet, while ensuring the web servers and RDS are placed in private subnets, preventing direct Internet access to the database. Options A and B do not adequately separate the database into a private subnet. Option D incorrectly places the RDS in public subnets, exposing it to the Internet.