A security engineer is reviewing a VPC configuration after an incident. They notice that instances can reach the internet directly and that no network egress controls are in place. They plan to reduce data exfiltration risk. Which approach is best?

Answer

Place workloads in private subnets, route egress through controlled paths (e.g., NAT with logging or a firewall), and restrict outbound with security groups/NACLs

Explanation

Private subnets plus controlled egress limits where traffic can go and enables inspection/logging. Security groups and NACLs further constrain outbound connectivity and reduce exfiltration opportunities.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list