EC-Council · CEH
Validates proficiency in ethical hacking techniques and tools across 20 security domains, including reconnaissance, network scanning, vulnerability analysis, system hacking, malware threats, social engineering, web application attacks, SQL injection, cryptography, and cloud and IoT security.
Practice Questions
594
≈ 4 practice exams
Duration
240 minutes
Passing Score
70%
Difficulty
AssociateLast Updated
Feb 2026
This Certified Ethical Hacker practice test helps you review reconnaissance, scanning, enumeration, exploitation concepts, web application attacks, malware, wireless security, cloud security, and defensive countermeasures. The goal is to improve your ability to identify the right technique or tool from a scenario, not simply remember labels.
Use the free questions to benchmark your starting point, then practice in focused sessions by reviewing every explanation after submission. CEH preparation benefits from repetition because many answer choices are close; understanding why the wrong options fail is essential for raising your score.
The Certified Ethical Hacker (CEH), now in its 13th version (CEH v13), is EC-Council's flagship offensive security certification that validates a professional's ability to identify, exploit, and remediate vulnerabilities using the same tools and techniques as malicious hackers — but within a lawful, authorized context. Spanning 20 security domains and over 550 attack techniques, CEH v13 covers the full spectrum of ethical hacking methodology: from footprinting and reconnaissance through system hacking, malware analysis, social engineering, web application attacks, SQL injection, wireless network exploitation, and cloud and IoT security. The curriculum also integrates AI-driven hacking techniques, making CEH v13 the first ethical hacking certification to incorporate AI and machine learning as core competencies. Launched in September 2024, CEH v13 reflects the evolving threat landscape with updated modules on cloud environments (AWS, Azure), OT/ICS systems, and AI-powered offensive tools. The certification is globally recognized, listed on the U.S. Department of Defense (DoD) Approved Baseline Certifications list (DoD 8570/8140), and is administered through EC-Council's exam code 312-50.
CEH is designed for mid-career IT and security professionals who want to formalize and validate their offensive security knowledge. Primary target roles include penetration testers, security analysts, SOC analysts, network security engineers, security auditors, security consultants, and IT managers responsible for defensive strategy. Candidates typically have a background in networking, operating systems, or system administration and are looking to transition into or advance within offensive and red-team security roles. The certification is also widely pursued by professionals in government, defense contracting, and financial services who need credentials recognized by the DoD or regulated-industry compliance frameworks.
EC-Council does not enforce a formal degree requirement, but candidates must satisfy one of two eligibility paths. The first path requires completing an official EC-Council-accredited CEH training course, after which the candidate is automatically eligible to sit the exam. The second path allows self-study candidates with at least two years of verifiable information security work experience to apply directly by submitting an eligibility application form and paying a $100 non-refundable fee for EC-Council review. Regardless of path, candidates are strongly expected to have working knowledge of TCP/IP networking, Windows and Linux operating systems, and foundational security concepts. Familiarity with tools such as Nmap, Wireshark, and Metasploit is practically necessary to succeed on both the knowledge exam and the optional practical exam.
The CEH knowledge exam (exam code 312-50) consists of 125 multiple-choice questions to be completed in 240 minutes (4 hours). Questions are a mix of knowledge-based and scenario-based multiple-choice items. The exam is delivered either online via remote proctoring through EC-Council's portal or in person at Pearson VUE testing centers worldwide. Scoring uses a scaled model, meaning the exact passing threshold varies by exam form difficulty — typically falling between 60% and 85%, with approximately 70% as a general benchmark. The certification is valid for three years, after which holders must earn 120 EC-Council Continuing Education (ECE) credits or retake the exam. Separately, EC-Council offers the CEH Practical, a 6-hour, 20-challenge hands-on exam conducted in a live cyber range; passing both the knowledge exam and the practical earns the CEH Master designation.
The CEH certification is one of the most widely recognized offensive security credentials globally, directly qualifying holders for roles such as penetration tester, security analyst, cybersecurity engineer, SOC analyst, security consultant, and information security manager. Salary data from PayScale and Glassdoor indicates CEH-certified professionals earn an average base salary ranging from approximately $86,000 to over $147,000 in the United States, with penetration testers typically earning $95,000–$145,000 and information security managers reaching $90,000–$175,000. CEH holders who transition from network administration roles report salary increases of up to 54% according to EC-Council data. The certification's inclusion on the U.S. Department of Defense Approved Baseline Certifications list (DoD 8570/8140) makes it a mandatory or strongly preferred credential for government, military, and defense contractor positions — an advantage not shared by many competing certifications. Compared to alternatives like CompTIA PenTest+ (entry-level) or OSCP (more hands-on/advanced), CEH occupies a well-recognized middle ground that balances breadth of knowledge with industry name recognition, making it particularly effective for professionals entering or advancing within offensive security who need a credential that resonates with HR and hiring managers across both the public and private sectors.
5 sample questions with answers and explanations. The full bank has 594 questions, enough for 4 full-length practice exams.
Preview — answers shown1. A penetration tester successfully gains initial access to a network and wants to perform lateral movement by creating a pivot point. Using Meterpreter, they need to forward local port 3389 to an internal server at 10.10.10.50 to enable RDP access. Which command accomplishes this port forwarding? (Select one!)
Explanation
The correct Meterpreter syntax for port forwarding is: portfwd add -l [local port] -p [remote port] -r [remote host]. This creates a local listener that forwards traffic to the specified remote host and port through the compromised system. The -L syntax resembles SSH port forwarding but is not valid in Meterpreter. There is no forward command in Meterpreter; the correct command is portfwd. The pivot command does not exist in Meterpreter; pivoting is accomplished through route and portfwd commands.
2. During an Android penetration test, a security researcher uses ADB to connect to a rooted device and wants to examine the application's local database for stored credentials. Where is the SQLite database typically located? (Select one!)
Explanation
Android applications store SQLite databases in the /data/data/com.package.name/databases/ directory within the application's private data directory. This requires root access to examine as normal users cannot access other applications' private data. The /sdcard/Android/data/ directory contains external storage accessible without root but typically does not hold sensitive databases. The /system/app/ directory contains system application APKs, not user data. The /data/app/ directory contains APK files and libraries, not runtime databases. Application sandboxing protects the /data/data/ directory from unauthorized access.
3. During enumeration, a penetration tester uses enum4linux to extract information from a Windows domain controller. Which command extracts the password policy including minimum password length and lockout thresholds? (Select one!)
Explanation
The -P flag in enum4linux specifically extracts password policy information from SMB/Samba systems, including minimum password length, password complexity requirements, lockout thresholds, and lockout duration. The -U flag enumerates users, -S enumerates shares, and -G enumerates groups. Password policy information is critical for attackers planning brute-force or password-spraying attacks, as it reveals how many failed attempts trigger account lockout and what password complexity requirements must be met.
4. A penetration tester is performing reconnaissance on a target organization. They need to identify all subdomains and email addresses associated with the target domain example.com without directly interacting with the target's infrastructure. Which tool should they use to gather this information from multiple public sources? (Select one!)
Explanation
theHarvester is specifically designed for passive reconnaissance and OSINT gathering from multiple sources including search engines, Shodan, and certificate transparency logs. The -b all flag queries all available data sources without directly contacting the target infrastructure. Nmap performs active scanning with direct target interaction. Nikto is a web vulnerability scanner requiring direct connection to web servers. Wireshark captures network traffic but does not perform reconnaissance gathering from public sources.
5. During a penetration test of an industrial control system, the tester identifies a Modbus TCP service running on port 502 without authentication. The tester wants to read holding registers from a PLC to understand the process control values. Which tool and command syntax should the tester use to safely interact with the Modbus service without disrupting operations? (Select one!)
Explanation
Passive traffic capture using Wireshark with the Modbus protocol dissector is the safest approach for initial reconnaissance of industrial control systems. This method observes existing legitimate traffic without sending any commands that could potentially disrupt operations, trigger safety systems, or alter process control values. The Metasploit modbusdetect module sends active probes which could affect operations. Using modbus-cli to read registers is an active operation that could potentially interfere with real-time control. Nmap scripts send packets to discover function codes, which is active scanning unsuitable for production ICS environments where safety is critical.
Certified SOC Analyst (CSA)
CSA · 570 questions
Certified Threat Intelligence Analyst (CTIA)
CTIA · 740 questions
Certified Chief Information Security Officer (CCISO)
CCISO · 578 questions
Certified EC-Council Instructor (CEI)
CEI · 611 questions
Computer Hacking Forensic Investigator (CHFI)
CHFI · 589 questions
Certified Cloud Security Engineer (CCSE)
CCSE · 624 questions
$17.99
One-time access to this exam