CompTIA PenTest+ (PT0-003) Exam-style mock test
CompTIA PenTest+ PT0-003 Practice Exams|Practice test
Full explanations
Exam format
Pass line 75%
33 USD One-time · lifetime access
Enroll →
Sample questions
Example1 · Planning, Scoping, and Engagement Management
A B2B SaaS company that processes cardholder data for its merchant clients hires a penetration testing firm specifically to satisfy an annual card-industry assessment requirement. Which driver is motivating this engagement?
✓Compliance-based assessment requirements mandated by an external regulatory industry framework
Correct. The engagement is being commissioned to meet a card-industry framework obligation, which is a compliance-driven assessment.
・Simple curiosity among a few technical staff members
Incorrect. Curiosity is not a formal engagement driver and would not justify a scheduled, documented annual test.
・A desire to replace the aging perimeter firewall and migrate everything soon
Incorrect. Replacing infrastructure is an architecture project, not the reason a card-industry assessment is required.
・Routine marketing collateral prepared for the vendor's sales team
Incorrect. Marketing may use results afterward, but the stated driver is a mandated industry assessment.
Explanation
Engagements commissioned to satisfy a specific regulatory or industry framework are compliance-based, as opposed to goal-based or objective-based tests.
Example2 · Reconnaissance and Enumeration
A penetration tester at a B2B SaaS firm must profile the target's internet presence without sending any packets to the client's own infrastructure. Which action best satisfies this passive-only constraint?
・Running a full TCP connect scan against the public load balancer services
Incorrect. A TCP connect scan sends packets straight to the target, which is active reconnaissance, not passive.
✓Querying public certificate transparency logs to discover the company's exposed subdomains
Correct. Certificate transparency logs are third-party public records, so querying them reveals subdomains without touching the client's systems.
・Grabbing the SMTP relay's banner to read its exact version
Incorrect. Banner grabbing establishes a connection to the target host, making it an active technique.
・Launching an authenticated vulnerability scan against the staging API gateway and its endpoints
Incorrect. An authenticated vulnerability scan directly probes the target and is firmly active reconnaissance.
Explanation
Passive reconnaissance gathers information from third-party or public sources without interacting with the target. Certificate transparency logs are maintained by external log operators, so querying them keeps the tester invisible to the client.
Example3 · Attacks and Exploits (Network, App, Cloud)
During an internal test at a B2B SaaS firm, you are on the same VLAN as the billing application servers. You want to silently intercept traffic between a billing server and its MySQL database to capture plaintext credentials. Which technique positions you on-path without taking down the segment?
✓ARP cache poisoning of the billing server and the database host
Correct. Poisoning the ARP caches of both endpoints makes each believe your MAC owns the other's IP, routing their frames through you for interception while connectivity continues.
・A SYN flood directed at the database listener forcing failover
Incorrect. A SYN flood is a denial-of-service action that disrupts the segment and does not place you on-path to read traffic.
・A DNS zone transfer run against the internal corporate resolver
Incorrect. A zone transfer enumerates DNS records; it does not intercept traffic between the two hosts.
・A deauthentication burst aimed at the server's connected switch uplink port directly
Incorrect. Deauthentication is a wireless 802.11 attack and is irrelevant to a wired switched VLAN.
Explanation
On-path interception on a switched LAN is commonly achieved with ARP spoofing/poisoning, which quietly relays frames through the attacker.
Example4 · Post-Exploitation and Lateral Movement
During an engagement at a regional healthcare services firm, a tester gains a low-privilege shell on a Windows workstation that processes patient intake forms. Before attempting any privilege escalation, the tester wants to inventory the local accounts, group memberships, and currently running security software on that single host. Which action most directly accomplishes this initial local enumeration?
✓Run local commands to list users, group memberships, scheduled tasks, and installed antivirus or EDR processes on the compromised host
Correct. Enumerating local users, groups, scheduled tasks, and running security tooling on the foothold host is exactly the host-level reconnaissance that precedes escalation and lateral movement.
・Launch a full Nmap TCP connect scan of the entire clinical subnet to find other reachable hosts
Incorrect. Scanning the whole subnet is network discovery, not local-host enumeration of the compromised system.
・Deploy a domain-wide Group Policy that forwards all security event logs to the tester's collector
Incorrect. Pushing a domain GPO is a highly intrusive change that exceeds local enumeration and risks detection and scope issues.
・Immediately dump the LSASS process memory and crack every credential found before doing anything else
Incorrect. Dumping LSASS is a credential-harvesting step that should follow baseline enumeration, not replace it as the first action.
Explanation
Post-exploitation begins with understanding the host you landed on: local accounts, privileges, defenses, and context inform every later decision.
Example5 · Reporting, Communication, and Tools/Scripting
During an engagement against a regional healthcare services firm, the tester discovers an exposed database containing patient records that appears to be actively leaking data to an unknown external host. Which communication action is most appropriate for the tester to take first?
・Continue testing quietly and document the finding in the final report delivered at project close
Incorrect. Waiting until project close for an active, critical data exposure violates the purpose of communication triggers and risks ongoing harm.
✓Immediately invoke the agreed communication path to notify the client's point of contact of the critical, active exposure
Correct. Discovery of a critical finding or active breach indicator is a communication trigger requiring immediate escalation to the client contact.
・Attempt to remediate the misconfiguration on the server to stop the leak before anyone notices
Incorrect. Testers do not remediate client systems; unauthorized changes exceed scope and can destroy evidence.
・Post an anonymized summary of the issue to a security forum to crowdsource a fix
Incorrect. Sharing engagement details externally breaches confidentiality obligations regardless of anonymization intent.
Explanation
Critical findings and signs of a prior or active compromise are classic communication triggers that demand prompt escalation through the predefined contact path rather than silent documentation, self-remediation, or external disclosure.
Example6 · Planning, Scoping, and Engagement Management
A regional healthcare services firm must demonstrate that cardholder data from its patient co-pay portal is protected during an upcoming penetration test. The compliance officer asks which regulatory framework most directly governs the handling and testing of that specific payment data. Which framework applies?
✓PCI DSS, because it governs systems that store, process, or transmit cardholder data
Correct. PCI DSS is the framework specifically governing the storage, processing, and transmission of payment card data, so it directly governs testing of the co-pay payment flow.
・HIPAA, because the data resides on information systems owned and operated by a regulated healthcare provider organization
Incorrect. HIPAA governs protected health information, not the cardholder data itself, even though the firm is a healthcare provider.
・GDPR, because some patients may be citizens of the European Union
Incorrect. GDPR covers personal data of EU residents broadly and does not specifically govern payment card security.
・SOX, because the firm reports co-pay revenue in its financial statements
Incorrect. SOX addresses financial reporting controls, not the technical security of cardholder data during a test.
Explanation
Payment card data is governed by PCI DSS regardless of the industry handling it; the question asks specifically about the payment data, not the health records.
Example7 · Planning, Scoping, and Engagement Management
During the kickoff call for a test of UrbanThread, a national apparel retailer, the security lead asks that the team avoid any technique that could take the live checkout service offline during peak shopping hours. Which document should capture this restriction so testers know what is and is not permitted?
✓The rules of engagement, documenting prohibited techniques and approved testing windows
Correct. The rules of engagement explicitly document allowed and disallowed activities, timing windows, and constraints like avoiding disruptive techniques against the checkout service.
・The final penetration test report delivered afterward
Incorrect. The final report is delivered after testing and does not set pre-engagement operating constraints.
・The organization's internal data classification policy document
Incorrect. A data classification policy categorizes data sensitivity but does not govern what testing techniques are permitted.
・The commercial vulnerability scanner software license file
Incorrect. A scanner license file concerns tool entitlement, not engagement constraints.
Explanation
Testing constraints such as prohibited techniques and allowed windows belong in the rules of engagement, which is agreed upon before testing begins.
Example8 · Planning, Scoping, and Engagement Management
UrbanThread processes customer payment cards through its e-commerce platform. Before the pentest begins, which consideration most directly shapes how the cardholder data environment must be scoped and tested?
・The retailer's number of social media followers across platforms
Incorrect. Follower count has no bearing on how a cardholder data environment is scoped or tested.
✓Applicable payment card industry security requirements
Correct. Payment card industry security requirements directly dictate how systems handling cardholder data must be assessed, influencing scope and testing approach.
・The color scheme used in the retailer's mobile store app
Incorrect. UI styling does not affect the regulatory scoping of a payment environment.
・The total count of staff working at the warehouse
Incorrect. Headcount in a warehouse is unrelated to cardholder data assessment requirements.
Explanation
A retailer handling payment cards must align the test with payment card industry security requirements, which shape the cardholder data environment scope.
Example9 · Planning, Scoping, and Engagement Management
Before any scanning of UrbanThread assets begins, the consulting firm wants a signed statement confirming the client owns or is authorized to permit testing of the target systems, protecting the testers from accusations of unauthorized access. Which document provides this?
・A detailed software bill of materials enumerating every third-party component used
Incorrect. A software bill of materials lists components in software and does not grant testing authority.
✓An authorization or permission-to-test agreement signed by an authorized representative
Correct. A signed authorization (permission to test) confirms the client can authorize the test and shields testers from unauthorized-access claims.
・A printed company marketing brochure for customers
Incorrect. A brochure has no legal weight in authorizing testing.
・A high-level diagram of the corporate network
Incorrect. A network diagram aids scoping but does not grant legal authorization to test.
Explanation
A signed permission-to-test authorization is the formal get-out-of-jail document confirming the client's right to authorize the engagement.
Example10 · Planning, Scoping, and Engagement Management
A regional bank hires your firm to test its online banking platform, which processes cardholder data. During the kickoff call, the compliance officer stresses that the test must satisfy the annual assessment requirement imposed by the card brands. Which regulatory framework most directly drives the scope and timing of this engagement?
✓PCI DSS, which mandates regular penetration testing of cardholder data environments
Correct. PCI DSS requires organizations handling cardholder data to perform penetration testing on a defined schedule, which sets both the scope and the timing of this engagement.
・SOX, because it governs the accuracy of the bank's published financial statements
Incorrect. SOX focuses on financial reporting controls, not the technical penetration testing of a cardholder data environment.
・GLBA, because it addresses how the bank markets products to new retail customers
Incorrect. GLBA concerns safeguarding of customer financial information broadly, but the card-brand annual test requirement specifically stems from PCI DSS.
・HIPAA, because it protects the privacy of patient medical records held by the institution
Incorrect. HIPAA applies to protected health information, which is not relevant to an online banking cardholder environment.
Explanation
The card brands impose the recurring penetration testing obligation on cardholder data environments through PCI DSS, making it the framework that drives scope and timing.
Example11 · Planning, Scoping, and Engagement Management
While testing a wealth-management firm's internal network, you discover an unencrypted spreadsheet containing employee salaries that is clearly outside the agreed test scope. What is the most professional and ethical course of action?
・Copy the spreadsheet to your personal evidence store so you can quote the exact salary figures if the client ever disputes any finding
Incorrect. Retaining sensitive out-of-scope data for leverage violates ethical handling and confidentiality obligations.
✓Document the exposure factually and report it to the client point of contact without retaining or reading the sensitive contents
Correct. A tester notes the exposure and reports it through the proper channel while minimizing exposure of the sensitive contents.
・Email the spreadsheet directly to the firm's HR department so they can fix the permissions themselves
Incorrect. Distributing the sensitive file to another party spreads the exposure and bypasses the agreed point of contact.
・Ignore it entirely because it falls outside the signed scope and has nothing to do with your assessment
Incorrect. A security weakness this significant should be reported even if the specific file is out of scope; silence is not ethical.
Explanation
Professional integrity requires factual reporting of significant findings through the correct contact while minimizing handling of sensitive data, rather than hoarding, redistributing, or ignoring it.
Example12 · Planning, Scoping, and Engagement Management
A regional auto-parts manufacturing distributor hires a penetration testing firm to assess its order-fulfillment web portal. During the kickoff, the client asks the lead tester to document which hosts, subnets, and applications may be targeted and which must be excluded. Which document should capture this agreement?
✓A scoping document that defines in-scope targets and explicit exclusions
Correct. The scoping document defines the specific hosts, networks, and applications that are authorized or excluded, which is exactly what the client is asking the tester to formalize.
・A service-level agreement describing uptime and availability guarantees for the client portal
Incorrect. An SLA concerns performance and availability commitments, not the boundaries of what may be tested.
・A penetration test report summarizing findings discovered after testing
Incorrect. The report is produced after the engagement and documents results, not the pre-test boundaries being negotiated here.
・A non-disclosure agreement protecting the client's confidential data
Incorrect. An NDA governs confidentiality of information, not which systems are permitted targets.
Explanation
Defining authorized targets and exclusions before testing begins is the core purpose of the scoping document.
Example13 · Planning, Scoping, and Engagement Management
The manufacturing distributor's inventory system is hosted in a public cloud provider's environment. Before the tester can assess those cloud-hosted servers, what must be obtained in addition to the client's authorization?
✓Written approval or compliance with the cloud provider's penetration testing policy
Correct. Testing assets in a third-party cloud requires honoring the provider's acceptable-testing policy or obtaining explicit authorization, because the client does not own the underlying infrastructure.
・A copy of the cloud provider's internal network diagrams and firewall rules
Incorrect. Providers do not share internal network diagrams, and these are not a prerequisite for authorized testing.
・Root credentials to the cloud provider's underlying hypervisor platform
Incorrect. Testers assess the customer's tenant, not the provider's hypervisor, and such credentials would never be granted.
・A signed statement of work from the cloud provider's account manager
Incorrect. The SOW is between the tester and the client, not the cloud provider's sales staff.
Explanation
Cloud-hosted assets are third-party owned, so the provider's testing policy or explicit permission is mandatory alongside the client's authorization.
Example14 · Planning, Scoping, and Engagement Management
A national telecom operator is onboarding a penetration testing firm to assess the billing systems that process cardholder data for prepaid top-ups. The compliance manager insists the report must map findings to the framework that governs storage and transmission of payment card information. Which compliance driver is the PRIMARY reason for scoping the cardholder data environment?
✓PCI DSS, because the systems store, process, and transmit payment card data
Correct. PCI DSS specifically governs the handling of cardholder data, making it the primary driver for scoping that environment.
・ISO 27001, because the telecom maintains an information security management system
Incorrect. ISO 27001 describes a general management system and does not specifically govern payment card data handling.
・GDPR, because subscriber phone numbers qualify as personal data under privacy rules
Incorrect. GDPR covers personal data broadly, but the stated driver is payment card information, not subscriber identifiers.
・SOC 2, because the billing platform is delivered as an outsourced managed service
Incorrect. SOC 2 addresses service organization trust criteria, not the specific payment card data protections at issue.
Explanation
Because the billing systems store, process, and transmit cardholder data, PCI DSS is the controlling standard that defines the cardholder data environment scope.
Example15 · Planning, Scoping, and Engagement Management
During scoping with a telecom operator, the client provides a list of /24 subnets for its core network but mentions that a legacy IVR platform shares one of those subnets and is operated by a third-party vendor. What should the penetration tester do BEFORE including the IVR platform in testing?
・Test it, since the host falls inside an already approved IP range
Incorrect. Falling within an IP range does not grant authority to test systems owned or operated by a third party.
✓Obtain explicit written third-party authorization and confirm the IVR platform is formally in scope
Correct. Third-party-operated systems require explicit written authorization from that party before testing can proceed, confirming the IVR platform is formally in scope.
・Exclude it permanently without raising the issue with the client
Incorrect. Unilaterally excluding the asset ignores the need to clarify ownership and authorization with the client.
・Scan it with passive techniques only to avoid any service disruption
Incorrect. Even passive activity against an unauthorized third-party system can exceed the granted authorization.
Explanation
Third-party-operated assets require separate written authorization regardless of whether their IP sits inside an approved range; the tester must confirm scope and authority first.
▶ Try 10 free questions (graded)