Courseiva
easyMultiple ChoiceObjective-mapped

XK0-006 Practice Question: Identify the network interface configuration and…

A technician needs to identify the network interface configuration and IP address of a system. Which command provides the most comprehensive output for this task?

⚠ Common exam trap

Test-takers frequently choose `ifconfig` out of habit, not realizing it is deprecated and may not show all interfaces or IPv6 addresses, whereas `ip addr show` is the comprehensive, modern standard.

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 show

The `ip addr show` command is the most comprehensive because it displays all network interfaces along with their IP addresses (IPv4 and IPv6), MAC addresses, MTU, state (UP/DOWN), and additional flags. It is part of the modern `iproute2` suite, which is the standard for Linux network configuration and supersedes older tools like `ifconfig`.

Answer analysis

Option-by-option breakdown

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

  • nmcli dev show

    Why it's wrong here

    Requires NetworkManager.

  • ip addr show

    Why this is correct

    Shows all interfaces with IP addresses.

  • netstat -i

    Why it's wrong here

    Shows interface statistics, not IP addresses.

  • ifconfig

    Why it's wrong here

    Deprecated; may not show all interfaces.

  • hostname -I

    Why it's wrong here

    Shows only IP addresses, no interface info.

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

Courseiva writes every XK0-006 question from scratch — 979 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. 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.