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

Free CertiProf Ethical Hacking Professional Certification Exam CEHPC Exam Questions

Last updated: · 11 practice questions with answers and explanations

Page: 1 / 13 Total 125 questions

Want more questions? Get Premium Access.

Question 1

New Single answer

Topic: Fundamentals of Pentesting and Ethical Hacking

Skill tested: Selects an appropriate pentesting phase sequence and distinguishes frameworks from techniques.

A retailer has authorized an external assessment of its customer portal. The team has signed rules of engagement, but a project lead proposes beginning with exploitation because the scope and target domain are already known. The assessment must follow a defensible workflow, use OWASP guidance for web application testing, and use MITRE ATT&CK to describe observed adversary behaviors. Which plan best meets these requirements?

Correct Answer: B. Perform reconnaissance and scanning, analyze vulnerabilities, exploit only authorized findings, then document results; use OWASP testing guidance and ATT&CK behavior mapping for their respective purposes.
Explanation:

A sound assessment moves from authorization and planning through information gathering, analysis, controlled validation or exploitation, and reporting. The stated engagement already has authorization, so reconnaissance and scanning should precede vulnerability analysis and exploitation. OWASP provides web application security testing guidance, while MITRE ATT&CK organizes adversary tactics and techniques; neither replaces the engagement workflow or rules of engagement. Beginning with exploitation reverses the logical sequence, and the other choices mischaracterize the frameworks or put reporting before evidence collection.

Question 2

New Multiple answers

Topic: Social Engineering

Skill tested: Classifies social-engineering scenarios and selects controls matched to the manipulation method.

A finance department receives three reports during an authorized awareness exercise: an employee is pressured by a caller pretending to be the CFO to approve an urgent transfer; a visitor follows an employee through a badge-controlled door without presenting credentials; and staff receive targeted messages tailored to their job responsibilities that direct them to a counterfeit sign-in page. The organization wants controls that address the specific risks without relying only on annual awareness training. Which THREE control-and-threat pairings are most appropriate? Select THREE.

Correct Answer: A. For targeted counterfeit sign-in messages, use phishing-resistant multifactor authentication and a user-reported-message process.; B. For the impersonating caller, require an independent callback to a verified number and dual approval for transfers.; C. For unauthorized entry behind an employee, enforce anti-tailgating procedures and require each person to badge through controlled access.
Explanation:

The caller uses pretexting or impersonation to induce a financial action, so a verified callback and dual authorization disrupt the requested transaction. Following an employee through a controlled door is tailgating; individual badge checks and anti-tailgating controls address that physical attack. Tailored deceptive messages are spear phishing, for which phishing-resistant MFA reduces the impact of stolen credentials and reporting supports response. Email authentication does not prevent physical entry, and a web application firewall does not validate callers or financial approvals.

Question 3

New Single answer

Topic: Active and Passive Reconnaissance

Skill tested: Distinguishes passive domain footprinting from reconnaissance that directly queries target systems.

An assessment team is preparing an external footprint of an organization. The rules permit passive research and DNS queries to public infrastructure, but prohibit sending probes directly to the organization's hosts until the next phase. The team needs registration details, published DNS records, publicly indexed exposed files, and evidence of internet-facing services. Which workflow stays within the stated boundary while gathering those categories of information?

Correct Answer: A. Query WHOIS and public DNS, use search-engine operators for indexed material, and review Shodan's existing indexed observations; defer direct port probes against the organization's addresses.
Explanation:

WHOIS lookups, public DNS queries, search-engine indexing, and review of Shodan's already-collected observations can support footprinting without directly probing the organization's hosts. A direct Nmap scan sends packets to target systems and is active reconnaissance even when using a SYN scan. Initiating scans through another service and attempting zone transfers are not passive substitutes and may exceed the permitted boundary. Visiting hosts and submitting requests also communicates directly with them, regardless of whether authentication is involved.

Question 4

New Multiple answers

Topic: Network Scanning and Analysis

Skill tested: Interprets TCP handshake behavior and selects Nmap scan types suited to authorized discovery.

A consultant is building an isolated Kali Linux and Metasploitable training lab before conducting an authorized internal scan. The lab host is reachable, and the consultant needs to explain TCP connection establishment and distinguish host discovery, port scanning, and service identification. The network interface has permission to send raw packets, and the goal is to identify open TCP ports and their services without treating a completed connection as proof of a vulnerability. Which THREE statements are accurate? Select THREE.

Correct Answer: A. An authorized command such as `nmap -sS -sV ` combines a TCP SYN scan with service/version detection; it does not by itself prove that a service is vulnerable.; C. A normal TCP handshake uses SYN, SYN-ACK, and ACK; a SYN scan commonly treats SYN-ACK as evidence of an open port without completing that handshake.; D. A TCP connect scan (`-sT`) completes the operating-system TCP connection, making it useful when raw-packet privileges are unavailable.
Explanation:

TCP establishes a connection with SYN, SYN-ACK, and ACK. Nmap's SYN scan generally sends a SYN and infers an open port from a SYN-ACK, then resets rather than completing the connection. `-sV` adds service/version probing, which identifies service characteristics but is not vulnerability proof. A connect scan uses the operating system's connect call and is a practical fallback without raw-packet privileges. Host discovery does not establish which ports listen, and FIN-scan behavior varies by TCP implementation; it does not reliably return SYN-ACK from open ports.

Question 5

New Single answer

Topic: Vulnerability Analysis

Skill tested: Corroborates scanner findings with targeted Nmap scripts and interprets CVSS appropriately.

A vulnerability analyst has a Nessus finding that an internal server may expose an outdated network service. The finding has a high CVSS base score, but the service banner is inconclusive and the asset owner requires validation before remediation is scheduled. The analyst is authorized to probe the host, but must avoid broad exploit attempts and distinguish severity scoring from proof that the specific host is exploitable. What is the best next step?

Correct Answer: D. Run a targeted Nmap service/version probe and an applicable safe NSE detection script, then compare the observed service and response with the scanner finding.
Explanation:

A targeted service/version probe and relevant non-intrusive Nmap Scripting Engine check can help corroborate whether the suspected service and condition are present, while avoiding an unnecessary exploit attempt. CVSS communicates severity using defined scoring metrics; it does not prove that a particular host is vulnerable or exploitable. ZAP is designed for web application testing rather than validating arbitrary network services. Suppressing a finding based only on a severity threshold discards potentially important evidence instead of validating it.

Question 6

New Single answer

Topic: Exploitation

Skill tested: Uses Metasploit module information and payload configuration to validate an authorized exploit safely.

In an isolated Metasploitable lab, a tester has identified a service version that may match a Metasploit exploit module. The engagement requires the tester to verify module prerequisites, set the target and payload deliberately, and obtain a Meterpreter session only if the service is genuinely vulnerable. The tester must not assume that a search result guarantees compatibility. Which workflow is most appropriate?

Correct Answer: A. Use `search` and `info` to review the module and target requirements, configure the authorized target and compatible payload, check required options, then run and verify the session before interacting with it.
Explanation:

Metasploit search results identify candidate modules, but `info` and the module's options are needed to assess target compatibility and prerequisites. The tester should configure the authorized host and a compatible payload, verify required settings, and then execute the module. A successful run must be confirmed by an actual session before Meterpreter commands are used. Defaults may target the wrong system or payload, console output alone does not establish a session, and `sessions -i` interacts with an existing session rather than creating one.

Question 7

New Multiple answers

Topic: Attack Techniques

Skill tested: Matches common attack techniques with effective preventive controls and operational safeguards.

A small enterprise is reviewing a recent incident involving a password spray against remote accounts, a malicious attachment that encrypted shared files, and an on-path interception risk on an untrusted wireless network. The company has limited security staff, cannot disable remote access, and wants controls that reduce both likelihood and impact. Which THREE control selections directly address these attack techniques? Select THREE.

Correct Answer: A. Maintain tested offline or immutable backups and use endpoint controls to restrict and detect unauthorized file encryption.; B. Use authenticated, encrypted wireless access and HTTPS or a trusted VPN for sensitive traffic on untrusted networks.; D. Use phishing-resistant MFA and rate-limited, monitored authentication controls for remote accounts to reduce password-spray success.
Explanation:

MFA makes a guessed password insufficient on its own, while rate limiting and monitoring help detect or constrain password spraying. Tested offline or immutable backups support recovery from ransomware, and endpoint controls can reduce or detect mass file modification. Authenticated encryption and protected application traffic reduce exposure to on-path interception. NAT does not stop a malicious attachment from executing after delivery, and stronger passwords without attempt controls or reuse prevention leave password-spray risk largely unaddressed.

Question 8

New Single answer

Topic: Attack Techniques

Skill tested: Selects a defensive response to SQL injection based on safe query construction.

A web application team discovers that an inventory search endpoint concatenates a user-supplied product identifier directly into a SQL statement. A web application firewall blocks several observed payloads, but developers need a durable remediation that does not depend on recognizing every malicious string. The application must continue supporting legitimate search filters, and the team wants to minimize the database account's potential impact if another flaw remains. Which change is the best primary fix?

Correct Answer: B. Use parameterized queries for user-supplied values and grant the application database account only the permissions required for its functions.
Explanation:

Parameterized queries separate SQL structure from user-supplied values, preventing those values from being interpreted as executable SQL syntax. Least-privilege database permissions reduce the damage possible if an injection or another application flaw is exploited. A WAF can provide defense in depth but cannot reliably replace safe query construction. Manual escaping is error-prone and broad database privileges increase impact. Encryption at rest does not prevent injection, while disabling audit logging removes useful detection and investigation evidence.

Question 9

New Single answer

Topic: Results Reporting

Skill tested: Translates verified technical findings into prioritized executive and technical reporting.

An assessment of a logistics provider found an externally reachable management interface with a verified authentication weakness. The technical team has evidence, affected asset details, and a practical remediation path. Executives need to make a risk decision, while system administrators need steps they can implement and validate. The report must avoid overstating impact because the team did not access customer data. Which reporting approach best serves both audiences?

Correct Answer: C. Provide executives with a concise business-impact and risk-priority summary, and provide administrators with evidence, affected assets, reproducible validation details, and prioritized remediation and retest guidance.
Explanation:

Executive reporting should communicate business-relevant risk, priority, and decisions without requiring readers to interpret raw technical evidence. The technical report should let administrators understand the affected assets, reproduce the verified condition, apply a concrete mitigation, and confirm the fix through retesting. Claiming data theft would exceed the evidence, while identical raw output does not meet the needs of both audiences. Omitting a verified weakness because data access was not demonstrated understates risk and leaves no actionable remediation plan.

Question 10

New Multiple answers

Topic: Fundamentals of Pentesting and Ethical Hacking

Skill tested: Maps security technologies to preventive, detective, and corrective control purposes.

A healthcare provider is revising its assessment plan and wants the team to distinguish technologies by their primary security-control function. The provider already has perimeter filtering and endpoint protection, but it needs to identify which tools primarily detect suspicious activity and which mechanism restores availability after destructive incidents. The team must avoid treating a scanner or a preventive control as a substitute for monitoring and recovery. Which THREE mappings are accurate? Select THREE.

Correct Answer: A. An IDS primarily detects and alerts on suspicious network activity; it does not inherently block traffic.; B. A vulnerability scanner identifies potential weaknesses for analysis and remediation; it does not itself prove exploitation.; E. Tested backups provide a recovery capability that can restore data or systems after destructive incidents.
Explanation:

An intrusion detection system is primarily a detection control: it observes activity and generates alerts, whereas blocking is associated with prevention or intrusion prevention capabilities. Vulnerability scanners identify potential weaknesses that require review and validation; scanning is not proof that an exploit succeeded. Tested backups support recovery after data loss or destructive malware. A firewall filters traffic rather than restoring files, and endpoint antivirus cannot guarantee detection of all threats or replace monitoring and recovery controls.

Question 11

New Single answer

Topic: Active and Passive Reconnaissance

Skill tested: Uses DNS records and search-engine operators to investigate a domain within scope.

During the passive-information phase of an authorized domain assessment, an analyst must identify publicly published mail-routing information and locate files indexed by a search engine that may have been unintentionally exposed. Direct requests to discovered web servers are not yet approved. The analyst wants to preserve the boundary while producing reproducible evidence of the observations. Which approach is most appropriate?

Correct Answer: D. Query the domain's public MX records and use search-engine operators such as `site:example.com filetype:pdf`; record indexed results without opening the discovered files on the target.
Explanation:

A public MX lookup reveals published mail-exchange records, and a search operator can identify material already indexed by the search engine. Recording search results without directly retrieving the target-hosted files respects the stated reconnaissance boundary. Downloading files directly contacts the organization's server and is active interaction. Zone-transfer attempts and directory brute forcing also send probes to target infrastructure, while Nmap scanning is active and DNS can indeed reveal mail-routing information.