Courseiva
Advanced Networking ConfigurationeasyMultiple SelectObjective-mapped

LPIC-2 Advanced Networking Configuration Practice Question

Which TWO of the following tools are used to capture and analyze network packets on a Linux system?

⚠ Common exam trap

It's easy for candidates to confuse tools that manipulate packets (like iptables) or scan networks (like nmap) with tools that passively capture and decode packet contents, leading them to select iptables or nmap instead of recognizing that only tcpdump and tshark perform raw packet capture and analysis.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

tcpdump

tcpdump is a command-line packet analyzer that captures raw network packets from the wire by placing the network interface into promiscuous mode and using libpcap to read packets. It allows filtering based on protocols, ports, and hosts using BPF (Berkeley Packet Filter) syntax, making it a fundamental tool for network troubleshooting and security analysis.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • tcpdump

    Why this is correct

    tcpdump is a command-line packet capture tool.

  • wireshark (tshark)

    Why this is correct

    Wireshark and its CLI version tshark capture and analyze packets.

  • iptables

    Why it's wrong here

    iptables is a firewall, not a capture tool.

  • netstat

    Why it's wrong here

    netstat displays network connections and statistics, not packet capture.

  • nmap

    Why it's wrong here

    nmap is a network scanner, not a packet capture tool.

About these practice questions

One of 507 original LPIC-2 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This LPIC-2 practice question is part of Courseiva's free LPI certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the LPIC-2 exam.