Courseiva
TroubleshootingmediumMultiple ChoiceObjective-mapped

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

ModelAcronymWho Controls Access?Best For
Discretionary Access ControlDACResource ownerSmall teams, file shares
Mandatory Access ControlMACSystem / security labelsClassified govt / military
Role-Based Access ControlRBACAdministrator (via roles)Enterprise environments
Attribute-Based Access ControlABACPolicy engine (user + resource attributes)Fine-grained, dynamic policies
Rule-Based Access ControlRuBACSystem rules / ACLsFirewall rules, network ACLs

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 →

How Courseiva writes practice questions · Editorial policy

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.