exam questions

Exam 220-1202 All Questions

View all questions & answers for the 220-1202 exam

Exam 220-1202 topic 1 question 16 discussion

Actual exam question from CompTIA's 220-1202
Question #: 16
Topic #: 1
[All 220-1202 Questions]

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
  • D. curl
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
CYBERDisciple29
1 week ago
Selected Answer: D
The question asks which is best to 'troubleshoot" the issue. A and B are unrelated. C netstat gives you connectivity information like if a connection does exists between the app and the server. D. Curl directly allows you to test the app's ability to access the server. Sorry for the botched explanation, if it made sense.
upvoted 1 times
...
PeterPerfect
1 week, 1 day ago
Selected Answer: D
curl is a command-line tool used to test HTTP requests and interact with web-based APIs or services. If the application accesses a database through a web service or REST API, curl can help verify whether the endpoint is reachable and responding correctly.
upvoted 1 times
...
Dese_2point71
1 month, 2 weeks ago
Selected Answer: C
C. Netstat allows you view if the ports necessary for the app to function with the database server are open, thus the best option.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...