CompTIA Linux+ XK0-005 Practice Question
What command would be used to perform a basic scan of a target system's open ports using Nmap?
nmap -sV
nmap
nmap -A
nmap --top-ports 10
What command would be used to perform a basic scan of a target system's open ports using Nmap?
nmap -sV
nmap
nmap -A
nmap --top-ports 10
The correct answer is nmap <target>
because Nmap is a network scanning tool, and the most basic usage involves executing nmap
followed by the specification of the target, which can be an IP address or hostname. This command will initiate a simple scan to find open ports on the target. Other options like -A
and -sV
add extra functionality, such as OS detection and service version detection, which is not required for a basic port scan. The --top-ports
option specifies that only a certain number of the most common ports should be scanned, not all ports, which would be the default for a basic scan without additional arguments.
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
All IT & Cybersecurity Package plans include the following perks and exams .
Our pricing is simple. Full access to all certifications and exams in each package, for one price.
As many practice tests for as many topics as you want.
Use study mode non-stop, no limits.
Access to our AI assistant, Bash, trained to help you pass your exam.
Track your scores over time in study mode and report cards.
See how you improve over time, and where you need to focus.
Access our store with even bigger discounts than before.
Unlimited access to all performance questions and be prepared for the real thing.
All IT & Cybersecurity Package plans include unlimited access to the following study materials.
Create an account or sign in to access our study materials.