AWS Certified Cloud Practitioner (CLF-C02) — Question 27
What is the purpose of having an internet gateway within a VPC?
Answer options
- A. To create a VPN connection to the VPC
- B. To allow communication between the VPC and the internet
- C. To impose bandwidth constraints on internet traffic
- D. To load balance traffic from the internet across Amazon EC2 instances
Correct answer: B
Explanation
The correct answer is B because the internet gateway is specifically designed to facilitate communication between the VPC and the internet. Option A refers to a VPN connection, which is not the function of an internet gateway. Option C incorrectly suggests that an internet gateway imposes bandwidth constraints, which it does not do. Option D describes load balancing, which is handled by different services like Elastic Load Balancing, not the internet gateway.