Exam: AWS Certified Cloud Practitioner 0 Likes
What is the purpose of having an internet gateway within a VPC? (CLF-C02)
What is the purpose of having an internet gateway within a VPC?
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.
Solution
Correct answer: B) To allow communication between the VPC and the internet.
An internet gateway is a virtual router that connects a VPC to the internet, allowing instances within the VPC to communicate with the internet and vice versa. It enables outbound internet access from the VPC and inbound access to the VPC from the internet, if the security group rules allow it.
The other options are not correct:
A) A VPN connection is typically established using a VPN gateway, not an internet gateway.
C) Imposing bandwidth constraints on internet traffic is typically done using security groups or network ACLs, not an internet gateway.
D) Load balancing traffic from the internet across Amazon EC2 instances is typically done using an Elastic Load Balancer, not an internet gateway.
Category: Basic AWS services