
CompTIAPenTest+
Domain 2Objective 4
Script Modification PT0-003 Practice Questions (Page 5)
Part of the Reconnaissance and enumeration domain, which accounts for 21% of the PT0-003 exam. CompTIA does not publish an official question count, but from its 165-minute exam (~65–110 total, ~14–23 in this domain), expect 4–6 from this objective — we provide 26 practice questions to prepare you well beyond it. (estimate)
26questions here
6free pages
9concepts
21%of the exam
Questions 21–25
- 21
Which Python library provides low-level networking capabilities, such as creating sockets for custom TCP connections during a port scan?
Select an answer first - 22
Which PowerShell cmdlet is used to test network connectivity to a remote host, such as checking if a target is reachable during reconnaissance?
Select an answer first - 23
Which Python library is commonly used in reconnaissance scripts to perform HTTP requests and interact with web resources?
Select an answer first - 24
A Bash script currently pings a single host. What modification would allow the script to read a list of hosts from a file and ping each one?
Select an answer first - 25
Which Bash utility is used to test network connectivity to a host by sending ICMP echo requests?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by CompTIA. “PT0-003” is a trademark of its owner, used for identification only.