LPIC-2 Advanced Networking Configuration Practice Question
An administrator needs to prioritize traffic for a VoIP application over other traffic on a Linux router. Which tool should be used to implement traffic shaping and prioritization?
⚠ Common exam trap
Candidates often confuse packet marking (iptables mangle) with actual traffic shaping, forgetting that marking alone does not prioritize traffic without a queuing discipline configured via `tc`.
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
✓
tc (traffic control)
B is correct because the `tc` (traffic control) command is the standard Linux utility for traffic shaping, prioritization, and bandwidth management. It operates at the kernel's QoS layer, allowing the administrator to define queuing disciplines (qdiscs) such as HTB or PRIO to prioritize VoIP packets based on classification rules, ensuring low latency for real-time traffic.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
ip route with priority
Why it's wrong here
ip route sets routes, not traffic priorities.
- ✓
tc (traffic control)
Why this is correct
tc is the dedicated tool for QoS, shaping, and scheduling.
- ✗
tcpdump with filters
Why it's wrong here
tcpdump captures packets, does not shape.
- ✗
iptables with the mangle table
Why it's wrong here
iptables can mark packets but cannot shape traffic.
Go deeper
Related to this question
About these practice questions
This LPIC-2 question is part of Courseiva's 507-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
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.