nerdexam
CompTIA

220-802 · Question #149

A technician wants to know the MAC address of a computer. Which of the following commands would the technician use?

The correct answer is A. IPCONFIG. The IPCONFIG command with the /all switch displays detailed adapter information including the Physical Address, which is the MAC address.

Networking

Question

A technician wants to know the MAC address of a computer. Which of the following commands would the technician use?

Options

  • AIPCONFIG
  • BNSLOOKUP
  • CNETSTAT
  • DPING

How the community answered

(35 responses)
  • A
    89% (31)
  • B
    6% (2)
  • C
    3% (1)
  • D
    3% (1)

Why each option

The IPCONFIG command with the /all switch displays detailed adapter information including the Physical Address, which is the MAC address.

AIPCONFIGCorrect

Running ipconfig /all in the Windows command prompt displays comprehensive network adapter details, including the Physical Address field, which is the hardware MAC address of each network interface. This is the standard built-in Windows tool used to quickly retrieve a machine's MAC address without requiring third-party software.

BNSLOOKUP

NSLOOKUP is a DNS lookup tool used to query DNS servers for hostname-to-IP resolution and has no capability to display MAC addresses.

CNETSTAT

NETSTAT displays active network connections, listening ports, and routing tables but does not report MAC addresses.

DPING

PING tests connectivity to a remote host by sending ICMP echo requests and returns round-trip times, not MAC address information.

Concept tested: Retrieving MAC address with IPCONFIG /all

Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/ipconfig

Topics

#MAC address#ipconfig /all#network identification#command line

Community Discussion

No community discussion yet for this question.

Full 220-802 Practice