XK0-006 Troubleshooting Practice Question
A Linux administrator needs to verify which network interfaces are up and their IP addresses on a server. Which command provides this information?
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
✓
ip addr
The `ip addr` command displays all network interfaces along with their IP addresses, MAC addresses, and status (UP/DOWN).
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
ss -tlnp
Why it's wrong here
ss -tlnp shows listening TCP sockets, not interface IP addresses.
- ✗
nmcli dev show
Why it's wrong here
While `nmcli dev show` does display network device information, its output is excessively verbose and detailed, including a comprehensive list of all device parameters and their current states, rather than a concise summary of active interfaces and their IP addresses. It is tempting because it *does* show network device status, and would be the correct choice if the administrator needed to diagnose intricate network configuration issues or inspect specific driver details.
- ✗
ifconfig -a
Why it's wrong here
ifconfig is deprecated and may not show all interfaces by default without -a, but ip addr is the modern replacement.
- ✓
ip addr
Why this is correct
Correct. ip addr shows detailed interface information including IP addresses and status.
Quick reference
Access Control Model Comparison
| Model | Acronym | Who Controls Access? | Best For |
|---|---|---|---|
| Discretionary Access Control | DAC | Resource owner | Small teams, file shares |
| Mandatory Access Control | MAC | System / security labels | Classified govt / military |
| Role-Based Access Control | RBAC | Administrator (via roles) | Enterprise environments |
| Attribute-Based Access Control | ABAC | Policy engine (user + resource attributes) | Fine-grained, dynamic policies |
| Rule-Based Access Control | RuBAC | System rules / ACLs | Firewall rules, network ACLs |
Go deeper
Related to this question
About these practice questions
One of 979 original XK0-006 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 →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This XK0-006 practice question is part of Courseiva's free CompTIA 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 XK0-006 exam.