Exam4Training

Which traffic flow is correct?

Refer to the exhibit.

Traffic is initiated from the EC2 instance and is destined for the internet.

Which traffic flow is correct?
A . EC2 instance > NAT GW > IGW > internet
B . There is no route to the internet in the Private Route Table. The traffic does not reach the internet.
C . EC2 instance > GWLBe > NAT GW > IGW > internet
D . EC2 instance > GWLBe > internet

Answer: C

Explanation:

Understanding the Architecture:

The architecture includes an EC2 instance in a private subnet, a Gateway Load Balancer Endpoint (GWLBe), a NAT Gateway (NAT GW), and an Internet Gateway (IGW). Route Tables and Routing:

The private route table for the subnet containing the EC2 instance has a route pointing to the GWLBe for internet-bound traffic.

The public route table for the subnet containing the NAT Gateway has routes to the IGW.

Traffic Flow Analysis:

Traffic initiated from the EC2 instance destined for the internet will first be routed to the GWLBe as per the private route table.

The GWLBe will forward the traffic to the NAT Gateway.

The NAT Gateway will then route the traffic to the IGW, which finally sends the traffic to the internet.

Comparison with Other Options:

Option A suggests direct routing to the NAT GW from the EC2 instance, which is incorrect. Option B incorrectly states there is no route to the internet in the private route table. Option D suggests direct routing from GWLBe to the internet, which is not the case.

Reference: AWS Documentation on Route Tables: AWS Route Tables

Gateway Load Balancer Overview: AWS Gateway Load Balancer

Exit mobile version