About this exam
PT0-002 is the previous version of the CompTIA PenTest+ exam; it was retired in 2025 following the release of its successor, PT0-003. It covered five domains: planning and scoping, information gathering and vulnerability scanning, attacks and exploits, reporting and communication, and tools and code analysis.
Try a sample question
This is an original sample question written by itmoshi based on the exam objectives.
During an external penetration test conducted under signed rules of engagement (RoE), the tester finds a web shell on an in-scope web server that the tester did not place. The access logs also show that a third party is actively using it. The RoE gives no specific instructions for this situation and lists only an emergency contact. What should the tester do first?
- AUse the web shell to investigate the intruder's activity in more detail
- BDelete the web shell immediately to protect the client
- CContinue testing and record it as a critical finding in the final report
- DPause related testing and notify the RoE emergency contact immediately
Show answer and explanation
Answer:D On finding signs of an active compromise, stop and escalate immediately to the client's designated contact.
Why it is correct
A possible ongoing compromise by a third party needs immediate action by the client and is beyond what the tester should handle alone. The tester reports it right away through the communication path defined in the RoE (the emergency contact) and leaves further handling to the client's decision and incident response. Related testing is paused so that test activity does not mix with the intruder's activity and muddy the evidence.
The other options
- ✗ A Using a tool someone else planted is outside the scope and authorization, and it may overwrite the intruder's traces and contaminate evidence. Investigation belongs to the client's incident response team.
- ✗ B Deleting it destroys evidence and may tip off the intruder. Decisions on containment and removal are the client's to make and carry out.
- ✗ C The final report may be weeks away, and the compromise would continue and spread in the meantime. The finding does belong in the report too, but an active compromise must first be reported to the emergency contact immediately.
Key takeaway
Signs of an active compromise → pause related testing, notify the emergency contact immediately, and document it in the final report. Critical vulnerabilities are also communicated promptly under the communication plan; how much testing to pause depends on the situation and the RoE. Never pick 'fix it, delete it or dig deeper yourself'.
Try 20 questions like this for free
itmoshi is an unofficial study service and is not affiliated with CompTIA or any exam provider.