AWS Certified Security – Specialty — Question 340

A security engineer has designed a VPC to segment private traffic from public traffic. The VPC includes two Availability Zones. The security engineer has provisioned each Availability Zone with one private subnet and one public subnet. The security engineer has created three route tables for use with the environment. One route table is for the public subnets, and two route tables are for the private subnets (one route table for the private subnet in each Availability Zone).

The security engineer discovers that all four subnets are attempting to route traffic out though the internet gateway that is attached to the VPC.

Which combination of steps should the security engineer take to remediate this scenario? (Choose two.)

Answer options

Correct answer: A, D

Explanation

To allow private subnets to securely access the internet without direct exposure, a NAT gateway must be deployed in a public subnet within each Availability Zone (Option A). The route tables for the private subnets must then be updated to route all outbound internet traffic (0.0.0.0/0) to these NAT gateways rather than the internet gateway (Option D). Option B is incorrect because NAT gateways must reside in public subnets, and Option E is incorrect because routing private traffic directly to an internet gateway violates the private subnet architecture.