What is the primary purpose of placing an Amazon EC2 instance in a private subnet within a VPC?
To enable the EC2 instance to serve web traffic directly to the internet
To automatically assign an Elastic IP address to the EC2 instance
To prevent the EC2 instance from being directly accessible from the internet
To allow the EC2 instance to function as a NAT gateway for other instances