exam questions

Exam PT0-002 All Questions

View all questions & answers for the PT0-002 exam

Exam PT0-002 topic 1 question 60 discussion

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

A penetration tester is attempting to discover live hosts on a subnet quickly.
Which of the following commands will perform a ping scan?

  • A. nmap -sn 10.12.1.0/24
  • B. nmap -sV -A 10.12.1.0/24
  • C. nmap -Pn 10.12.1.0/24
  • D. nmap -sT -p- 10.12.1.0/24
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
lifehacker0777
Highly Voted 9 months ago
Selected Answer: A
Option A, nmap -sn 10.12.1.0/24, will perform a ping scan to discover live hosts on the subnet quickly. The -sn option specifies a "ping scan" to discover hosts on the network by sending an ICMP echo request (ping) to each IP address in the specified range. This is a quick way to identify which hosts are up and running without performing a full port scan or attempting to connect to any services. Option B, nmap -sV -A 10.12.1.0/24, is a service and version detection scan with aggressive options, which is not the best option to discover live hosts on the subnet. Option C, nmap -Pn 10.12.1.0/24, is a scan that disables host discovery, which means it will attempt to scan every IP address in the specified range, regardless of whether or not a host is responding to pings. This is not the best option to discover live hosts on the subnet quickly. Option D, nmap -sT -p- 10.12.1.0/24, is a TCP connect scan that scans all ports on each host in the specified range, which is not the best option to discover live hosts on the subnet quickly.
upvoted 6 times
...
RRabbit_111
Highly Voted 11 months, 2 weeks ago
Selected Answer: A
A ping scan is used to discover live hosts on a network. The -sn option in Nmap is used to perform a ping scan, which sends an ICMP echo request packet to the host and waits for a response. If the host is live, it will respond with an ICMP echo reply packet. This option performs a simple ping scan without port scan.
upvoted 6 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 ...