Limited-Time Offer: Enjoy 50% Savings! Coupon code: 50OFF Use it at checkout
Skip to content

Free GAQM Certified Professional Ethical Hacker (CPEH) Exam CPEH-001 Exam Questions

Last updated: · 12 practice questions with answers and explanations

Page: 1 / 59 Total 877 questions

Want more questions? Get Premium Access.

Question 1

New Single answer

Topic: Module Information - 1

Skill tested: Selects passive information-gathering methods that minimize target interaction.

An authorized assessment team is preparing a report on a regional supplier. The rules of engagement permit public-source research but prohibit sending packets to the supplier's network until a later test window. The team needs to identify likely employee email formats and technology references associated with the supplier's public-facing web properties. Which approach best satisfies the current authorization boundary while producing useful leads for the later active phase?

Correct Answer: A. Review public search results, archived pages, certificate transparency data, and published documents without contacting supplier systems.
Explanation:

Public search results, archived content, certificate transparency records, and published documents can provide organizational and technology clues without probing the supplier's network. That respects the explicit prohibition on sending packets to target systems. A TCP scan and direct DNS queries interact with supplier infrastructure, while crafted email messages contact employees and could constitute social engineering. Passive findings should be documented as leads, not treated as confirmation that a service is currently exposed.

Question 2

New Multiple answers

Topic: Module Information - 1

Skill tested: Plans low-impact port scans that distinguish host discovery from service enumeration.

During an approved internal assessment, a network team requires discovery of active systems and TCP services on a production subnet. The assessment window is short, and fragile industrial devices must not receive intrusive probes. The assessor must also avoid treating systems that do not answer ICMP as absent. Which two actions best meet these requirements? Select TWO.

Correct Answer: D. Use a TCP SYN scan with a conservative probe rate and service/version detection limited to discovered ports.; E. Use TCP-based host discovery where permitted, then scan selected TCP ports at a rate agreed with system owners.
Explanation:

A conservative SYN scan can identify listening TCP ports without completing every TCP connection, and narrowly scoped service detection can characterize only discovered services. TCP-based host discovery also avoids relying solely on ICMP, which may be filtered. The rate and scope should be agreed with owners because even authorized scans can affect fragile devices. ICMP-only discovery and UDP silence can produce false negatives, while high-rate all-port scanning and aggressive scripts unnecessarily increase operational risk.

Question 3

New Single answer

Topic: Module Information - 1

Skill tested: Prioritizes vulnerability findings using exploitability, exposure, and business impact.

A vulnerability assessment produces three findings for a company's customer portal: a critical remote code execution flaw on an internet-facing server, a high-severity issue on an isolated test host containing synthetic data, and a medium-severity configuration weakness on a production database reachable only from a restricted application subnet. The team has one day to validate findings before the remediation meeting. Which finding should it validate first, assuming validation can be performed safely and within the rules of engagement?

Correct Answer: B. The portal's remote code execution finding, because it combines high impact, practical exposure, and potentially severe exploitability.
Explanation:

Prioritization should consider more than a scanner's severity label. An internet-facing remote code execution flaw combines broad exposure with the potential for direct system compromise, making it the most urgent candidate for safe validation and rapid escalation. The isolated test system has synthetic data and limited exposure, while the database issue is restricted by network controls and has a medium rating. Numerical severity alone is useful but does not replace asset context, reachability, and exploitability.

Question 4

New Single answer

Topic: Module Information - 1

Skill tested: Uses packet-capture evidence to identify plaintext credential exposure and recommend mitigation.

A security assessor reviews an authorized packet capture from a legacy office segment. The capture shows a workstation exchanging readable usernames and passwords with an internal service; the traffic is not encrypted, and the application owner confirms that the credentials are valid beyond this service. The assessor must recommend the most direct risk-reduction action without disrupting the service before a scheduled migration. What should be recommended first?

Correct Answer: C. Rotate the exposed credentials, restrict access to the segment, and require an encrypted authentication path as the migration target.
Explanation:

Readable credentials in captured traffic are exposed regardless of whether the assessor collected the evidence; stopping the capture does not remove the underlying weakness. Rotating credentials limits continued use of already exposed secrets, and restricting segment access reduces who can observe the traffic. The durable fix is an encrypted authentication path, coordinated with the planned migration. Changing ports does not encrypt data, and collecting more packets before containment extends exposure without addressing the risk.

Question 5

New Multiple answers

Topic: Module Information - 2

Skill tested: Controls exploit validation to prove impact without causing unauthorized system changes.

An assessor has written authorization to validate a suspected remote command-execution flaw on a production server. The rules prohibit persistence, data alteration, denial of service, and access to customer records. The finding must be demonstrated convincingly to the system owner, but the server supports a time-sensitive business process. Which two validation practices are most appropriate? Select TWO.

Correct Answer: D. Use a narrowly scoped, non-destructive proof that demonstrates controlled command execution and stop after obtaining minimal evidence.; E. Agree on a test window and monitoring contact, then preserve timestamps and minimal redacted evidence.
Explanation:

A minimal non-destructive proof establishes exploitability while honoring the ban on persistence and data changes. Coordinating a test window and contact reduces the chance that legitimate monitoring or operations will misinterpret test activity, and contemporaneous, redacted evidence supports a defensible report. A persistent agent violates the rules, destructive payloads risk availability and integrity, and reading customer records exceeds the stated limit when command execution can be demonstrated without accessing them.

Question 6

New Single answer

Topic: Module Information - 2

Skill tested: Distinguishes client-side exploit indicators from server-side vulnerability evidence.

A company's help desk reports that several employees received a convincing document from an external sender. One employee opened it, and endpoint telemetry recorded a child process launched by the document viewer. The web server hosting the company's public site shows no corresponding errors or unusual requests. The assessment team is authorized to investigate but must not execute the document again on employee devices. What is the best next step to establish the likely client-side attack path?

Correct Answer: D. Examine the original message, document metadata, endpoint process telemetry, and a safely handled sample in an isolated analysis environment.
Explanation:

The reported execution chain and document delivery point to a client-side vector, not necessarily a flaw in the public web server. Correlating message headers, document metadata, and endpoint process events can identify how the file arrived and what it attempted to do. Any sample analysis should occur in an isolated environment with appropriate handling controls. Reopening the file on a production workstation creates avoidable risk, while testing an unrelated server or disabling telemetry does not investigate the observed evidence.

Question 7

New Single answer

Topic: Module Information - 2

Skill tested: Preserves evidence and limits access during authorized post-exploitation validation.

While validating an authorized compromise of a corporate workstation, an assessor finds that the logged-in user's profile contains files that may include personal and regulated information. The engagement permits proof of access but prohibits collecting unrelated content. The system owner asks the assessor to continue far enough to establish the account's effective privileges and then stop. What is the most appropriate course of action?

Correct Answer: A. Use the least intrusive checks needed to establish effective privileges, avoid opening unrelated files, and record minimal evidence with timestamps.
Explanation:

Post-exploitation validation must stay within the authorized objective and minimize exposure of sensitive information. Limited privilege checks can establish the requested impact without collecting unrelated files, and timestamps plus concise evidence support later review. Copying a whole profile and searching all drives exceed the scope and unnecessarily handle potentially regulated data. Deleting files would alter evidence and system state; containment or remediation should be coordinated with the owner under the engagement plan.

Question 8

New Multiple answers

Topic: Module Information - 2

Skill tested: Applies wireless assessment controls to isolate testing and prevent unintended client impact.

A retailer authorizes a wireless assessment in one branch during a maintenance window. The assessor must evaluate the company's WPA2-Enterprise deployment, but nearby customer networks and employee devices must not be disrupted or drawn into a test network. The organization also requires an auditable record of any authentication testing. Which two actions best satisfy these constraints? Select TWO.

Correct Answer: C. Coordinate the test window, document the test client and actions, and monitor for unintended association or service impact.; D. Confirm the in-scope SSIDs and access points with the owner, and use a controlled test client and approved test credentials.
Explanation:

Wireless signals extend beyond organizational boundaries, so scope must be defined by the approved SSIDs and access points rather than physical proximity. A controlled test client and approved credentials keep authentication testing bounded; coordination and documentation provide an audit trail and allow rapid response to unintended effects. A high-power look-alike network can attract unrelated devices, capturing neighboring traffic exceeds authorization, and lockout-based guessing risks account availability and is not a controlled validation method.

Question 9

New Single answer

Topic: Module Information - 2

Skill tested: Recognizes social-engineering controls that reduce credential disclosure and verify requests.

A finance employee receives a phone call from someone claiming to be an executive who needs an urgent supplier payment. The caller knows internal project details and pressures the employee to bypass the normal approval workflow. The company is running an authorized social-engineering awareness exercise, but the assessor's objective is to evaluate process resilience without collecting real passwords or initiating a real transfer. Which exercise design best meets that objective?

Correct Answer: D. Use a simulated request that directs the employee to the normal verification and approval process, recording only whether controls were followed.
Explanation:

A safe exercise can evaluate whether staff independently verify an urgent request and follow established approvals without harvesting credentials or moving funds. Recording control adherence provides useful evidence while minimizing personal and business impact. Asking for a real password collects sensitive authentication data, even if the exercise is later stopped. An actual payment creates financial risk, and requesting that MFA be disabled directly encourages a harmful security bypass.

Question 10

New Single answer

Topic: Module Information - 3

Skill tested: Evaluates password-storage and authentication controls against offline cracking risk.

A web application review finds that the user database stores password verifiers using a fast general-purpose hash with a unique salt per account. The application owner says the database is backed up securely and asks whether that is sufficient protection if a backup is stolen. The service must continue to support user passwords, and the team wants a practical improvement that raises the cost of offline guessing. Which recommendation is best?

Correct Answer: D. Use a password-hashing function designed for password storage, with per-password salts and an appropriately tuned work factor.
Explanation:

A purpose-built password-hashing function with unique salts and a suitable work factor makes large-scale offline guessing more expensive after a database exposure. The work factor should be measured against the service's performance requirements and reviewed as hardware changes. A fast hash favors attackers, while reversible encryption creates a key-management problem and storing the key with the backup defeats its protection. Removing salts reveals password reuse patterns and enables precomputed attacks.

Question 11

New Multiple answers

Topic: Module Information - 3

Skill tested: Identifies web-application controls that prevent injection and cross-site scripting flaws.

A public web application accepts search terms and displays the submitted value in a results page. An assessment finds that database queries are assembled by concatenating input, and the page inserts the same input into HTML without context-sensitive handling. The development team must address both observed classes of weakness while preserving the existing search behavior. Which two changes are most appropriate? Select TWO.

Correct Answer: A. Use parameterized database queries for the search term rather than concatenating it into SQL.; B. Apply context-appropriate output encoding when rendering the search term in the page.
Explanation:

Parameterized queries keep user data separate from SQL syntax, addressing the injection risk without relying on fragile character filtering. Context-appropriate output encoding prevents untrusted input from being interpreted as executable markup or script when rendered. Hiding database errors may reduce information disclosure but does not prevent injection; a firewall is not a substitute for application-layer controls. Blanket punctuation rejection can impair legitimate searches and still fails to establish safe query construction or rendering.

Question 12

New Single answer

Topic: Module Information - 3

Skill tested: Plans post-assessment recovery that preserves evidence and restores approved system state.

An authorized assessment of a staging application used a temporary test account and created a clearly labeled test file to demonstrate a file-write weakness. Testing is complete, and the application owner asks the assessor to close out the work without removing evidence needed for the final report or leaving unnecessary access behind. The staging environment is shared by several teams. What should the assessor do next?

Correct Answer: A. Document the test artifacts and findings, coordinate their removal or disablement with the owner, and verify the approved cleanup.
Explanation:

A controlled closeout records what the assessment changed, preserves the evidence needed for reporting, and coordinates cleanup with the owner responsible for a shared environment. Verifying removal or disablement confirms that the temporary account and test file no longer create unnecessary exposure. Immediate undocumented deletion can destroy useful evidence, leaving artifacts behind creates avoidable risk, and broad cleanup could remove legitimate work belonging to other teams.