All CompTIA exams
CompTIA PT0-003: CompTIA PenTest+
What the PT0-003 exam covers and what it costs, with a free 30-question practice test and an explanation for every answer.
- Duration
- 165 minutes
- Questions on the exam
- Maximum of 90
- Passing score
- 750 (scale 100-900)
- Level
- Professional
- Topic areas
- 5
- Free practice questions
- 30
- Full question bank
- 100 questions
What the PT0-003 exam covers
The topic areas in our PT0-003 question bank, with each one's share of the 100 practice questions.
| Topic | Share | Questions |
|---|---|---|
| Attacks and Exploits | 31% | 31 |
| Information Gathering and Vulnerability Scanning | 21% | 21 |
| Planning and Scoping | 16% | 16 |
| Tools and Code Analysis | 16% | 16 |
| Reporting and Communication | 16% | 16 |
PT0-003 cost and format
| Exam code | PT0-003 |
|---|---|
| Certification | CompTIA PenTest+ |
| Vendor | CompTIA |
| Level | Professional |
| Status | Active |
| Languages | English, French, Japanese, Portuguese |
| Released | December 17, 2024 |
| Retires | January 1, 2027 |
Last checked October 22, 2026 against the official CompTIA exam page.
PT0-003 sample questions
The first 5 questions from the free practice test. Open a question to see the answer and why it is right.
Question 1Attacks and Exploits
A tester obtains a low-privilege shell on a Linux host. Which privilege escalation check is most useful early?
- AChanging the hostname to something more formal for corporate naming rules
- BDeleting the system's log files to hide the shell session from administrators
- CReviewing sudo rights, SUID binaries, and scheduled jobs that run with elevated privileges
- DRenaming the home directory to a name that matches the service account and its group
Show answer and explanationHide answer
Correct answer: CSudo rules, SUID binaries and privileged scheduled jobs are common paths from a low-privilege shell to root. Hostnames, log deletion and renamed directories do not provide escalation paths and can damage evidence.
Question 2Information Gathering and Vulnerability Scanning
A tester wants to find subdomains of a target organization without sending traffic directly to the target's systems. Which technique is most appropriate?
- ASending brute-force requests to the login page on the customer portal at scale
- BExploiting a known vulnerability on the web server running an unpatched Apache 2.4 build
- CPassive reconnaissance using certificate transparency logs and public DNS records
- DRunning a full port scan against each IP address with service version detection enabled
Show answer and explanationHide answer
Correct answer: CPassive reconnaissance uses public records such as certificate transparency logs and DNS data, which avoids touching the target. Port scans, brute force and exploitation all interact directly with target systems.
Question 3Planning and Scoping
Before a penetration test begins, the client asks the tester to avoid all production databases. Which document should the tester confirm first to ensure the boundary is agreed?
- AThe vendor's marketing brochure for the scanner, with its feature list
- BThe client's holiday calendar for the office, listing staff vacation dates
- CThe tester's personal résumé, listing previous engagements and certifications
- DThe rules of engagement that define in-scope and out-of-scope systems and testing windows
Show answer and explanationHide answer
Correct answer: DThe rules of engagement set scope, exclusions, timing and escalation contacts, which defines what the tester may touch. A résumé, a brochure and a calendar do not define authorization boundaries.
Question 4Tools and Code Analysis
A tester reviews a script that builds SQL queries by concatenating user input. Which code review finding should be reported?
- AVariable names that are too long in the utility helper module
- BComments written in English and the team reviews them weekly
- CUse of tabs instead of spaces for indentation in the Python source files for consistency
- DSQL injection risk caused by unparameterized queries built from user input
Show answer and explanationHide answer
Correct answer: DConcatenating untrusted input into SQL allows injection, which parameterized queries prevent. Indentation, name length and comment language are style issues, not security findings.
Question 5Reporting and Communication
A penetration test report must help the client prioritize fixes. Which element should accompany each finding?
- AA severity rating with justification, the affected asset, and a clear remediation recommendation
- BA list of unrelated improvements to the tester's own tools that the client did not request in writing
- CThe tester's favorite exploit name, listed in place of the affected asset, the risk, and the fix, with a short note
- DA statement that the systems are secure, based on the scanner output and the tester's judgment alone
Show answer and explanationHide answer
Correct answer: ASeverity with justification, affected assets and remediation guidance let the client prioritize and fix issues. Exploit names alone, unrelated tool improvements and blanket security claims do not help remediation.
How to prepare for PT0-003
- Read the official CompTIA outline first (exam page), so you know exactly what is in scope.
- Give the most time to Attacks and Exploits and Information Gathering and Vulnerability Scanning: together they make up 52% of the questions.
- Take the free 30-question practice test and note which topics you miss.
- Go back to the weak topics, then test again. A practice score shows where to study; it does not predict your exam result.
Full PT0-003 question bank
All 100 questions with answers and explanations, as a PDF, an online practice exam, or both.
The full 100-question bank for PT0-003 is in final review. The free practice test is open now.
Start the free practice testPT0-003 FAQ
Related exams
| Exam | Vendor | Level |
|---|---|---|
| CAS-005: CompTIA SecurityX | CompTIA | Expert |
| CS0-004: CompTIA CySA+ (V4) | CompTIA | Professional |
| SY0-801: CompTIA Security+ (V8) | CompTIA | Associate |
| SY0-701: CompTIA Security+ | CompTIA | Associate |
| CS0-003: CompTIA CySA+ (V3) | CompTIA | Professional |
| SOT-001: CompTIA SecOT+ | CompTIA | Professional |