Limited-Time Offer: Enjoy 50% Savings! - Ends In 0d 00h 00m 00s Coupon code: 50OFF
Welcome to QA4Exam

Free practice questions with explanations

CompTIA PT0-003 Dumps 2026 with Free Practice Questions and Answers

Practise for the CompTIA PenTest+ Exam with 14 original questions, each with an answer and explanation.

Topics: Attacks And Exploits, Engagement Management, Reconnaissance And Enumeration, Post-Exploitation And Lateral Movement and 1 more.

Includes single answer, multiple answers, order list, drag and drop and dropdown. A new question is added every 15 days.

PT0-003 Practice Set Details

Vendor
CompTIA
Exam Code
PT0-003
Questions On This Page
14
Exam Topics Covered
5 of 5
Question Types
5
Newest Question
New Question
Every 15 days
Full Question Set
365
Certification
CompTIA PenTest+
14 questions

CompTIA PT0-003 Exam Questions and Answers by Topic

Engagement Management

13% of the exam

3 practice questions on this topicWhat this topic covers

Question 1

Added

Single Answer

A client asks a penetration-testing team to begin an external assessment tomorrow. The purchase order names the parent company, but the written authorization lists only its primary domain. During passive reconnaissance, the tester discovers a customer-facing portal hosted by a separately incorporated subsidiary and a third-party payment processor. The assessment window and emergency contacts are documented, but no subsidiary or processor authorization is available. The client says the portal is business-critical and asks the team to proceed because it shares branding. What is the best action before probing the portal?

Correct answer: B

Written authorization and explicit scope must cover the legal entity and systems being tested; branding or technical connectivity does not establish permission, particularly for a third-party processor. Low-rate discovery is still testing and lacks authorization. Testing the processor's login page is outside the signed scope. Documenting a third party after probing does not cure the absence of prior permission.

Question 2

Added

Order List

A penetration test is scheduled for a customer-facing identity service. The customer requires a peer-reviewed report, rapid escalation of any critical exposure, and no remediation work by the testing team. The assessment has just completed, and the team has raw notes, evidence, and an unvalidated scanner alert. Arrange the steps in the order they should be performed.

Drag the steps into the correct order, or use the arrows.

  1. Escalate a confirmed critical exposure through the agreed contact path.
  2. Peer-review the evidence, impact, and remediation language.
  3. Deliver the final report with an executive summary and prioritized findings.
  4. Validate the suspected finding with a safe, scoped reproduction.
Correct answer:
  1. Validate the suspected finding with a safe, scoped reproduction.
  2. Escalate a confirmed critical exposure through the agreed contact path.
  3. Peer-review the evidence, impact, and remediation language.
  4. Deliver the final report with an executive summary and prioritized findings.

Validation should establish whether the scanner alert is real before it is reported as a confirmed critical exposure. A confirmed critical issue is escalated promptly through the agreed path rather than waiting for report delivery. Peer review then checks the evidence and recommendations, and the final report is delivered after that quality gate. Reporting the raw alert as confirmed risks a false alarm; delaying escalation until final delivery conflicts with the rapid-escalation requirement; remediation is explicitly not the tester's role.

Question 3

Added

Drag And Drop

A test lead is finalizing the rules of engagement for a multinational assessment. The client has approved the listed operating conditions, but each requirement must be assigned to the control that addresses it directly. Match each requirement to the appropriate engagement control.

Drag each item onto its matching target. On a phone: tap an item, then tap a target.

Prevent tests against the payment provider
Stop activity if customer transactions are disrupted
Preserve evidence of written permission
Limit disruptive scans to approved evening hours
Testing window and rate constraints
Signed authorization letter
Emergency stop and escalation procedure
Explicit in-scope and out-of-scope asset list
Correct answer:
  • Prevent tests against the payment provider → Explicit in-scope and out-of-scope asset list
  • Stop activity if customer transactions are disrupted → Emergency stop and escalation procedure
  • Limit disruptive scans to approved evening hours → Testing window and rate constraints
  • Preserve evidence of written permission → Signed authorization letter

An asset list defines which systems may and may not be tested, while an emergency stop procedure governs an unexpected operational impact. Testing windows and rate constraints reduce risk during scanning, and a signed authorization letter records permission. A testing window does not establish asset ownership, an asset list does not define incident escalation, and evidence handling is not a substitute for written authorization.

Reconnaissance and Enumeration

21% of the exam

3 practice questions on this topicWhat this topic covers

Question 4

Added

Single Answer

A company wants an external asset inventory before a scheduled penetration test. The tester has permission for passive research immediately, but active probing is not authorized until the client confirms the final address ranges. A public DNS record points to a cloud-hosted address that might be shared by unrelated tenants. The team has access to Shodan and Nmap, and the customer prohibits contacting suspected third-party infrastructure. What should the tester do next?

Correct answer: D

Passive sources such as Shodan can support initial exposure inventory without directly probing potentially shared infrastructure; active validation should wait for confirmed scope. An Nmap scan is active and may reach unrelated tenants. A low-speed connect scan is still direct contact and cannot reliably establish ownership. Scanning newly discovered addresses before scope confirmation repeats the same authorization problem.

Question 5

Added

Dropdown

A tester is authorized to enumerate DNS records for a customer's domain from an approved Linux assessment host. The client permits a DNS zone transfer check but prohibits brute-force subdomain guessing and web requests. Complete the command used to request a zone transfer from the domain's authoritative server.

Choose the correct value for each blank.

dig @ AXFR
Correct answer:

dig @authoritative-server-address customer.example AXFR

The AXFR query requests a zone transfer for the specified domain from its authoritative DNS server, which is the relevant target for this permitted check. A web server address is unrelated unless it is also the authoritative DNS server, and a recursive resolver is not the appropriate transfer target. The domain name identifies the zone; ANY is not the requested zone name, and -x selects reverse lookup rather than a zone transfer.

Question 6

Added

Multiple Answers

A tester is asked to identify exposed services on a small, explicitly authorized subnet of 12 servers. The maintenance window is only 20 minutes, the environment contains fragile industrial monitoring appliances, and the customer prohibits UDP probes and intrusive NSE scripts. The team needs a defensible inventory of reachable TCP ports and service versions, not vulnerability conclusions. Which TWO Nmap choices best fit? (Choose two.)

Correct answer: A, B

A TCP connect scan with service/version detection or a SYN scan with version detection can inventory TCP services while respecting the narrow target scope; the conservative timing choice helps protect fragile devices and the short window. Aggressive scanning adds OS detection, traceroute, and scripts that are not needed and may increase impact. UDP scanning is explicitly prohibited and expands the target range. Vulnerability scripts exceed the requested inventory and risk intrusive behavior.

Vulnerability Discovery and Analysis

17% of the exam

2 practice questions on this topicWhat this topic covers

Question 7

Added

Single Answer

A security team runs authenticated and unauthenticated Nessus scans against a Linux application server. The authenticated scan reports an outdated package, while the unauthenticated scan reports the same CVE based only on a banner. The server uses a vendor backport that retains an older upstream version string, and the package manager's installed-package metadata is available to the tester. The customer wants validated findings and will not accept a claim based solely on a version banner. What is the best next step?

Correct answer: B

Package metadata and the vendor's advisory can distinguish an actually vulnerable package from a backported fix whose displayed upstream version remains old. Two scans that rely on the same banner are not independent confirmation. Backports do not automatically prove safety; the specific package and advisory must be checked. Exploiting a production server is unnecessary and conflicts with the requirement for safe validation.

Question 8

Added

Single Answer

A tester is asked to assess a customer web application without source-code access. The application is in a staging environment that mirrors production data flows, and the owner authorizes non-destructive HTTP testing during a two-hour window. The team needs to identify runtime issues such as reflected injection and unsafe headers, then manually verify findings. A static analyzer is available but cannot access source code, and a full authenticated scan would exceed the window. Which approach is best?

Correct answer: A

DAST evaluates a running application through HTTP interactions and is suited to identifying runtime issues in the authorized staging environment; manual validation can filter false positives. SAST requires source code and does not establish runtime behavior from a URL. A network-only scan misses application-layer weaknesses despite authorized non-destructive testing. A source-code scanner cannot analyze source that was not supplied, and HTTP responses do not substitute for source analysis.

Attacks and Exploits

35% of the exam

4 practice questions on this topicWhat this topic covers

Question 9

Added

Single Answer

During an authorized assessment, a tester reaches a Linux web server through a restricted upload feature. The application runs as an unprivileged account, but a local backup utility is scheduled every minute as root and accepts a configurable destination path from a writable configuration file. The tester confirms the account can modify that file but cannot modify the utility or its systemd unit. The customer prohibits kernel exploits because the host supports a production trading service, and the rules of engagement allow only a reversible privilege demonstration. Which next action best demonstrates the privilege-escalation risk while minimizing operational impact?

Correct answer: B

Using the writable configuration to direct the existing root utility to a controlled proof file demonstrates that an unprivileged user can influence a privileged operation without replacing a binary or taking an interactive root shell. Replacing the binary is impossible because it is not writable and risks disrupting the scheduled job. A kernel exploit violates the explicit safety constraint and is unnecessary. Adding an account to the root group is not possible through the stated permissions and would create a persistent, unauthorized change.

Question 10

Added

Multiple Answers

A company has authorized a test of its customer portal, which authenticates users through an API. The test account can submit login requests, but the service enforces per-account throttling and locks accounts after repeated failures. The security lead specifically requests a controlled assessment of reused-password exposure, not a password-guessing campaign. The tester has a customer-approved list of 40 username and password pairs obtained from the company's own historical breach simulation. Production availability must be preserved, and no account may be locked. Which TWO controls should the tester use? (Choose two.)

Correct answer: A, C

A controlled credential-stuffing test uses known username-password pairs, not generated guesses, and limits exposure through an agreed low rate, a small approved account set, and coordination with the service owner. Cycling name-derived passwords is password guessing and falls outside the requested objective. Disabling throttling changes production controls without authorization and invalidates the real-world assessment. Testing through lockout deliberately violates the no-lockout requirement.

Question 11

Added

Single Answer

A tester is assessing a cloud-hosted application running on virtual machines in a provider network. An instance role is attached to the web tier, and the application makes outbound HTTP requests based on a user-supplied URL. The customer permits validation of server-side request forgery but prohibits access to production secrets or use of obtained credentials. A nonproduction instance exposes the provider's metadata endpoint, and the application has no documented need to retrieve arbitrary URLs. What is the best next step to establish the vulnerability safely?

Correct answer: D

A harmless metadata response from the application path validates the SSRF exposure while respecting the prohibition on retrieving secrets or using credentials. Enumerating role credentials and listing storage crosses the stated boundary. A workstation request does not demonstrate that the vulnerable server can reach the endpoint. Obtaining a shell and inspecting credentials is a broader post-exploitation action and risks disclosing protected material.

Question 12

Added

Single Answer

A tester is reviewing a customer support chatbot that retrieves internal policy documents and can draft ticket responses. The system prompt instructs it not to reveal internal material, but retrieved documents include attacker-controlled text from customer attachments. The assessment is limited to non-destructive tests, and the customer wants to know whether user content can override the intended instruction hierarchy. Which test most directly demonstrates the relevant risk without causing a workflow action?

Correct answer: C

A canary-based indirect prompt-injection test checks whether attacker-controlled retrieved content can override intended instructions, while the harmless marker avoids exposing real internal data or triggering a ticket action. Malformed requests test robustness or availability, not instruction hierarchy. Changing temperature measures response variability rather than prompt injection. Submitting a ticket creates a real workflow side effect and uses fabricated data, contrary to the non-destructive scope.

Post-Exploitation and Lateral Movement

14% of the exam

2 practice questions on this topicWhat this topic covers

Question 13

Added

Single Answer

During an internal assessment, a tester compromises a workstation and finds a cached administrative token that could permit access to a file server. The rules of engagement permit one-hop lateral movement to demonstrate business impact, forbid persistence, and require cleanup of test artifacts. The file server contains live payroll data, and the client has asked the tester not to view or copy sensitive records. Which action best demonstrates the risk while meeting the engagement limits?

Correct answer: A

A single authorized hop to a harmless designated share demonstrates the token's impact while avoiding sensitive payroll data, persistence, and unnecessary expansion. A scheduled task creates prohibited persistence. Copying payroll records violates the explicit data-handling restriction even if the copy is later deleted. Accessing multiple servers exceeds the one-hop limit and broadens the test beyond the approved demonstration.

Question 14

Added

Order List

A tester has completed an approved lateral-movement demonstration using a temporary account on a domain-joined host. The customer requires all artifacts removed, evidence retained securely, and the test account restored to its original state before the report is finalized. Arrange the closeout activities in the order they should be performed.

Drag the steps into the correct order, or use the arrows.

  1. Remove the temporary account and other test-created artifacts.
  2. Verify the host and account state returned to baseline.
  3. Record cleanup results and preserve evidence in the approved repository.
  4. Capture the minimum evidence needed to support the attack narrative.
Correct answer:
  1. Capture the minimum evidence needed to support the attack narrative.
  2. Remove the temporary account and other test-created artifacts.
  3. Verify the host and account state returned to baseline.
  4. Record cleanup results and preserve evidence in the approved repository.

Evidence must be captured before removing the artifacts that demonstrate the path, but should be limited to what supports the narrative. Cleanup follows, then verification confirms that the host and account returned to baseline. The tester records the cleanup result and stores retained evidence securely after verification. Removing artifacts before capturing evidence can destroy the proof, while claiming cleanup without checking the state leaves residual risk.

More CompTIA Practice Questions

Get the Full CompTIA PT0-003 Dumps as PDF and Practice Test

14 questions are free on this page and the full set has 365. It comes as a PDF and an online practice test, with 90 days of free updates.