Courseiva
mediumMatchingObjective-mapped

CAS-004 Practice Question: Match each command-line tool to its primary…

Match each command-line tool to its primary function.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

DNS query and lookup

Display network connections and listening ports

Capture and analyze network traffic

Perform SSL/TLS cryptographic operations

Network discovery and port scanning

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

nmap: Network discovery and security scanning

These tools are commonly used for network troubleshooting and security assessments.

Answer analysis

Option-by-option breakdown

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

  • nmap: Network discovery and security scanning

    Why this is correct

    nmap is used for network discovery, port scanning, and vulnerability detection.

  • nmap: Display network connections and routing tables

    Why it's wrong here

    Incorrect — that describes netstat, not nmap.

  • netstat: Display network connections, routing tables, and interface statistics

    Why this is correct

    netstat shows active connections, routing tables, and network interface statistics.

  • netstat: Capture and analyze network packets

    Why it's wrong here

    Incorrect — that describes tcpdump, not netstat.

  • tcpdump: Capture and analyze network packets

    Why this is correct

    tcpdump is a packet analyzer used to capture and inspect network traffic.

  • tcpdump: Test connectivity to a remote host

    Why it's wrong here

    Incorrect — that describes ping, not tcpdump.

About these practice questions

Courseiva writes every CAS-005 question from scratch — 968 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 CAS-005 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 CAS-005 exam.