IT Certifications

CompTIA Ethical Hacker Pro Competency Assessment Practice Test

Ethical hacking practice centers on authorized security assessment, responsible handling of sensitive evidence, and clear communication of risk. The available questions use scenarios involving API bearer tokens, packet captures, vulnerability reports, disclosure scope, service banners, system time, software signatures, and excessive user privileges.

Exam overview

Exam providerCompTIA
Exam codeNot listed
CategoryIT Certifications

About the CompTIA Ethical Hacker Pro Competency Assessment Exam

Assessment work requires more than identifying a weakness: testers must preserve authorization boundaries, limit exposure of credentials and captured data, and provide findings that others can verify and remediate. The question scenarios also touch on security judgment, including prioritizing vulnerabilities in light of exploitability and business impact, strengthening remote access against password theft, and applying least privilege to workstation accounts. Other relevant concepts include the evidentiary value of synchronized timestamps and what a verified digital signature establishes about a vendor package. These tasks call for precise evidence handling, sound control selection, and reports that name affected assets, substantiate severity, and give practical remediation guidance.

Sample Practice Questions

Review a selection from this exam's published US Practice Tests practice bank.

Question 1

A tester is asked to assess an application programming interface (API) that uses bearer tokens. Which practice best limits exposure of those tokens during testing?

  1. AInclude tokens in URLs so they are easy to inspect in browser history
  2. BUse approved test credentials, avoid unnecessary token logging, and protect any captured tokens as secrets
  3. CShare a single long-lived production token among the assessment team
  4. DPrint tokens in the final report to make findings reproducible
Show answerCorrect answer: B

Bearer tokens can grant access to whoever possesses them. Using approved test credentials and minimizing or protecting token exposure reduces the chance of misuse. Tokens should not be placed in URLs, broadly shared, or disclosed in reports.

Question 2

A report lists a severe vulnerability but provides no affected asset, evidence, or remediation guidance. What is the most useful improvement?

  1. AAdd the affected asset, reproducible evidence, impact context, and actionable remediation guidance
  2. BRemove all technical detail so the report is shorter
  3. CInclude every raw packet captured during the assessment
  4. DRank the finding only by how difficult it was to discover
Show answerCorrect answer: A

A useful finding identifies where the issue exists, supports it with relevant evidence, explains its likely impact, and gives practical remediation guidance. The report should be concise and avoid unnecessary sensitive data.

Question 3

An organization wants to reduce the chance that a stolen employee password alone will allow access to a remote account. Which control is most directly suited to this goal?

  1. AMulti-factor authentication requiring an independent second factor
  2. BA longer session timeout on the public website
  3. CA banner reminding employees to log out
  4. DA password hint visible on the login page
Show answerCorrect answer: A

Multi-factor authentication requires an additional factor beyond the password, reducing the usefulness of a stolen password by itself. The other choices do not provide an independent authentication factor.

Question 4

A tester captures a packet trace that may contain authentication tokens. What is the best way to handle the trace after collection?

  1. AUpload it to a public file-sharing service for convenient access
  2. BStore it in an access-controlled location, protect it appropriately, and retain it only as long as needed
  3. CEmail it to all project stakeholders so everyone can review it
  4. DKeep an unencrypted copy on a personal device for future reference
Show answerCorrect answer: B

Packet captures can contain credentials or other sensitive data. Restricting access, protecting storage, and following retention requirements reduce the chance of disclosure.

Question 5

An organization uses a written vulnerability disclosure program. A researcher reports a weakness in a system that is explicitly outside the program’s stated scope. What should the organization do first?

  1. ATreat the report as authorization to test the system further
  2. BAcknowledge the report and clarify that further testing requires separate authorization
  3. CAsk the researcher to demonstrate impact by accessing production data
  4. DPublish the report immediately to encourage remediation
Show answerCorrect answer: B

A disclosure policy does not grant permission to test assets outside its stated scope. The organization should acknowledge the report and establish authorization before any additional testing.

Question 6

A security team wants to prioritize a vulnerability that is difficult to exploit but affects a critical business service. Which approach is most appropriate?

  1. APrioritize solely by the scanner's severity label
  2. BConsider technical severity together with business impact and exposure
  3. CDefer all issues that require authentication
  4. DPrioritize only vulnerabilities with publicly available exploit code
Show answerCorrect answer: B

Risk prioritization should combine technical factors such as exploitability and severity with organizational context, including asset criticality and exposure. A scanner label alone does not capture the full business risk.

Question 7

A tester is checking whether a network service exposes more information than necessary in its response banners. What is the main security concern?

  1. ADetailed banners can help an attacker identify software and target known weaknesses
  2. BBanners automatically encrypt all application traffic
  3. CBanners prevent unauthorized users from connecting
  4. DDetailed banners guarantee that the service is misconfigured
Show answerCorrect answer: A

Service banners may reveal product, version, or platform details that aid reconnaissance. Their presence alone does not prove a vulnerability, but minimizing unnecessary disclosure can reduce useful information for attackers.

How to use this practice test

The free practice bank contains 50 questions; each session presents up to 20 questions selected at random. Work through the scenarios by choosing and briefly justifying a control or next action, then use the displayed results to identify which decisions need closer review. Pay particular attention to evidence protection, authorization scope, and remediation quality.

Preparation tips

  • For API and packet-capture scenarios, distinguish safe test handling from unnecessary exposure of bearer tokens; consider access restriction, secure storage, and disposal.
  • Practice writing vulnerability findings that identify the affected asset, supporting evidence, business impact, and a concrete remediation step.
  • Compare risk-prioritization factors such as exploitability and service criticality rather than treating severity labels as the only decision input.
  • Review how multifactor authentication reduces reliance on a password alone, and how least privilege limits the impact of compromised accounts.
  • Be able to explain why synchronized clocks support event correlation and what successful software-signature verification does—and does not—prove.
Official sourceOfficial exam page ↗