CompTIA A+ Core 2 (220-1202) — Question 7
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?
Answer options
- A. ipconfig
- B. nslookup
- C. netstat
- D. curl
Correct answer: D
Explanation
The correct answer is D, curl, which is used to test and interact with web applications. It can help determine if the application can successfully communicate with the server. The other options do not directly test the application's connection to the database: ipconfig shows network configuration, nslookup resolves DNS names, and netstat displays active connections.