CompTIA Network+ (N10-007) — Question 623
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 answer is B, as the 'netstat -a' command displays all active connections and listening ports, allowing the administrator to check if the database engine is listening on the desired port. Options A, C, and D do not provide information about network connections or listening ports, making them unsuitable for this task.