OpenExamsFREE PRACTICE — ANY EXAM

Free HTB Certified Penetration Testing Specialist Practice Questions

100 free questions · Answer explanations · No signup required

View examination details, outline and sources

These questions practise related knowledge and decisions. They do not replace practical performance training or assess your actual performance.

Loading selected examination banks…

Sample Practice Questions

Try these 10 sample questions from the HTB Certified Penetration Testing Specialist practice bank. Each includes the answer and explanation. Continue with the interactive practice above to review the full question set.

  1. 1A tester notices that an in-scope application redirects to a vendor-operated service. The service is missing from the approved target list. How should the tester handle it?

    1. A.Treat the redirect destination as part of the application scope.
    2. B.Exclude the vendor service unless its testing is explicitly authorized.Correct answer: B
    3. C.Include the vendor service if only non-destructive checks are planned.
    4. D.Treat the service as covered by the application owner's approval.

    Explanation: The reference states, “Information should include authorized and unauthorized IP addresses or other distinguishing identifiers” The redirect does not grant permission to test the separately operated service. Begin work on it only after the relevant authority explicitly approves it.

    Reference: NIST SP 800-115, Technical Guide to Information Security Testing and Assessment — Appendix B, §4 Target System/Network

  2. 2An internal monitoring sensor ran for one hour. A registered backup server never appeared in its passive observations. What can the asset owner infer?

    1. A.The host was switched off throughout the hour.
    2. B.The host had no reachable network services.
    3. C.The host may have been idle during the observation window.Correct answer: C
    4. D.The host's inventory entry must refer to an obsolete machine.

    Explanation: The reference states, “hosts that do not send or receive traffic during the monitoring period might not be reported” Passive collection depends on observed communication. An inventory entry and a silent hour can both be accurate.

    Reference: NIST SP 800-115, Technical Guide to Information Security Testing and Assessment — §4.1 Network Discovery

  3. 3A Windows host uses the default firewall behavior and has no matching inbound rule. What happens to a new unsolicited inbound connection?

    1. A.Allow it unless a matching block rule exists.
    2. B.Block it under the default inbound policy.Correct answer: B
    3. C.Allow it when a local application listens on the port.
    4. D.Apply the default rule for new outbound connections.

    Explanation: The reference states, “block all incoming traffic, unless solicited or matching a rule” An unsolicited incoming connection without a matching rule is blocked. Listening does not grant a firewall exception, and the default outbound policy does not decide the inbound flow.

    Reference: Microsoft Learn, Windows Firewall overview — Concepts, default firewall behavior

  4. 4Which built-in Windows feature should a domain administrator use to manage local administrator passwords on supported AD-joined workstations?

    1. A.User Account Control.
    2. B.Windows LAPS.Correct answer: B
    3. C.The Protected Users group.
    4. D.An Active Directory domain trust.

    Explanation: The reference states, “automatically manages and backs up the password of a local administrator account” Windows LAPS manages the local password and backs it up. UAC manages elevation, Protected Users limits authentication behavior, and a domain trust does not rotate local passwords.

    Reference: Microsoft Learn, Windows LAPS overview — Overview

  5. 5A web application builds a SQL query from a fixed statement and one user-entered search value. Which change prevents the value from altering the SQL structure?

    1. A.Escape the value as HTML before concatenating it into the SQL.
    2. B.Bind the value as a parameter of a prepared query.Correct answer: B
    3. C.Connect with a read-only database user and keep concatenating the value.
    4. D.Validate that the input is UTF-8 and concatenate it into the query.

    Explanation: The reference states, “use parameterized queries for dynamic data values” Binding separates the data value from the SQL syntax. A read-only role limits some consequences but does not prevent a value from changing query syntax.

    Reference: OWASP SQL Injection Prevention Cheat Sheet — Anatomy of a SQL Injection Attack, Resolution

  6. 6Two vulnerability scanners report the same weakness on a managed host. Both rely on similar detection signatures. What should the analyst do before marking the result as confirmed?

    1. A.Close the result because the two tools duplicated it.
    2. B.Confirm the result because the tools agree.
    3. C.Use the higher severity label as independent confirmation.
    4. D.Check host configuration and applicable evidence directly.Correct answer: D

    Explanation: The reference states, “including the same false positives” Common detection methods can produce the same false positive. Independent examination of the relevant host evidence can settle whether the weakness is present.

    Reference: NIST SP 800-115, Technical Guide to Information Security Testing and Assessment — §7.3 Analysis

  7. 7Two application tiers share a data center segment. The application tier needs one connection to a specific database, and unrelated peer-to-peer traffic should be blocked. Which design reduces lateral reach while preserving the application?

    1. A.Put both tiers on a shared internal segment with unrestricted peer access.
    2. B.Allow the required application-to-database flow and restrict other peer flows.Correct answer: B
    3. C.Add more address space to the shared server segment.
    4. D.Encrypt all peer traffic but keep all peers mutually reachable.

    Explanation: The reference states, “communicate with other servers needed to perform their business function” Allowing required flows preserves the dependency. Peers that have no business reason to communicate should not gain reachability simply by sharing the data center.

    Reference: CISA, Microsegmentation in Zero Trust, Part One — Microsegmentation, discussion after Figure 7

  8. 8After a controlled lab demonstration, an assessor builds an inventory from already collected evidence. Two affected hosts use the same short hostname. Which fields preserve both the platform and network location so responders can distinguish them?

    1. A.The operating system and the installed software inventory.
    2. B.The IP address, operating system and logical network position.Correct answer: B
    3. C.The IP address, subnet and upstream network gateway.
    4. D.The short hostname and the build date of the system image.

    Explanation: The reference states, “system names, IP addresses, OS, physical and logical network positions” The operating system records the platform. The observed address and logical position place that platform in the network. Each competing set omits either platform or useful network location.

    Reference: NIST SP 800-115, Technical Guide to Information Security Testing and Assessment — §7.4.1 Data Collection, Architecture and Configuration Data

  9. 9With User Account Control enabled, a member of the local Administrators group starts an ordinary Windows desktop application without requesting elevation. Which token does it normally receive?

    1. A.The full administrator token because the account belongs to Administrators.
    2. B.A standard user token with administrative privileges removed.Correct answer: B
    3. C.The local system token used by Windows services.
    4. D.The elevated token of the last administrator who signed in.

    Explanation: The reference states, “the administrative Windows privileges and SIDs are removed” Ordinary apps start with the standard token. The account can be an administrator while the particular process runs without those privileges.

    Reference: Microsoft Learn, How User Account Control works — How User Account Control works, access tokens

  10. 10An assessment found missing patches on several systems. The evidence shows that the patch process excludes newly enrolled hosts. Which recommendation addresses the root cause as well as the immediate findings?

    1. A.Patch the affected hosts and make the enrollment process include them in future patching.Correct answer: A
    2. B.Patch the affected hosts and keep the existing enrollment rule.
    3. C.Change how the scanner displays unpatched hosts while retaining the same patch process.
    4. D.Mark the findings as duplicates and close them when the oldest host is patched.

    Explanation: The reference states, “nontechnical recommendations that address the organization’s processes” Applying patches fixes the observed systems. Changing how new hosts enter the patch cycle addresses the process gap that produced the findings.

    Reference: NIST SP 800-115, Technical Guide to Information Security Testing and Assessment — §8.1 Mitigation Recommendations

Exam Review

About HTB Certified Penetration Testing Specialist

HTB Certified Penetration Testing Specialist · UNSPECIFIED

This examination scores performance. Multiple-choice practice covers related knowledge and decisions; it does not replace practical performance training or assess your actual performance.

Key exam facts

Provider
Hack The Box (HTB), through HTB Academy, provides and hosts the exam. An HTB Academy instructor evaluates the results and report.
Format
Online, hands-on black-box assessment of web, external and internal environments in an HTB-hosted Active Directory lab accessed over VPN via Pwnbox or a local VM. Candidates submit lab flags and an English-language professional report. Multiple-choice practice cannot substitute for the hands-on assessment.
Time limit
10 calendar days from starting the attempt to work in the lab and submit the report. The retake also has a 10-day window from its start. Final report submission ends the session.
Passing score
Candidates must earn the exam-specific minimum number of points from submitted lab flags and submit a commercial-grade report that meets HTB Academy’s quality requirements. HTB’s public CPTS materials do not identify a CPTS-specific numerical cutoff.
Exam fee
US$210 for a standalone CPTS exam voucher. The voucher includes two attempts subject to HTB’s submission and retake terms. A CPTS voucher is also available through eligible annual subscriptions.

Topics covered

  • Penetration testing processes and methodologies

  • Information gathering & reconnaissance techniques

  • Attacking Windows & Linux targets

  • Active Directory penetration testing

  • Web application penetration testing

  • Manual & automated exploitation

  • Vulnerability assessment

  • Pivoting & Lateral Movement

  • Post-exploitation enumeration

  • Windows & Linux Privilege escalation

  • Vulnerability/Risk communication and reporting

How to prepare

Work through the topics, read the explanation after each answer, and revisit the areas where you miss questions. Use the official outline and reference materials below to guide your study.

These independent practice questions are not actual exam items and do not guarantee a passing result.

Frequently asked questions

What is the exam format?

Online, hands-on black-box assessment of web, external and internal environments in an HTB-hosted Active Directory lab accessed over VPN via Pwnbox or a local VM. Candidates submit lab flags and an English-language professional report. Multiple-choice practice cannot substitute for the hands-on assessment.

How long is the exam?

10 calendar days from starting the attempt to work in the lab and submit the report. The retake also has a 10-day window from its start. Final report submission ends the session.

What is the passing score?

Candidates must earn the exam-specific minimum number of points from submitted lab flags and submit a commercial-grade report that meets HTB Academy’s quality requirements. HTB’s public CPTS materials do not identify a CPTS-specific numerical cutoff.

How much does the exam cost?

US$210 for a standalone CPTS exam voucher. The voucher includes two attempts subject to HTB’s submission and retake terms. A CPTS voucher is also available through eligible annual subscriptions.

Official sources and references

Confirm current exam arrangements with the exam provider.