CompTIA

220-1202 practice question 15

CompTIA A+ Core 2 · free question 15 of 20

Question

A user recently installed an application that accesses a database from a local server. When launching the application, it does not populate any information. Which of the following command-line tools is the best to troubleshoot the issue?
  • A. ipconfig
  • B. nslookup
  • C. netstat Correct
  • D. curl

Explanation

The application gets its data from a database on a local server, so the technician should check whether the client actually has a connection to the database server's port. netstat shows active TCP connections, listening ports and their states (for example ESTABLISHED or SYN_SENT), which reveals whether the app is connecting. ipconfig only shows the local IP configuration, nslookup tests DNS name resolution, and curl tests URL-based (HTTP) transfers rather than a database connection.

Practice the whole free set

Answer all 20 free 220-1202 questions with instant feedback, or unlock all 350 questions with Learn and Exam modes.