PSE-PRISMACLOUD · Question #95
What is required for an EC2 instance to access the internet directly from an AWS VPC?
The correct answer is A. Internet Gateway. An Internet Gateway (IGW) is the VPC component that enables direct internet access for EC2 instances - it acts as the bridge between your VPC and the public internet, handling both inbound and outbound traffic when attached to a VPC and referenced in a route table. Why the…
Question
What is required for an EC2 instance to access the internet directly from an AWS VPC?
Options
- AInternet Gateway
- BTransit Gateway
- CVirtual Private Gateway
- DCustomer Gateway
How the community answered
(43 responses)- A88% (38)
- B2% (1)
- C7% (3)
- D2% (1)
Explanation
An Internet Gateway (IGW) is the VPC component that enables direct internet access for EC2 instances - it acts as the bridge between your VPC and the public internet, handling both inbound and outbound traffic when attached to a VPC and referenced in a route table.
Why the distractors are wrong:
- B. Transit Gateway - connects multiple VPCs and on-premises networks together, not a path to the public internet on its own.
- C. Virtual Private Gateway - the VPN endpoint on the AWS side for connecting your VPC to an on-premises network via a VPN tunnel, not the internet.
- D. Customer Gateway - represents your on-premises VPN device in AWS's configuration; it's the other half of a VPN connection, not an internet access point.
Memory tip: Think of the Internet Gateway like your home router's WAN port - it's the single attachment point that "opens" your private network to the internet. The word "Internet" is literally in the name, which makes A the obvious answer when the question asks about internet access.
Topics
Community Discussion
No community discussion yet for this question.