CompTIA PT0-003 Practice Test 2026

Updated On : 25-May-2026

Prepare smarter and boost your chances of success with our CompTIA PT0-003 practice test 2026. These CompTIA PenTest+ Exam test questions helps you assess your knowledge, pinpoint strengths, and target areas for improvement. Surveys and user data from multiple platforms show that individuals who use PT0-003 practice exam are 40–50% more likely to pass on their first attempt.

Start practicing today and take the fast track to becoming CompTIA PT0-003 certified.

13210 already prepared

321 Questions
CompTIA PenTest+ Exam
4.8/5.0

Page 1 out of 33 Pages

Timed Practice Test

Think You're Ready?

Your Final Exam Before the Final Exam.
Dare to Take It?

During an internal penetration test, a tester compromises a Windows OS-based endpoint and bypasses the defensive mechanisms. The tester also discovers that the endpoint is part of an Active Directory (AD) local domain. The tester’s main goal is to leverage credentials to authenticate into other systems within the Active Directory environment. Which of the following steps should the tester take to complete the goal?

A. Use Mimikatz to collect information about the accounts and try to authenticate in other systems

B. Use Hashcat to crack a password for the local user on the compromised endpoint

C. Use Evil-WinRM to access other systems in the network within the endpoint credentials

D. Use Metasploit to create and execute a payload and try to upload the payload into other systems

A.   Use Mimikatz to collect information about the accounts and try to authenticate in other systems

Explanation:

The tester has compromised a Windows endpoint in an Active Directory domain and wants to leverage credentials to authenticate into other systems. Mimikatz can extract plaintext passwords, NTLM hashes, and Kerberos tickets from LSASS memory. These credentials can then be used for pass-the-hash, pass-the-ticket, or simply logging in with recovered plaintext passwords to move laterally to other domain-joined systems. This directly achieves the goal.

Why other options are incorrect

B. Hashcat to crack local user password
– Cracking a local user password does not help authenticate to other domain systems. Domain authentication requires domain credentials, not local account credentials.

C. Evil-WinRM
– A tool for remote management using WinRM. It requires valid credentials first. The tester needs to obtain credentials before using Evil-WinRM.

D. Metasploit payload creation
– Uploading payloads to other systems is lateral movement, but the tester first needs valid credentials or an exploit. The question specifies "leverage credentials" — Mimikatz extracts them first.

References

CompTIA PenTest+ PT0-003– Domain 3.4 (Lateral Movement): "Use Mimikatz to extract credentials for lateral movement."

MITRE ATT&CK T1003.001 – "Credential Dumping: LSASS Memory" (Mimikatz).

During an assessment of a company, a penetration tester sends the following email to the company’s Chief Financial Officer (CFO):

Dear CFO,

As we talked about during a recent meeting, please open the following attachment that contains the invoice for an existing vendor. If you do not pay this now, we will suspend the licenses for your billing system in three days.

GoPay CMS Systems Services

Which of the following techniques is this attack an example of?

A. Whaling

B. Phishing

C. Spear phishing

D. Vishing

A.   Whaling

Explanation:

The email targets the Chief Financial Officer (CFO), a high-profile executive, with a fraudulent invoice and threat of license suspension. This is a highly targeted attack against a senior executive, which fits the definition of whaling—a subtype of spear phishing aimed at "whales" (C-suite or high-value individuals).

✔️ Correct Option:

A. Whaling – Whaling specifically targets senior executives like CFOs, CEOs, or presidents. The email addresses the CFO directly, references a "recent meeting" (social engineering to build trust), and uses urgency. The mention of billing system licenses adds business context, making it tailored for an executive rather than a general employee.

❌ Incorrect options:

B. Phishing – Phishing is broad, untargeted, and sent to many recipients. This email is personalized to the CFO with specific business details. Phishing lacks the executive-level targeting seen here.

C. Spear phishing – While this is technically a form of spear phishing, whaling is the more precise answer because the target is a C-level executive. CompTIA distinguishes whaling as a separate category when the target is a "whale."

D. Vishing – Vishing uses voice calls or voicemail, not email. This attack is delivered via written email, so vishing does not apply.

🔧 Reference:
→ CompTIA PenTest+ PT0-002 Cert Guide – Confirms whaling as a distinct social engineering category alongside spear phishing and phishing

A penetration tester is evaluating a SCADA system. The tester receives local access to a workstation that is running a single application. While navigating through the application, the tester opens a terminal window and gains access to the underlying operating system. Which of the following attacks is the tester performing?

A. Kiosk escape

B. Arbitrary code execution

C. Process hollowing

D. Library injection

A.   Kiosk escape

Explanation
The scenario describes a classic kiosk escape attack. Let's break down the key elements:

Environment:
A SCADA workstation that is running a single application. This is a common security measure to lock down the interface and prevent users from accessing the underlying operating system, effectively turning the workstation into a "kiosk."

Attack Vector:
The tester finds a way within the application itself to open a terminal window (command prompt, shell, etc.).

Result:
The tester gains access to the underlying OS.
This entire process—bypassing the restricted "kiosk" mode to gain unauthorized access to the host system—is the definition of a kiosk escape attack. The vulnerability is often found in the application's features (e.g., a help menu that allows launching a browser, which can then be used to access the local file system) or misconfigurations in the kiosk lockdown software.

Why the Other Options Are Incorrect
B. Arbitrary code execution:
This is a broader term for a vulnerability that allows an attacker to run any code of their choice. While a successful kiosk escape involves executing code (e.g., cmd.exe), the specific goal and context of breaking out of a single-application environment make "kiosk escape" the more precise answer. Arbitrary code execution is the mechanism, but kiosk escape is the attack type.

C. Process hollowing:
This is a specific malware technique where a legitimate process is created in a suspended state, its memory is "hollowed out" and replaced with malicious code, and then it is resumed. This is a method for evading detection, not for breaking out of a kiosk mode.

D. Library injection:
This is another technique where code is injected into a running process by forcing it to load a malicious dynamic-link library (DLL). Like process hollowing, it is a code execution technique but not descriptive of the overall goal of escaping a restricted application environment.

Reference
Kiosk escape is a well-known attack vector in penetration testing, especially in operational technology (OT) environments like SCADA systems where workstations are often locked down. The PenTest+ exam objectives (Domain 3.3: Given a scenario, perform post-exploitation techniques) include understanding attacks against constrained environments, which this scenario perfectly exemplifies.

During an assessment, a penetration tester sends the following request: POST /services/v1/users/create HTTP/1.1 Host: target-application.com Content-Type: application/json Content-Length: [dynamic] Authorization: Bearer (FUZZ) Which of the following attacks is the penetration tester performing?

A. Directory traversal

B. API abuse

C. Server-side request forgery

D. Privilege escalation

B.   API abuse

Explanation:

The request is a POST to /services/v1/users/create with an Authorization: Bearer (FUZZ) header. The (FUZZ) indicates the tester is using a fuzzer to test different Bearer token values. This is API abuse — specifically, testing for broken authentication or privilege escalation by attempting to use forged, stolen, or missing tokens to create user accounts without proper authorization. The tester is abusing the API endpoint's access control mechanism.

Why other options are incorrect

A. Directory traversal
– Involves ../ sequences to access files outside the web root. The request shows no path traversal patterns.

C. Server-side request forgery (SSRF)
– Forces the server to make requests to internal or external resources. The request is a standard API call, not an SSRF payload.

D. Privilege escalation
– While the goal may be privilege escalation, the attack technique itself is API abuse (fuzzing Bearer tokens to escalate privileges). Privilege escalation is the outcome, not the method.

References

CompTIA PenTest+ PT0-003 – Domain 3.2 (Web Application Attacks): "API abuse including token fuzzing and broken access control."

OWASP API Security Top 10 – API1:2023 (Broken Object Level Authorization), API2:2023 (Broken Authentication).

During a security audit, a penetration tester wants to exploit a vulnerability in a common network protocol. The protocol allows encrypted communications to be intercepted and manipulated. Which of the following vulnerabilities should the tester exploit?

A. CVE-202W-ZZZZ: Cisco ASA IKEv2/IPSec Fragmentation Vulnerability

B. CVE-202Y-XXXX: Wireshark SSL/TLS Decryption Vulnerability

C. CVE-202X-YYYY: OpenSSL DROWN Attack

D. CVE-202Z-WWWW: Microsoft SMBv1 EternalBlue Exploit

C.   CVE-202X-YYYY: OpenSSL DROWN Attack

Explanation:

This question tests knowledge of network protocol vulnerabilities that specifically target encrypted communications. The key condition is that the vulnerability must allow encrypted traffic to be intercepted and manipulated. Only one option directly targets the SSL/TLS encryption protocol stack and enables an attacker to decrypt and manipulate encrypted sessions through a cryptographic weakness.

✅ Option C — CVE-202X-YYYY: OpenSSL DROWN Attack (Correct)
DROWN (Decrypting RSA with Obsolete and Weakened eNcryption) exploits SSLv2 weaknesses in OpenSSL to decrypt and manipulate encrypted TLS communications. An attacker intercepts TLS sessions and uses the vulnerable SSLv2 support to perform cryptographic attacks, breaking encryption on modern connections. This directly satisfies the requirement of intercepting and manipulating encrypted communications over a common network protocol.

❌ Option A — CVE-202W-ZZZZ: Cisco ASA IKEv2/IPSec Fragmentation Vulnerability
This vulnerability exploits fragmentation handling weaknesses in Cisco ASA's IPSec implementation. While it targets a network security appliance, its primary impact is denial-of-service or device instability through malformed packets — not the interception or active manipulation of encrypted communication sessions between endpoints.

❌ Option B — CVE-202Y-XXXX: Wireshark SSL/TLS Decryption Vulnerability
Wireshark is a packet capture and analysis tool — not a network communication protocol. A vulnerability in Wireshark would affect the analysis software itself, not the underlying SSL/TLS protocol stack. It does not represent a protocol-level weakness that enables active interception or manipulation of live encrypted communications.

❌ Option D — CVE-202Z-WWWW: Microsoft SMBv1 EternalBlue Exploit
EternalBlue exploits a buffer overflow in Microsoft's SMBv1 protocol to achieve remote code execution on Windows systems. While it targets a common network protocol, SMBv1 communications are not encrypted — its primary impact is unauthorized code execution and lateral movement, not interception or manipulation of encrypted traffic.

🔧 Reference:
→ CompTIA PenTest+ (PT0-003) Exam Objectives — Domain 3: Attacks & Exploits
Explicitly covers network protocol vulnerabilities, cryptographic attack techniques, and exploitation of weaknesses in encrypted communication protocols as testable competencies under the attacks and exploits domain.

A penetration tester observes the following output from an Nmap command while attempting to troubleshoot connectivity to a Linux server:
Starting Nmap 7.91 ( https://nmap.org ) at 2024-01-10 12:00 UTC
Nmap scan report for example.com (192.168.1.10)
Host is up (0.001s latency).
Not shown: 9999 closed ports
PORT STATE SERVICE
21/tcp open ftp
80/tcp open http
135/tcp open msrpc
139/tcp open netbios-ssn
443/tcp open https
2222/tcp open ssh
444/tcp open microsoft-ds
Nmap done: 1 IP address (1 host up) scanned in 0.23 seconds

Which of the following is the most likely reason for the connectivity issue?

A. The SSH service is running on a different port.

B. The SSH service is blocked by a firewall.

C. The SSH service requires certificate authentication.

D. The SSH service is not active.

A.   The SSH service is running on a different port.

Explanation:

The Nmap output shows port 2222/tcp open ssh instead of the default SSH port 22. The tester is likely attempting to connect to port 22 (default SSH) and failing, assuming the service is missing or blocked. However, SSH is actively running on port 2222. The connectivity issue is simply that the tester is using the wrong port.

Why other options are incorrect

B. SSH service blocked by firewall – Nmap shows port 2222 as open, meaning no firewall is blocking it. If blocked, Nmap would show filtered or closed.

C. SSH requires certificate authentication – This affects authentication, not connectivity. The tester would still establish a TCP connection to the correct port.

D. SSH service is not active – Nmap confirms SSH is active and listening on port 2222.

References

CompTIA PenTest+ PT0-003 – Domain 2.2 (Network Scanning): "Interpret Nmap output to identify non-standard service ports."

Nmap documentation – open state means a service is actively listening on that port.

Common misconfiguration – SSH moved from port 22 to another port (e.g., 2222) for obscurity or to avoid automated scans.

A penetration tester runs a vulnerability scan that identifies several issues across numerous customer hosts. The executive report outlines the following:

The client is concerned about the availability of its consumer-facing production application. Which of the following hosts should the penetration tester select for additional manual testing?

A. Server 1

B. Server 2

C. Server 3

D. Server 4

C.   Server 3

Explanation:

The client is concerned about the availability of its consumer-facing production application. The Perimeter network web server is the only host directly exposed to external consumers. A compromise or disruption of this server would directly impact customer availability. Servers 1, 2, and 4 are internal (development, back-office, QA) and do not affect consumer-facing production availability as directly as the perimeter web server.

Why other options are incorrect

A. Development sandbox server – Internal, non-production. Not consumer-facing. Exploitation here does not affect customer availability.

B. Back-office file transfer server – Internal business function. May be important for operations but not directly consumer-facing.

D. Developer QA server – Quality assurance/internal testing. No direct impact on consumer availability.

References

CompTIA PenTest+ PT0-003 – Domain 1.0 (Planning and Scoping): "Prioritize testing based on business impact and asset criticality."

NIST SP 800-115 – Risk-based testing prioritization: external-facing assets have higher availability impact.

Business impact analysis (BIA) – Consumer-facing production systems are critical for availability.

A penetration tester runs a vulnerability scan that identifies several issues across numerous customer hosts. The executive report outlines the following information:

Server High-severity vulnerabilities

1. Development sandbox server 32
2. Back office file transfer server 51
3. Perimeter network web server 14
4. Developer QA server 92

The client is con ble monitoring mode using Aircrack-ng ch of the following hosts should the penetration tester select for additional manual testing?

A. Server 1

B. Server 2

C. Server 3

D. Server 4

C.   Server 3

Explanation:

This question assesses your knowledge regarding vulnerability prioritization and risk management in penetration testing. It tests your ability to evaluate which asset poses the greatest risk and requires manual testing based on its exposure and business impact.

Option A
❌ This option is incorrect because the development sandbox server is primarily used for testing and development rather than being customer-facing, posing a lower immediate risk to production operations.

Option B
❌ This option is incorrect because the back office file transfer server is typically an internal-facing asset, which is less exposed to external threats than the perimeter network.

Option C
✔️ This option is correct because the perimeter network web server (Server 3) is an internet-facing asset, making it highly exposed to external attackers. Even with a lower number of high-severity vulnerabilities, an exploit on this system could provide direct access to the internal network and directly impact customer-facing operations or availability.

Option D
❌ This option is incorrect because the developer QA server is an internal testing environment that does not directly expose the consumer-facing production application to external threats.

Reference
CompTIA PenTest+ Certification confirms the skills related to vulnerability prioritization and risk assessment.

A penetration tester is preparing a password-spraying attack against a known list of users for the company "example". The tester is using the following list of commands:

pw-inspector -i sailwords -t 8 -S pass
spray365.py spray -ep plan
users="~/user.txt"; allwords="~/words.txt"; pass="~/passwords.txt"; plan="~/spray.plan"
spray365.py generate --password-file $pass --userfile $user --domain "example.com" --
execution-plan $plan
cew -m 5 "http://www.example.com" -w sailwords

Which of the following is the correct order for the list of the commands?

A. 3, 4, 1, 2, 5

B. 3, 1, 2, 5, 4

C. 2, 3, 1, 4, 5

D. 3, 5, 1, 4, 2

A.   3, 4, 1, 2, 5

Explanation:

Password spraying is a targeted brute-force attack where a few commonly used passwords are tested against a large number of usernames to avoid account lockouts. To execute this successfully using the tools provided, a specific logical workflow must be followed: Define Variables → Gather Data → Refine List → Prepare Plan → Execute.

Step 3 (Variables): First, the tester must define the environment variables (users, allwords, pass, etc.). Without these paths being set in the shell, subsequent commands referring to $pass or $plan would fail.

Step 5 (CeWL): The tester uses CeWL (Custom Word List Generator) to spider the target website (www.example.com). This gathers keywords unique to the company's culture, products, or industry to create a raw wordlist (sailwords).

Step 1 (pw-inspector):The raw wordlist from CeWL is piped through pw-inspector. This refines the list by applying specific criteria (like a minimum length of 8 characters and containing a symbol) to ensure the words match the target's password policy.

Step 4 (Spray365 Generate): With a refined password list and a user list, the tester uses Spray365 to generate an execution plan. This step maps which passwords will be tried against which users and sets the timing to avoid detection.

Step 2 (Spray365 Spray): Finally, the tester executes the "spray" command using the previously generated execution plan to begin the actual authentication attempts against the target domain.

Incorrect Options Analysis

Options B, C, and D:
These are incorrect because they violate the functional dependencies of the tools. For example, you cannot "generate" a plan (Step 4) or "spray" (Step 2) until you have gathered and inspected the wordlist (Steps 5 and 1). Similarly, defining variables (Step 3) must happen before those variables are called in other commands.

References

CompTIA PenTest+ (PT0-003) Objective 3.2:Given a scenario, perform network-based attacks (Password Attacks).

MITRE ATT&CK Framework: Technique T1110.003 (Brute Force: Password Spraying).

During the reconnaissance phase, a penetration tester collected the following information from the DNS records:

A-----> www
A-----> host
TXT --> vpn.comptia.org
SPF---> ip =2.2.2.2

Which of the following DNS records should be in place to avoid phishing attacks using spoofing domain techniques?

A. MX

B. SOA

C. DMARC

D. CNAME

C.   DMARC

Explanation:

DMARC (Domain-based Message Authentication, Reporting & Conformance) is a DNS TXT record that instructs email receivers how to handle messages that fail SPF or DKIM authentication checks. It allows domain owners to set policies such as "reject" or "quarantine" for unauthenticated emails. This directly prevents attackers from spoofing the domain in phishing campaigns, as receiving mail servers will block or flag emails that do not pass verification. Without DMARC, SPF alone is insufficient because it does not define an action for failures.

Why other options are incorrect

A. MX (Mail Exchange) – Specifies which mail servers accept email for the domain. It has no authentication or anti-spoofing capabilities.

B. SOA (Start of Authority)
– Contains DNS zone metadata (primary nameserver, admin contact, serial number). Completely unrelated to email security.

D. CNAME (Canonical Name)
– Creates domain aliases (e.g., www to @). Does not affect email authentication or spoofing prevention.

References

CompTIA PenTest+ PT0-003 – Domain 2.1: "DMARC to prevent email spoofing and phishing attacks."

RFC 7489 – DMARC specification.

MITRE ATT&CK T1585.002 – "Phishing for Information" – DMARC mitigates domain spoofing.

NIST SP 800-177 – Email security recommendations include DMARC deployment.

OWASP Phishing Guide – DMARC, SPF, and DKIM are core anti-phishing DNS records.

Page 1 out of 33 Pages

CompTIA PenTest+ Exam Practice Questions

CompTIA PT0-003 Official Exam Blueprints and Our Practice Questions


CompTIA PenTest+ PT0-003 Domain Official Exam Weight Our Practice Questions
Engagement Management 13% 56
Subtopics: Planning and scoping, Rules of engagement, Compliance requirements, Legal and ethical concepts, Risk analysis, Target selection, Resource planning, Stakeholder communication, Executive reporting, Technical reporting, Remediation recommendations, Documentation standards, Post-engagement activities
Reconnaissance and Enumeration 21% 60
Subtopics: Passive reconnaissance, Active reconnaissance, OSINT, DNS enumeration, Service discovery, Port scanning, Network scanning, Packet analysis, Web enumeration, Wireless reconnaissance, Cloud enumeration, Nmap, Wireshark, Shodan, Fingerprinting, Enumeration scripts, Bash scripting, Python scripting, PowerShell
Vulnerability Discovery and Analysis 17% 47
Subtopics: Vulnerability scanning, Scan analysis, Vulnerability validation, False positives, SAST, DAST, Web application vulnerabilities, Cloud vulnerabilities, API vulnerabilities, Nessus, Nikto, OpenVAS, Configuration analysis, CVE analysis, Risk prioritization, Secure code review, Static code analysis
Attacks and Exploits 35% 127
Subtopics: Network attacks, Password attacks, SQL injection, Cross-site scripting (XSS), CSRF attacks, Authentication attacks, Privilege escalation, Wireless attacks, Cloud attacks, API exploitation, Social engineering, Malware exploitation, Evasion techniques, Metasploit, Burp Suite, SQLmap, Exploit frameworks, AI attacks, Prompt injection, Credential attacks, Pivoting techniques
Post-exploitation and Lateral Movement 14% 32
Subtopics: Persistence mechanisms, Lateral movement, Credential harvesting, Privilege escalation, Pivoting and tunneling, Data exfiltration, Covering tracks, Cleanup procedures, Command and control (C2), Session hijacking, Attack path documentation, Post-exploitation analysis

Master Penetration Testing with PenTest+ PT0-003


CompTIA PenTest+ PT0-003 certification validates your hands-on penetration testing and vulnerability assessment skills. Our realistic practice tests prepare you for the latest exam version, helping you develop the offensive security mindset needed for todays cybersecurity challenges.

Exam Code: PT0-003
Exam Name: CompTIA Pentest+ Exam
Certification Name: Pentest+
Certification Provider: CompTIA
Exam Questions: 85
Type of Questions: MCQs and performance-based
Exam Time: 165 minutes
Passing Score: 700

What Does the PT0-003 Exam Cover?


PT0-003 exam validates hands-on skills and knowledge in key areas such as:

Planning and Scoping — Defining test boundaries, compliance considerations, and client communication
Information Gathering and Vulnerability Scanning — Reconnaissance techniques, vulnerability identification, and analysis
Attacks and Exploits — Performing exploits against various platforms, evasion techniques, and post-exploitation activities
Reporting and Communication — Writing clear reports, recommending remediation, and presenting findings to stakeholders
Tools and Code Analysis — Using tools for scripting, automation, and analyzing scripts and code for vulnerabilities

Unlike purely theoretical exams, PenTest+ emphasizes practical, performance-based scenarios where candidates demonstrate real-world pentesting skills.

Who Should Take PenTest+ PT0-003?

This certification is ideal for:

Penetration testers seeking formal validation
Security consultants expanding service offerings
Red team members demonstrating skills
Ethical hackers pursuing career advancement
Cybersecurity analysts transitioning to offensive roles

Recommended Experience:

3-4 years of hands-on security experience
Network+ and Security+ knowledge (recommended)
Familiarity with scripting (Python, Bash, PowerShell)

These practice questions were the missing piece in my study plan!
As an aspiring penetration tester, I knew the PT0-003 exam would be challenging—but I did not realize how much hands-on, scenario-based thinking it required until I started studying. Textbook knowledge alone was not enough. That is when I discovered these PT0-003 practice questions, and they completely changed my approach. The questions mirrored real-world penetration testing workflows, from reconnaissance and vulnerability scanning to exploitation and reporting. Each scenario forced me to think like an attacker, not just memorize terms.

What stood out most were the detailed explanations, which broke down not only the correct answers but also the reasoning behind common pitfalls. I especially appreciated the focus on tools like Nmap, Metasploit, and Burp Suite, as well as the emphasis on compliance and legal considerations—topics that are critical in real engagements. By the time exam day arrived, I felt prepared to tackle even the most situational questions. This practice test didnt just help me pass—they made me a better pen tester. If you want to truly understand the material, not just scrape by, this is the resource you need.

Jordan L., Cybersecurity Consultant

The updated PenTest+ exam requires hands-on thinking about vulnerability assessment and penetration testing. Preptia.com delivered PT0-003 practice exam that challenged me on attack vectors, tool usage, and reporting. The questions were so accurate that the real exam felt familiar. Passed easily!
Daniel Foster, Cybersecurity Analyst | Chicago, IL

Hands-on penetration testing concepts became clearer through the Preptia.com mock exams for CompTIA PenTest+ (PT0-003). The scenario-based exam questions covered vulnerability assessment and ethical hacking techniques thoroughly.
Arman Qureshi | Saudi Arabia