A third-party pricing service communicates with EC2 instances over UDP port 50000. Responses sometimes appear malformed. The vendor wants to capture request and response data for debugging by accessing an EC2 instance that talks to the pricing service, but the company forbids direct access to production and requires analysis in a separate monitoring account. Which sequence of actions meets these constraints and captures the data?
Choose an answer
Tap an option to check your answer.
Correct answer: 1. Create a traffic mirror filter to capture the UDP packets. 2. Enable Traffic Mirroring for the EC2 instance's ENI. 3. Launch an EC2 instance in the monitoring account with a packet-inspection tool and use its ENI as the traffic mirror target. 4. Extract the UDP data with the inspection tool. 5. Provide the extracted data to the third-party vendor..
Why this is the answer
The correct option uses Traffic Mirroring, which allows you to copy network traffic from an ENI and send it to a monitoring tool. This is ideal for deep packet inspection and debugging. By sending the mirrored traffic to an EC2 instance in a separate monitoring account, it adheres to the company's security policy of no direct access to production and analysis in a separate account. VPC Flow Logs (option 1) only record metadata about IP traffic (source, destination, port, protocol, action), not the actual packet contents, so they cannot be used for debugging malformed responses. Option 2 is incorrect because it places the packet inspection tool in the production account, violating the company's requirement for analysis in a separate monitoring account. Option 4 involves direct access to the production instance to run tcpdump, which is explicitly forbidden by company policy.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed