Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
CompTIA logo

CompTIAPenTest+

Domain 2Objective 4

Script Modification PT0-003 Practice Questions (Page 3)

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 11–15

  1. 11foundation · easy

    A PowerShell script currently pings a single IP address. How can it be modified to ping a range of IP addresses in a subnet?

    Select an answer first
  2. 12foundation · easy

    In a Bash script used for network reconnaissance, what is the purpose of the shebang line (e.g., '#!/bin/bash') at the top of the file?

    Select an answer first
  3. 13foundation · easy

    In a PowerShell script used for host enumeration, what character is used to denote a comment?

    Select an answer first
  4. 14foundation · easy

    Which PowerShell cmdlet would a penetration tester use to resolve a hostname to an IP address during the enumeration phase?

    Select an answer first
  5. 15foundation · easy

    A PowerShell enumeration script outputs results to the console. What modification would allow the output to be redirected to a text file for logging?

    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.