exam questions

Exam PT0-002 All Questions

View all questions & answers for the PT0-002 exam

Exam PT0-002 topic 1 question 119 discussion

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

A security engineer identified a new server on the network and wants to scan the host to determine if it is running an approved version of Linux and a patched version of Apache. Which of the following commands will accomplish this task?

  • A. nmap ג€"f ג€"sV ג€"p80 192.168.1.20
  • B. nmap ג€"sS ג€"sL ג€"p80 192.168.1.20
  • C. nmap ג€"A ג€"T4 ג€"p80 192.168.1.20
  • D. nmap ג€"O ג€"v ג€"p80 192.168.1.20
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
NotAHackerJustYet
Highly Voted 1 year ago
Selected Answer: C
The correct answer is C. nmap -A -T4 -p80 192.168.1.20. The nmap command is used to scan networks and hosts to determine what services and versions are running. The -A option is used to enable OS and version detection, script scanning, and traceroute. The -T4 option sets the timing of the scan to the fastest possible speed. The -p80 option indicates that only port 80 should be scanned, which is the default port for HTTP. The IP address 192.168.1.20 is the address of the server to be scanned.
upvoted 8 times
Option A, nmap -f -sV -p80 192.168.1.20, is incorrect because the -f option sets the packet fragmentation size, which is not necessary for this task. Option B, nmap -sS -sL -p80 192.168.1.20, is incorrect because the -sS and -sL options are used to perform a TCP SYN and UDP scan, which is not necessary for this task. Option D, nmap -O -v -p80 192.168.1.20, is incorrect because the -O option enables OS fingerprinting, which is not necessary for this task. The -v option enables verbose output, which is also not necessary.
upvoted 6 times
...
...
Neolot
Highly Voted 1 year, 4 months ago
Selected Answer: C
https://nmap.org/book/man-version-detection.html
upvoted 5 times
...
nickwen007
Most Recent 11 months, 1 week ago
nmap ג€"A ג€"T4 ג€"p80 192.168.1.20 This nmap command would instruct the tool to send a TCP SYN packet to port 80 of the IP address 192.168.1.20, with a time to live (TTL) value of 4. This command would be used to determine the open ports on the target IP address, as well as the operating system, service, and version information running on the target system.
upvoted 4 times
...
2Fish
1 year ago
Selected Answer: C
https://www.examtopics.com/discussions/comptia/view/61880-exam-pt1-002-topic-1-question-32-discussion/
upvoted 5 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 ...