exam questions

Exam PT0-002 All Questions

View all questions & answers for the PT0-002 exam

Exam PT0-002 topic 1 question 359 discussion

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

A penetration tester wants to identify the most common TCP ports on 10.7.8.69. Which of the following is the best Nmap command for this task?

  • A. nmap 10.7.8.69 -sS -sA -sV -F
  • B. nmap 10.7.8.69 -sT -sA -p1-65535
  • C. nmap 10.7.8.69 -sC -sV -Pn
  • D. nmap 10.7.8.69 -sX -sU --top-ports
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
Ta2oo
Highly Voted 5 months ago
Selected Answer: A
D is incorrect, A is the correct answer. -sS: Performs a SYN scan, which is efficient and stealthy for discovering open TCP ports. -sA: Conducts an ACK scan to determine if the ports are filtered, which helps in understanding the firewall rules and network filtering. -sV: Attempts to detect the version of the services running on the open ports. -F: Fast Scan, which scans the top 100 ports.
upvoted 6 times
wdmssk
4 months ago
TCP ports will not be scanned in option D.
upvoted 1 times
...
...
zemijan
Most Recent 3 weeks, 3 days ago
Selected Answer: C
I tested it in my lab. The only cmd that gives me results is: nmap IP... -sC -sV -Pn (C) The rest I get: You specified more than one type of TCP scan. Please choose only one of -sA, -b, -sT, -sF, -sI, -sM, -sN, -sS, -sW, and -sX QUITTING! The error occurs because you specified more than one type of TCP scan (example:-sT and -sA) in the same nmap command. Nmap does not allow combining multiple TCP scan types as they are mutually exclusive.
upvoted 2 times
...
wdmssk
3 months, 3 weeks ago
Selected Answer: C
generally speaking, "most common ports" in the context of Nmap implies the most commonly used 1,000 ports.
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