Q: 19
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?
Options
Discussion
D is right for this one. You want to actually see if you can reach the service on the server, not just check your own IP or open connections. curl lets you try hitting that database port straight up. Pretty sure CompTIA expects that answer here, but open to other ideas.
Ugh, CompTIA loves to sneak in curl lately. D.
D
Yeah, curl fits best since you can use it to check if you actually hit the database service directly. The others like ipconfig or netstat tell you info about your own network or connections, but don't actively test hitting the service. D is what I'd pick, pretty sure that's what CompTIA wants here.
Anyone seen this type in official practice or labs? Seems like ipconfig comes up more in A+ study guides.
Its D. curl can hit the server and test if the database port responds at all. The others are more about IP settings or DNS, but if you want to see if the app really can reach the backend, curl is targeted for that. I think it comes down to needing to poke directly at the service, agree?
D imo. curl lets you test direct connectivity to the database port, which is what you want here. Official A+ objectives and labs both cover using curl for these quick connection checks.
Be respectful. No spam.