All EC-Council exams
Certified Penetration Testing Professional (CPENT)
What the Certified Penetration Testing Professional (CPENT) exam covers and what it costs, with a free 30-question practice test and an explanation for every answer.
- Level
- Professional
- Topic areas
- 5
- Free practice questions
- 30
- Full question bank
- 112 questions
What the Certified Penetration Testing Professional (CPENT) exam covers
The topic areas in our Certified Penetration Testing Professional (CPENT) question bank, with each one's share of the 112 practice questions.
Certified Penetration Testing Professional (CPENT) cost and format
| Certification | CPENT |
|---|---|
| Vendor | EC-Council |
| Level | Professional |
| Status | Active |
Last checked October 22, 2026 against the official EC-Council exam page.
Certified Penetration Testing Professional (CPENT) sample questions
The first 5 questions from the free practice test. Open a question to see the answer and why it is right.
Question 1Web and API Exploitation
Which vulnerability class occurs when untrusted input changes the structure of a query sent to the backend database?
- ACross-site request forgery, which tricks a logged-in user's browser into sending unintended requests
- BInsecure direct object reference, which exposes objects through predictable identifiers without authorisation checks
- CClickjacking, which overlays a hidden frame over a legitimate page to capture the user's clicks invisibly
- DSQL injection, where untrusted input alters the query that the database executes for the application
Show answer and explanationHide answer
Correct answer: DSQL injection occurs when untrusted input changes the structure of the query executed by the database. CSRF, IDOR and clickjacking are different classes of web flaw.
Question 2Active Directory, Network and Lateral Movement
Which Active Directory attack requests service tickets for accounts with service principal names, then cracks their password hashes offline?
- AGolden ticket forging, which requires a password reset on the domain controller's own computer account first
- BKerberoasting, which requests service tickets and cracks the account's password hash offline
- CPassword spraying of a single account across many days, which is designed to avoid lockout entirely
- DDNS cache poisoning, which redirects Kerberos requests to a fake domain controller the attacker has run
Show answer and explanationHide answer
Correct answer: BKerberoasting requests service tickets for service accounts and cracks the hashes offline. Golden tickets, spraying and DNS poisoning are different techniques against different components.
Question 3Binary Exploitation, Reverse Engineering and IoT
What is the main purpose of a buffer overflow exploit against a vulnerable program?
- ATo crash the program on purpose so that the logs look busy to the monitoring team during the test window
- BTo compress the program's data in memory to free up space for other processes running on the same host
- CTo read the program's configuration file in a read-only manner for evaluation purposes by the tester
- DTo overwrite control data, such as a saved return address, so that execution is redirected to attacker code
Show answer and explanationHide answer
Correct answer: DA buffer overflow overwrites control data such as a return address to redirect execution to attacker-chosen code. Crashing, reading configuration and compression are not the purpose of the exploit.
Question 4Planning, Scoping and Reconnaissance
Before testing begins, what does a signed rules of engagement document define?
- AThe tester's personal hourly rate and the invoice schedule that the client will be billed against
- BThe scope, testing windows, permitted techniques and escalation contacts for the engagement
- CA list of exploits the tester has written in the past, which shows the team's skill to the client
- DThe internal IP addresses of the client's competitors, which are used for benchmarking purposes
Show answer and explanationHide answer
Correct answer: BRules of engagement define the scope, testing windows, permitted techniques and escalation contacts, which govern the test legally and operationally. Rates, past exploits and competitor addresses are not part of the rules.
Question 5Reporting, Social Engineering and Post-Test Actions
Which element is required in a penetration test report for each finding?
- AA clear description, the supporting evidence, the risk rating and the recommended remediation
- BThe tester's personal favourite exploit name, listed for their own portfolio of work for the firm
- CThe names of the client's competitors, used as examples of similar weaknesses found across the market
- DA list of every command typed during the test, with no explanation of the impact on the business
Show answer and explanationHide answer
Correct answer: AEach finding needs a clear description, evidence, risk rating and remediation so the client can act on it. Exploit names for portfolios, competitor names and raw command lists do not give the client what it needs.
How to prepare for Certified Penetration Testing Professional (CPENT)
- Read the official EC-Council outline first (exam page), so you know exactly what is in scope.
- Give the most time to Web and API Exploitation and Active Directory, Network and Lateral Movement: together they make up 42% 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 Certified Penetration Testing Professional (CPENT) question bank
All 112 questions with answers and explanations, as a PDF, an online practice exam, or both.
The full 112-question bank for Certified Penetration Testing Professional (CPENT) is in final review. The free practice test is open now.
Start the free practice testCertified Penetration Testing Professional (CPENT) FAQ
Related exams
| Exam | Vendor | Level |
|---|---|---|
| Certified Ethical Hacker (CEH v13, "Powered by AI") | EC-Council | Professional |
| Certified Chief Information Security Officer (CCISO) | EC-Council | Professional |
| Certified Incident Handler (ECIH) | EC-Council | Professional |
| Certified Network Defender (CND) | EC-Council | Professional |
| Certified SOC Analyst (CSA) | EC-Council | Professional |
| Certified Threat Intelligence Analyst (CTIA) | EC-Council | Professional |
