ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 515 - CLF-C02 discussion

Report
Export

What is the purpose of having an internet gateway within a VPC?

A.
To create a VPN connection to the VPC
Answers
A.
To create a VPN connection to the VPC
B.
To allow communication between the VPC and the internet
Answers
B.
To allow communication between the VPC and the internet
C.
To impose bandwidth constraints on internet traffic
Answers
C.
To impose bandwidth constraints on internet traffic
D.
To load balance traffic from the internet across Amazon EC2 instances
Answers
D.
To load balance traffic from the internet across Amazon EC2 instances
Suggested answer: B

Explanation:

An internet gateway is a service that allows for internet traffic to enter into a VPC. Otherwise, a VPC is completely segmented off and then the only way to get to it is potentially through a VPN connection rather than through internet connection. An internet gateway is a logical connection between an AWS VPC and the internet. It supports IPv4 and IPv6 traffic.It does not cause availability risks or bandwidth constraints on your network traffic1. An internet gateway enables resources in your public subnets (such as EC2 instances) to connect to the internet if the resource has a public IPv4 address or an IPv6 address.Similarly, resources on the internet can initiate a connection to resources in your subnet using the public IPv4 address or IPv6 address2. An internet gateway also provides a target in your VPC route tables for internet-routable traffic. For communication using IPv4, the internet gateway also performs network address translation (NAT).For communication using IPv6, NAT is not needed because IPv6 addresses are public2.To enable access to or from the internet for instances in a subnet in a VPC using an internet gateway, you must create an internet gateway and attach it to your VPC, add a route to your subnet's route table that directs internet-bound traffic to the internet gateway, ensure that instances in your subnet have a public IPv4 address or an IPv6 address, and ensure that your network access control lists and security group rules allow the desired internet traffic to flow to and from your instance2.Reference:Connect to the internet using an internet gateway,AWS Internet Gateway and VPC Routing

asked 16/09/2024
Ahmed Ebrahim
44 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first