AWS VPC Internet Gateway Purpose
Short answer
B An internet gateway allows communication between the VPC and the internet.
Question
Key Takeaways
The question tests the fundamental role of an Internet Gateway (IGW) versus other networking components like Virtual Private Gateways (VPG) or Network Load Balancers (NLB). The common trap is confusing the IGW with services that handle encrypted connections or traffic distribution.
An internet gateway is a core VPC component that enables bidirectional communication between instances in a VPC and the public internet. This page clarifies that its sole purpose is routing traffic, not managing VPNs or load balancing.
Common mistake: Candidates often select option A (VPN connection) because they associate 'gateway' with secure tunnels. However, AWS uses a Virtual Private Gateway (VGW) for Site-to-Site VPNs, whereas an Internet Gateway is strictly for public internet access.
Expert Analysis
Why the Answer Is Correct
Option B is the correct answer because an Internet Gateway (IGW) is specifically designed to allow communication between resources in a VPC and the internet. It acts as a horizontally scaled, redundant, and highly available network gateway that supports IPv4 and IPv6 traffic. When you attach an IGW to a VPC and configure route tables to direct traffic to it, EC2 instances with public IP addresses can communicate directly with the internet.
Why the Other Options Are Wrong
Option A is incorrect because VPN connections are established using a Virtual Private Gateway (VGW), not an Internet Gateway. Option C is wrong because IGWs do not impose bandwidth constraints; they provide a scalable bridge to the internet. Option D is incorrect because load balancing is handled by Elastic Load Balancing (ELB) services, such as Application Load Balancers or Network Load Balancers, which sit in front of EC2 instances but are distinct from the IGW itself.
Community Comment Notes
The community consensus strongly favors Option B, with multiple users citing the official AWS documentation. As noted by user isaphiltrick, the definition states that an IGW allows communication between the VPC and the internet. User Ruffyit also confirmed this, referencing the same official source. The comments consistently highlight that while VGWs handle VPNs, IGWs handle general internet connectivity.
Official Reference
https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Internet_Gateway.html
This link opens the official vendor documentation in a new tab.
Exam Strategy
Always distinguish between 'Internet' and 'Private' gateways. Remember that Internet Gateways provide public internet access, while Virtual Private Gateways are used for connecting your VPC to on-premises networks via VPN. Confusing these two is a frequent exam pitfall.
Frequently Asked Questions
What is the difference between an Internet Gateway and a Virtual Private Gateway?
Can an Internet Gateway load balance traffic across EC2 instances?
Discussion 18 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 18
-
TheFivePips 👍 17 Answered BA. To create a VPN connection to the VPC: VPN connections are typically established using Virtual Private Gateways rather than internet gateways. Internet gateways are not directly involved in VPN connections. B. To allow communication between the VPC and the internet: The primary purpose of an internet gateway (IGW) within a Virtual Private Cloud (VPC) is to enable communication between resources in the VPC and the internet. It serves as a horizontally scaled, redundant component that allows outbound traffic from resources in the VPC to the internet and vice versa. C. To impose bandwidth constraints on internet traffic: Internet gateways do not impose bandwidth constraints on internet traffic. D. To load balance traffic from the internet across Amazon EC2 instances: Load balancing of internet traffic is typically handled by services like Elastic Load Balancing (ELB) rather than the internet gateway.
-
isaphiltrick 👍 10B is correct. "An internet gateway is a horizontally scaled, redundant, and highly available VPC component that allows communication between your VPC and the internet." Reference: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Internet_Gateway.html
-
Ruffyit 👍 2B is correct. "An internet gateway is a horizontally scaled, redundant, and highly available VPC component that allows communication between your VPC and the internet."
-
demo4422 👍 2 Answered BB is correct answer "Connect to the internet using an internet gateway" https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Internet_Gateway.html
-
Sir_Kay 👍 1 Answered BAn internet gateway in a VPC (Virtual Private Cloud) is used to allow bi-directional communication between instances in the VPC and the internet. It is necessary for enabling internet access to and from resources inside the VPC, such as Amazon EC2 instances.
Show 13 more comments
-
Anyio 👍 1 Answered BThe Correct answer is B. https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Internet_Gateway.html
-
3veryday 👍 1 Answered BInternet Gateway(IGW) is gateway btw VPC resource(etc, ec2) <-> internet.
-
ShaiTay 👍 1 Answered BB. To allow communication between the VPC and the internet
-
8479c2f 👍 1 Answered BTo allow communication between the VPC and the internet
-
Dipa_2910 👍 1 Answered BOption B - to allow communication with VPC and internet
-
alanb1978 👍 1 Answered BVPC eith an Internet connection
-
lunamuller 👍 1 Answered BAnswer B is Correct.
-
DhavalMakwana 👍 1 Answered BCorrect answer is B
-
Julio19vp 👍 1 Answered BLa B es correcto
-
Julio19vp 👍 1 Answered BLa b es correcta
-
asdfcdsxdfc 👍 1 Answered BB looks correct
-
Kostiantyn12 👍 1 Answered BB is correct.
-
GPFT 👍 1 Answered Bb is correct
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All CLF-C02 Questions
Access 120 questions with complete answers and detailed explanations.
View Full CLF-C02 Practice Test →