IT Cert Ready

CompTIA

PenTest+

Exam code: PT0-003

Start practicing

About this certification

PenTest+ is a CompTIA certification. Exam code PT0-003. IT Cert Ready offers 1,236 practice questions with domain quizzes, full mock exams, and detailed explanations. Practice by official domain with 5 blueprint-aligned domains.

Official exam domain weights

Verified blueprint weights from the official exam outline.

  • Domain 1 · Engagement Management · 13%
  • Domain 2 · Reconnaissance and Enumeration · 21%
  • Domain 3 · Vulnerability Discovery and Analysis · 17%
  • Domain 4 · Attacks and Exploits · 35%
  • Domain 5 · Post-exploitation and Lateral Movement · 14%

Sample PenTest+ practice questions

Preview realistic multiple-choice items from the IT Cert Ready question bank. Expand each answer for the correct choice and explanation—the same format used in domain quizzes and mock exams.

  1. Sample question 1 · Post-exploitation and Lateral Movement (14%)

    A penetration tester has completed an authorized red team engagement at Harrowfield University, a mid-sized institution in the northeastern United States. During the assessment, the tester established a scheduled task on a Windows faculty workstation to maintain persistence and used a local administrator account named 'svc_pentest' to pivot through the network. The university's incident response team has since been alerted by their SIEM to anomalous scheduled task creation and is now conducting a forensic investigation correlated with log data. The engagement contract specifies that all tester artifacts must be removed and that forensic integrity of the environment must be preserved for the IR team's post-engagement review. During cleanup, the penetration tester must balance artifact removal with the university's forensic investigation requirements. Which action BEST satisfies both the cleanup obligation and the forensic preservation requirement under these contract terms?

    • A. Delete the scheduled task and the 'svc_pentest' account immediately, then notify the IR team that cleanup is complete so they can close the investigation.
    • B. Preserve a documented record of all tester-created artifacts — including the scheduled task name, account credentials, and creation timestamps — and coordinate with the IR team before removing them so log correlation can be completed first.
    • C. Leave the scheduled task and tester account in place indefinitely until the IR team explicitly requests removal, to avoid disrupting their investigation workflow.
    • D. Remove only the tester credentials and leave the scheduled task active, since scheduled tasks are less likely to trigger additional SIEM alerts during the investigation period.
    View answer & explanation

    Correct answer: B. Preserve a documented record of all tester-created artifacts — including the scheduled task name, account credentials, and creation timestamps — and coordinate with the IR team before removing them so log correlation can be completed first.

    [Domain 5 - Post-exploitation and Lateral Movement, Subtopic 2 - Staging, Exfiltration, and Cleanup - Area 1 - Remove persistence] Core Concept: Explain cleanup and restoration activities. centers on remove persistence as defined in the official (ISC)² exam outline. Correct Answer (B): Preserve a documented record of all tester-created artifacts — including the scheduled task name, account credentials, and creation timestamps — and coordinate with the IR team before removing them so log correlation can be completed first. Why the other options are incorrect: Option A: Immediately deleting artifacts without coordinating with the IR team risks destroying forensic evidence that the university needs to distinguish tester activity from genuine malicious behavior, violating the preserve artifacts requirement. Option C: Leaving persistence mechanisms in place indefinitely is not an acceptable cleanup posture; tester-created accounts and scheduled tasks represent active security risks and must be removed in a timely, coordinated manner. Option D: Selectively removing only credentials while leaving a scheduled task active fails to fully remove persistence, leaving a residual foothold that could be exploited or that could continue to generate misleading alerts during the investigation.

  2. Sample question 2 · Post-exploitation and Lateral Movement (14%)

    Stratford Compliance Group, a small government contractor specializing in FedRAMP boundary assessments, hired an external penetration testing firm to evaluate their internal cloud-adjacent environment. The tester deployed a lightweight implant on a Linux jump server and used a VPS hosted in a foreign jurisdiction as the C2 relay. The implant wrote a cron job entry under the root user to maintain persistence. After the engagement concluded, the tester deleted the implant binary from the jump server but forgot to remove the cron job entry. Three weeks later, Stratford's security team detected an outbound connection attempt from the jump server to the now-decommissioned VPS IP address, triggering an incident response investigation. Which cleanup failure MOST directly caused the incident response event at Stratford Compliance Group, and what is the correct remediation principle the tester should have applied?

    • A. The tester failed to notify the client about the VPS jurisdiction, which violated data residency rules; the correct principle is to use domestic infrastructure only.
    • B. The tester failed to remove the cron job persistence mechanism after deleting the implant binary; the correct principle is that all persistence artifacts must be explicitly identified and removed, not just the primary payload.
    • C. The tester failed to preserve the implant binary as an engagement artifact before deletion; the correct principle is to retain all tools for post-engagement review before removing them.
    • D. The tester failed to document the VPS decommission date in the final report; the correct principle is that infrastructure teardown timelines must be included in deliverables.
    View answer & explanation

    Correct answer: B. The tester failed to remove the cron job persistence mechanism after deleting the implant binary; the correct principle is that all persistence artifacts must be explicitly identified and removed, not just the primary payload.

    [Domain 5 - Post-exploitation and Lateral Movement, Subtopic 2 - Staging, Exfiltration, and Cleanup - Area 1 - Remove persistence] Core Concept: Explain cleanup and restoration activities. centers on remove persistence as defined in the official (ISC)² exam outline. Correct Answer (B): The tester failed to remove the cron job persistence mechanism after deleting the implant binary; the correct principle is that all persistence artifacts must be explicitly identified and removed, not just the primary payload. Why the other options are incorrect: Option A: While VPS jurisdiction may raise data handling considerations, it was not the cause of the incident response event; the triggering event was the cron job generating outbound traffic, which is a persistence removal failure unrelated to infrastructure geography. Option C: Preserving the implant binary as an artifact is a valid practice, but it is secondary to removing all persistence mechanisms; the failure here was not about artifact preservation but about leaving an active cron job that continued to execute after the engagement ended. Option D: Documenting the VPS decommission date is a reporting best practice but does not address the root cause of the incident; the cron job would have fired regardless of whether the teardown timeline was documented in the deliverable.

  3. Sample question 3 · Post-exploitation and Lateral Movement (14%)

    A penetration tester has completed an authorized red team engagement against Voltara Energy Systems, a mid-sized regional electric utility operating under NERC CIP compliance requirements. During the assessment, the tester established persistence on two energy management workstations by creating a scheduled task named 'SysHealthCheck' and adding a local administrator account named 'svc_monitor' on each host. The engagement is now concluded, and the client's CISO and compliance officer are requesting a formal attestation that all tester-introduced artifacts have been removed before the systems return to production. The tester must coordinate cleanup with the utility's OT security team and document each action for the compliance record. During an authorized assessment, which cleanup sequence best satisfies both the technical removal requirements and the governance accountability obligations the CISO and compliance officer have requested?

    • A. Delete the scheduled task and local account on each workstation, then verbally confirm completion to the CISO during the debrief meeting without generating written records, since verbal attestation is sufficient for internal engagements.
    • B. Remove the 'SysHealthCheck' scheduled task and the 'svc_monitor' local account from each workstation, capture before-and-after screenshots or log excerpts as evidence, and provide a signed written attestation listing each artifact removed, the method used, and the timestamp — delivered to the CISO and compliance officer for inclusion in the compliance record.
    • C. Disable the scheduled task and lock the local account rather than deleting them, so the OT security team can independently verify the artifacts before permanent removal, and document only the disable actions in the final report.
    • D. Instruct the OT security team to reimage both workstations to eliminate all artifacts simultaneously, then submit the reimage work orders as the cleanup attestation, bypassing individual artifact documentation.
    View answer & explanation

    Correct answer: B. Remove the 'SysHealthCheck' scheduled task and the 'svc_monitor' local account from each workstation, capture before-and-after screenshots or log excerpts as evidence, and provide a signed written attestation listing each artifact removed, the method used, and the timestamp — delivered to the CISO and compliance officer for inclusion in the compliance record.

    [Domain 5 - Post-exploitation and Lateral Movement, Subtopic 2 - Staging, Exfiltration, and Cleanup - Area 1 - Remove persistence] Core Concept: Explain cleanup and restoration activities. centers on remove persistence as defined in the official (ISC)² exam outline. Correct Answer (B): Remove the 'SysHealthCheck' scheduled task and the 'svc_monitor' local account from each workstation, capture before-and-after screenshots or log excerpts as evidence, and provide a signed written attestation listing each artifact removed, the method used, and the timestamp — delivered to the CISO and compliance officer for inclusion in the compliance record. Why the other options are incorrect: Option A: Verbal confirmation alone does not constitute an auditable record; NERC CIP compliance and sound governance practice require written, timestamped documentation of all cleanup actions that can be retained and reviewed. Option C: Disabling rather than deleting the artifacts leaves persistence mechanisms partially intact on production OT-adjacent systems, which fails the 'remove persistence' requirement and introduces residual risk that is unacceptable in a critical infrastructure environment. Option D: Recommending a full reimage without individual artifact documentation bypasses the tester's responsibility to account for each specific artifact introduced; it also transfers cleanup accountability to the client team without the signed attestation the compliance officer requires.

  4. Sample question 4 · Post-exploitation and Lateral Movement (14%)

    Crestline Courier Systems, a regional logistics startup with 200 employees operating in Southeast Asia, engaged a boutique penetration testing firm for a two-week assessment of its newly deployed PKI infrastructure used to sign shipping manifests and authenticate IoT tracking devices. The tester gained domain administrator access, enrolled a rogue subordinate CA certificate under Crestline's root CA, deployed a lightweight implant on three IoT gateway servers, and created a GPO that pushed the rogue subordinate CA certificate to all domain-joined endpoints. The engagement has concluded. The tester's project lead is preparing the cleanup checklist but discovers that the client's IT team has already reimaged two of the three IoT gateway servers as part of a routine maintenance cycle, potentially destroying forensic artifacts the tester intended to preserve for the final report. Given that two IoT gateway servers have already been reimaged, which action BEST balances the competing obligations of completing cleanup and preserving artifacts for the final report?

    • A. Halt all remaining cleanup activities until the client confirms whether forensic images of the reimaged servers were captured before the maintenance cycle, then resume cleanup only after artifact recovery is confirmed.
    • B. Proceed with removing the rogue subordinate CA certificate from the root CA, revoking it in the CRL, deleting the GPO, and removing the implant from the remaining IoT gateway; document the reimage event as an unplanned artifact loss in the report and preserve all available logs and screenshots from the tester's own records.
    • C. Prioritize artifact preservation by suspending cleanup of the GPO and rogue CA certificate until the client's legal team approves destruction of the remaining evidence, since the reimaging may constitute spoliation.
    • D. Remove only the implant from the surviving IoT gateway server and leave the GPO and rogue subordinate CA in place, flagging them in the report as items requiring client-side remediation to avoid further artifact loss.
    View answer & explanation

    Correct answer: B. Proceed with removing the rogue subordinate CA certificate from the root CA, revoking it in the CRL, deleting the GPO, and removing the implant from the remaining IoT gateway; document the reimage event as an unplanned artifact loss in the report and preserve all available logs and screenshots from the tester's own records.

    [Domain 5 - Post-exploitation and Lateral Movement, Subtopic 2 - Staging, Exfiltration, and Cleanup - Area 1 - Remove persistence] Core Concept: Explain cleanup and restoration activities. centers on remove persistence as defined in the official (ISC)² exam outline. Correct Answer (B): Proceed with removing the rogue subordinate CA certificate from the root CA, revoking it in the CRL, deleting the GPO, and removing the implant from the remaining IoT gateway; document the reimage event as an unplanned artifact loss in the report and preserve all available logs and screenshots from the tester's own records. Why the other options are incorrect: Option A: Halting all cleanup while awaiting confirmation of forensic image availability leaves the rogue subordinate CA, GPO, and surviving implant active in the production environment, creating ongoing security risk that the tester is obligated to eliminate promptly. Option C: Suspending cleanup of the GPO and rogue CA certificate on spoliation grounds misapplies legal concepts to a penetration testing context; the tester's obligation is to remove introduced artifacts, and the client's reimaging of their own servers does not create a legal hold on the tester's cleanup duties. Option D: Leaving the GPO and rogue subordinate CA in place and delegating remediation to the client violates the tester's cleanup obligation under Task 5.4; these are tester-introduced configuration changes that must be reverted by the tester, not handed off as client remediation items.

  5. Sample question 5 · Post-exploitation and Lateral Movement (14%)

    Pinnacle Goods Co. is a large retail chain with 210 store locations across the Pacific Northwest and operates a centralized NAC platform that enforces certificate-based authentication for all endpoints. During a three-week authorized penetration test, the tester deployed a scheduled task on a regional distribution center's Windows server to maintain persistence, installed a custom port-scanning tool in the C:\Windows\Temp directory, and enrolled a rogue device certificate into the NAC system to simulate an insider threat scenario. The engagement has ended and the client's CISO has emphasized that the NAC certificate store must be returned to its exact pre-engagement state due to an upcoming PCI DSS audit scheduled within 72 hours. Given the PCI DSS audit timeline and the NAC certificate enrollment performed during the engagement, which cleanup action carries the highest risk if omitted or performed incorrectly by the penetration tester?

    • A. Failing to delete the custom port-scanning tool from C:\Windows\Temp, because the tool's presence could be flagged by the client's antivirus during the audit and generate an incident ticket.
    • B. Failing to remove the rogue device certificate from the NAC certificate store, because an unauthorized certificate could allow any device presenting it to bypass NAC enforcement and gain network access after the engagement ends.
    • C. Failing to delete the scheduled task on the distribution center server, because the task could execute during the audit window and generate anomalous log entries that complicate the auditor's review.
    • D. Failing to document the port-scanning tool's file hash before deletion, because the absence of this artifact in the report could cause the client to dispute the scope of tools used during the engagement.
    View answer & explanation

    Correct answer: B. Failing to remove the rogue device certificate from the NAC certificate store, because an unauthorized certificate could allow any device presenting it to bypass NAC enforcement and gain network access after the engagement ends.

    [Domain 5 - Post-exploitation and Lateral Movement, Subtopic 2 - Staging, Exfiltration, and Cleanup - Area 1 - Remove persistence] Core Concept: Explain cleanup and restoration activities. centers on remove persistence as defined in the official (ISC)² exam outline. Correct Answer (B): Failing to remove the rogue device certificate from the NAC certificate store, because an unauthorized certificate could allow any device presenting it to bypass NAC enforcement and gain network access after the engagement ends. Why the other options are incorrect: Option A: While a residual tool in a temp directory is a cleanup deficiency, it does not grant ongoing network access or authentication bypass capability; its risk is limited to detection and incident noise rather than active exploitation. Option C: The scheduled task is a meaningful persistence mechanism that must be removed, but its risk is bounded by the task's configured action and timing; it does not provide the same persistent authentication bypass that an enrolled certificate does. Option D: Failing to document the tool hash is an artifact-preservation gap that affects report quality and defensibility, but it does not create an active security risk to the client's environment after the engagement ends.

PenTest+ exam prep FAQ

What is the passing score for the PenTest+ exam?
The PenTest+ exam uses a scaled score. A common published passing threshold is 750 on a scale of 100–900. Always confirm the current requirement on the official CompTIA exam guide before you sit for the test.
How many questions are on the PenTest+ certification exam?
The live PenTest+ exam typically includes 85 questions (maximum) with about 165 minutes on the clock. Formats can vary by delivery mode and exam update.
How do domain quizzes help with PenTest+ exam prep?
Domain quizzes on IT Cert Ready let you practice PenTest+ one blueprint domain at a time across 5 official exam domains. You get immediate feedback, detailed explanations, and can revisit weak areas before taking a full timed mock exam.
How many PenTest+ practice questions are on IT Cert Ready?
IT Cert Ready includes 1,236 published PenTest+ practice questions with domain quizzes, full-length mock exams, and answer explanations mapped to the official outline.