CompTIA Network+ (N10-008) — Question 88
A network administrator is configuring a database server and would like to ensure the database engine is listening on a certain port. Which of the following commands should the administrator use to accomplish this goal?
Answer options
- A. nslookup
- B. netstat -a
- C. ipconfig /a
- D. arp -a
Correct answer: B
Explanation
The correct command is 'netstat -a', which displays all active connections and listening ports, allowing the administrator to check if the database engine is listening on the desired port. The other options, such as 'nslookup', 'ipconfig /a', and 'arp -a', serve different purposes, like resolving DNS names, displaying IP configuration, and showing the ARP table, respectively.