exam questions

Exam CS0-002 All Questions

View all questions & answers for the CS0-002 exam

Exam CS0-002 topic 1 question 237 discussion

Actual exam question from CompTIA's CS0-002
Question #: 237
Topic #: 1
[All CS0-002 Questions]

A security analyst needs to assess the web-server versions on a list of hosts to determine which are running a vulnerable version of the software and then output that list into an XML file named webserverlist.xml. The host list is provided in a file named webserverlist.txt. Which of the following Nmap commands would BEST accomplish this goal?

  • A. nmap –iL webserverlist.txt –sC –p 443 –oX webserverlist.xml
  • B. nmap –iL webserverlist.txt –sV –p 443 –oX webserverlist.xml
  • C. nmap –iL webserverlist.txt –F –p 443 –oX weberserverlist.xml
  • D. nmap --takefile webserverlist.txt --outputfileasXML webserverlist.xml --scanports 443
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
db97
Highly Voted 2 years, 2 months ago
-sV tests the software/service version. B is correct.
upvoted 5 times
2Fish
2 years, 1 month ago
Agree, -sV is the key here.
upvoted 1 times
...
...
PhillyCheese
Most Recent 2 years, 2 months ago
Selected Answer: B
Version detection (-sV) can be used to help differentiate the truly open ports from the filtered ones. Use to probe open ports to determine service/version info
upvoted 4 times
...
mrodmv
2 years, 4 months ago
Selected Answer: B
https://linux.die.net/man/1/nmap
upvoted 2 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago