What is the purpose of having an internet gateway within a VPC?
To create a VPN connection to the VPC
To allow communication between the VPC and the internet
To impose bandwidth constraints on internet traffic
To load balance traffic from the internet across Amazon EC2 instances
Explanations:
An internet gateway does not create a VPN connection. Instead, a VPN connection is established using a Virtual Private Gateway for secure communication between a VPC and an on-premises network.
The primary purpose of an internet gateway is to allow communication between the VPC and the internet. It facilitates outbound internet traffic from resources in the VPC and enables inbound traffic from the internet.
An internet gateway does not impose bandwidth constraints; rather, it acts as a route for internet traffic. Bandwidth management can be handled through other means, such as Network ACLs or AWS QoS policies.
While an internet gateway allows internet traffic, it does not load balance that traffic. Load balancing from the internet to EC2 instances is achieved using Elastic Load Balancing (ELB) services, not the internet gateway itself.