AWS Certified Cloud Practitioner — Question 6
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, as an internet gateway facilitates communication between the VPC and the internet, allowing resources within the VPC to access the internet and vice versa. Options A, C, and D do not accurately describe the role of an internet gateway; A refers to VPN connections, C talks about bandwidth constraints, and D involves load balancing, which is a different function.