AWS Certified Advanced Networking – Specialty (ANS-C01) — Question 262

A company wants to analyze TCP internet traffic. The traffic originates from Amazon EC2 instances in the company’s VPC. The EC2 instances initiate connections through a NAT gateway.

The company wants to capture data about the traffic including source and destination IP addresses ports, and the first 8 bytes of the TCP segments of the traffic. The company needs to collect, store, and analyze all the required data points.

Which solution will meet these requirements?

Answer options

Correct answer: B

Explanation

The correct answer is B because configuring the NAT gateway as a VPC traffic mirror source allows for capturing the required traffic data effectively. The other options either do not capture the necessary data points or do not utilize the NAT gateway, which is essential for this scenario.