Exam Information
Free practice questions with explanations
Eccouncil 312-50 Practice Questions
Answer a question to see the correct answer and the explanation, or click Show answer. Newest questions first.
- Questions
- 18
- Answered
- 0
- Correct
- 0
- Score
- -
-
1 Question 1 Single choice Reconnaissance Techniques
A penetration tester is authorised to assess a regional bank's external footprint. The client has asked that no traffic be sent directly to the bank's infrastructure during the initial reconnaissance phase, because the bank's SOC monitors all inbound connections and the engagement must remain stealthy until the scanning window opens next week. The tester needs the list of subdomains, mail servers, and DNS records for the target domain. Which approach best meets these constraints?
Correct Answer: CExplanationCertificate transparency logs and passive DNS sources let the tester build a subdomain and mail-server inventory without sending any packets to the target's own infrastructure, which satisfies the no-direct-traffic constraint. Zone transfer attempts and brute-force queries both hit the bank's authoritative name servers directly and would be logged. The nmap host sweep is active scanning of the target's address space and is explicitly prohibited until the scanning window. Resolving records through public resolvers keeps the queries off the bank's servers entirely.
-
2 Question 2 Single choice Cryptography
A healthcare provider uses full-disk encryption on laptops managed by Microsoft Intune. An auditor notes that the recovery keys are stored in Active Directory and that several helpdesk technicians can retrieve them. The provider must keep the ability to recover locked devices for clinicians, but the technicians must not be able to decrypt a stolen device without a second approver. The provider also wants to avoid replacing its existing BitLocker deployment. Which change best satisfies these requirements?
Correct Answer: CExplanationBitLocker recovery keys can be escrowed to Azure AD and, combined with role-based access in the BitLocker administration and monitoring model, restricted so that only designated roles can view them, which keeps the existing BitLocker deployment intact. Moving to VeraCrypt violates the no-replacement constraint and shifts key handling to a shared vault. TPM-only protection removes the recovery path clinicians need and still leaves the disk protected only by the hardware binding. EFS does not provide whole-disk protection and would also require replacing the current deployment.
-
3 Question 3 Single choice Information Security and Ethical Hacking Overview
A security consultant is drafting the rules of engagement for a red team test against a manufacturing company that is subject to a contract requiring that no production systems be disrupted and that personal data handled during testing be minimised. The client's legal team asks which hacking methodology stage should carry the explicit written permission scope covering exfiltration of sample records. The consultant wants the scope tied to the stage where data is actually taken from the environment. Which stage should the rules of engagement specifically authorise for data exfiltration?
Correct Answer: CExplanationIn the common ethical hacking phases, data exfiltration is only achievable once a foothold and sufficient access rights have been obtained, so the authorisation for taking sample records belongs to the gaining access stage where that access is established and the scope can be limited to minimised samples. Reconnaissance only collects publicly available information and does not justify taking records. Maintaining access concerns persistence rather than the data-taking step, and covering tracks is a cleanup activity that should never be the stage that authorises data removal.
-
4 Question 4 Single choice Mobile Platform, IoT, and OT Hacking
A utility company operates a fleet of Android 13 handheld meter readers that are enrolled in an MDM solution using fully managed device mode. Field staff sometimes side-load a legacy diagnostic app that requires the unknown sources setting. The security team wants to prevent installation of unapproved APKs while keeping the devices usable offline, and the MDM must enforce the policy without requiring user action. Which configuration best meets these requirements?
Correct Answer: DExplanationIn fully managed mode the MDM can enforce the restriction that disallows installation from unknown sources, which removes the sideloading path without depending on user action, and the approved diagnostic app can be delivered through the managed Play store. Play Protect scans but does not prevent the user from enabling unknown sources, so it fails the enforcement requirement. A third-party threat defence agent adds cost and an extra dependency that the scenario does not ask for and does not control the Android install setting. A manual checklist relies on user action, which the scenario explicitly rules out.
-
5 Question 5 Single choice Network and Perimeter Hacking
A retail company's flat corporate network was recently found to be susceptible to man-in-the-middle attacks on its wired segment. An attacker gained a foothold on a guest port and poisoned the ARP caches of workstations to intercept traffic to the payment gateway. The network team must stop the poisoning with minimal disruption, keep the existing DHCP server in use, and avoid a full VLAN redesign this quarter. Which control is the most appropriate first step?
Correct Answer: BExplanationDynamic ARP Inspection validates ARP packets against a binding table, and that table is commonly populated from DHCP snooping, so it blocks forged ARP replies on access switches without redesigning VLANs or changing the DHCP server. Static ARP entries on every endpoint are operationally heavy and do not scale for a flat network. Port security with a MAC limit does not stop an attacker from sending spoofed ARP replies from its own legitimate MAC address. 802.1X is a sound long-term control but requires certificate infrastructure and endpoint changes that exceed the first-step, minimal-disruption requirement.
-
6 Question 6 Single choice Web Application Hacking
A SaaS company runs a Node.js API behind a reverse proxy. A penetration tester reports that the login endpoint can be brute-forced because a successful reset flow returns different responses for valid and invalid usernames. The developers want a fix that also addresses the root cause of the username enumeration rather than only slowing the attack. The API must continue to support mobile clients that cannot be changed this sprint. Which remediation best fits?
Correct Answer: CExplanationThe root cause is differing responses that reveal account existence, so returning an identical generic response removes the enumeration signal, and gateway-level rate limiting with per-account lockout addresses the brute-force path without changing mobile clients. A CAPTCHA on the login page does not fix the reset endpoint leak and is inapplicable to API clients. Stronger password rules do not stop enumeration and do not prevent credential stuffing against existing weak passwords. A VPN requirement would break the customer-facing mobile use case the scenario requires.
-
7 Question 7 Single choice System Hacking Phases and Attack Techniques
During an authorised assessment, a tester gains a shell as a low-privileged user on a Linux file server. Local enumeration shows a SUID binary owned by root that calls an external program without an absolute path. The client prohibits any action that changes system binaries or leaves persistent modifications, and the report must demonstrate privilege escalation with evidence. Which action should the tester take next?
Correct Answer: DExplanationA root-owned SUID binary that invokes a program by relative name is vulnerable to PATH hijacking, and planting a controlled executable earlier in PATH lets the tester demonstrate escalation with a captured root context and evidence, then remove the artefact. Replacing the binary and editing sudoers both make persistent system modifications the client prohibited. A kernel exploit installing a rootkit is both persistent and deliberately evasive, which goes beyond the evidence-gathering scope and violates the rules.
-
8 Question 8 Single choice Sniffing
A university lab network uses a managed switch where a security analyst wants to detect ARP spoofing attempts from the wired side. The analyst has access to the switch's SPAN capability and a Linux monitoring host. The lab has a strict budget and cannot purchase a dedicated network sensor. Which detection approach is most appropriate?
Correct Answer: AExplanationMirroring traffic with SPAN to a monitoring host and running arpwatch, which records IP-to-MAC bindings and alerts on changes, is a low-cost way to detect ARP spoofing without new hardware. Host antivirus signatures do not identify ARP spoofing traffic. A service version scan does not observe ARP bindings and would not reveal a poisoned cache. Wake-on-LAN is a power-management feature and provides no mechanism for detecting MAC address changes.
-
9 Question 9 Single choice Cloud Computing
A fintech startup deploys a containerised microservice on a managed Kubernetes cluster. Security review finds the pod spec mounts the host's Docker socket and runs the container as root with privileged set to true. The team needs the service to keep its current functionality, and the compliance team requires that no container can escape to the node. Which change best reduces the risk while preserving operation?
Correct Answer: DExplanationRunning as non-root, dropping capabilities, setting allowPrivilegeEscalation to false, and removing the host Docker socket addresses the specific escape paths the review found, while the service can still run as long as it does not actually need host-level control. A dedicated node pool does not remove the escape path and leaves the node exposed. A read-only mount of the Docker socket still allows the container to query and control the runtime, so the escape risk remains. Image scanning and signing protect the supply chain but do not change the runtime privileges that enable escape.
-
10 Question 10 Single choice Footprinting and Scanning
A tester is performing a permitted external scan of a financial services firm that uses an intrusion prevention system. Initial SYN scans of the full port range are being blocked after a few hundred probes. The engagement permits service detection but requires that the scan not trigger the IPS's rate-based blocking, and the tester must still identify open services on common ports. Which scanning approach is the best next step?
Correct Answer: CExplanationA slower timing template combined with a restricted set of service ports and fragmentation spreads probes over time and avoids the burst pattern that rate-based IPS rules detect, which matches the requirement to identify services without triggering blocking. A full UDP scan at maximum speed generates even more traffic and would likely be flagged. A ICMP sweep does not identify services and is itself a detectable burst across the address space. An SNMP walk against a management interface is outside the permitted scope of external service identification and is not a reliable way to enumerate public listeners.
-
11 Question 11 Multiple choice Web Application Hacking
An e-commerce platform's SQL injection testing revealed that the search endpoint concatenates user input into a query. The development team has eight days to remediate before a compliance audit, and the application uses an ORM for most queries but one legacy report uses raw SQL with string formatting. The team must eliminate the injection path for that report and prevent recurrence across the codebase. Which TWO actions best meet these requirements? (Choose two.)
Correct Answer: A, EExplanationParameterised queries separate SQL code from data, which eliminates the injection path at its source and is the durable fix for the legacy report. Restricting the database account to the minimum SELECT privileges limits the damage from any remaining or future injection, which matches the requirement to prevent recurrence. A keyword-blocking WAF rule is easily bypassed through encoding and does not fix the code. Swapping quote characters does not neutralise injection because numeric and other contexts remain exploitable. Verbose errors in production leak schema information and make exploitation easier.
-
12 Question 12 Multiple choice Malware Threats
A mid-sized insurance firm's endpoint team suspects a fileless malware infection on several Windows workstations after noticing PowerShell processes with long encoded command lines spawned from Office applications. The team has an EDR product with memory inspection and script logging capabilities, and must confirm the infection and contain it without reimaging all machines before the quarter-end reporting deadline. Which TWO actions are most appropriate? (Choose two.)
Correct Answer: B, DExplanationPowerShell script block logging records the decoded content of scripts, which reveals the payload and retrieval source even though the malware is fileless. EDR-driven host isolation paired with memory capture contains the threat while preserving the volatile evidence needed for confirmation, avoiding unnecessary reimaging. Reimaging every workstation without confirmation is disproportionate and ignores the deadline constraint. Disabling antivirus removes a defensive layer and is never a sound containment step. Searching only for on-disk executables misses fileless malware, which by definition runs from memory or registry-based storage.
-
13 Question 13 Order list Information Security and Ethical Hacking Overview
A security team has been asked to assess a client's incident response readiness after a suspected intrusion into a payroll system. The engagement has signed authorisation and the client wants evidence preserved for possible legal action. Arrange the steps in the correct order.
Drag the steps into the correct order, or use the arrows.
- Create forensic images of affected systems and record hashes before any analysis
- Obtain written authorisation and define the scope and rules of engagement with the client
- Brief the client on findings and recommend remediation with evidence references
- Identify and document the suspected compromise indicators in the payroll environment
- Contain the affected segment while preserving volatile evidence and access logs
Correct Answer:- Obtain written authorisation and define the scope and rules of engagement with the client
- Create forensic images of affected systems and record hashes before any analysis
- Identify and document the suspected compromise indicators in the payroll environment
- Contain the affected segment while preserving volatile evidence and access logs
- Brief the client on findings and recommend remediation with evidence references
ExplanationAuthorisation and scope must come first so that all subsequent actions are lawful and bounded. Evidence should be preserved, with imaging and hashing done before analysis changes the state of the systems, and containment should not destroy volatile evidence. Indicators are documented after evidence is secured, and the findings and recommendations are delivered at the end with references to the preserved evidence.
-
14 Question 14 Order list Denial-of-Service
A cloud-hosted online ticketing company is hit by a volumetric DDoS attack that saturates its load balancers. The security team has an upstream scrubbing service on retainer and a runbook for activation. Arrange the steps in the order the team should perform them to restore service while preserving evidence for the provider.
Drag the steps into the correct order, or use the arrows.
- Enable the upstream scrubbing service and redirect the affected prefix through its scrubbing centre
- Confirm the attack pattern from flow telemetry and rule out a legitimate traffic spike
- Monitor service health and adjust mitigation thresholds to avoid blocking legitimate customers
- Capture representative attack traffic samples and export logs for the provider and forensic record
- Apply rate limiting and geographic filtering at the edge for the identified source ranges
Correct Answer:- Confirm the attack pattern from flow telemetry and rule out a legitimate traffic spike
- Enable the upstream scrubbing service and redirect the affected prefix through its scrubbing centre
- Capture representative attack traffic samples and export logs for the provider and forensic record
- Apply rate limiting and geographic filtering at the edge for the identified source ranges
- Monitor service health and adjust mitigation thresholds to avoid blocking legitimate customers
ExplanationConfirming the attack pattern first prevents mitigation against legitimate traffic that merely looks like an attack. Activating upstream scrubbing removes the volumetric load before fine-tuned edge controls are applied. Samples and logs are captured while the attack is active so that evidence is representative. Edge rate limiting and filtering refine mitigation once the attack profile is known, and monitoring then tunes thresholds so customers are not blocked.
-
15 Question 15 Drag and drop Cryptography
A financial software vendor is reviewing its cryptographic controls ahead of a compliance assessment. The team must align each control with the cryptographic purpose it serves. Match each requirement to the mechanism that meets it.
Drag each item onto its matching target. On a phone: tap an item, then tap a target.
Protect customer records stored in a database against disclosure to unauthorised readersVerify that a downloaded software update was not altered in transitBind a server's identity to its public key so clients can trust the TLS handshakeSalted hash of the password for storageX.509 certificate issued by a trusted certificate authorityDigital signature over the update packageHMAC keyed with a shared session secretSymmetric encryption of the stored recordsCorrect Answer:- Verify that a downloaded software update was not altered in transit → Digital signature over the update package
- Protect customer records stored in a database against disclosure to unauthorised readers → Symmetric encryption of the stored records
- Bind a server's identity to its public key so clients can trust the TLS handshake → X.509 certificate issued by a trusted certificate authority
ExplanationA digital signature provides integrity and origin authentication for the update, which the vendor can verify with its public key. Symmetric encryption protects confidentiality of stored data, provided the key is managed separately. An X.509 certificate from a trusted CA binds identity to a public key, which is what the TLS handshake depends on. Salted password hashing protects stored credentials rather than customer records, and an HMAC authenticates messages with a shared key but is not a public-key identity binding, so both are plausible but mismatched here.
-
16 Question 16 Drag and drop Mobile Platform, IoT, and OT Hacking
A water treatment operator is hardening its OT environment, where PLCs communicate with a SCADA historian across a segmented network. Engineers need to meet specific security objectives without disrupting real-time control. Match each requirement to the control that addresses it.
Drag each item onto its matching target. On a phone: tap an item, then tap a target.
Detect anomalous Modbus write commands on the control networkPrevent unauthorised commands from reaching PLCs from the business networkEnsure a compromised engineering workstation cannot push logic changes without approvalIndustrial DMZ with unidirectional or tightly filtered conduit to the control zoneReplacing PLCs with IT-grade servers running standard antivirusOT-aware network intrusion detection with protocol deep packet inspectionDisabling all PLC authentication to improve response timeChange control enforcement through PLC logic version approval workflowCorrect Answer:- Prevent unauthorised commands from reaching PLCs from the business network → Industrial DMZ with unidirectional or tightly filtered conduit to the control zone
- Detect anomalous Modbus write commands on the control network → OT-aware network intrusion detection with protocol deep packet inspection
- Ensure a compromised engineering workstation cannot push logic changes without approval → Change control enforcement through PLC logic version approval workflow
ExplanationAn industrial DMZ with tightly filtered conduits limits the paths from business networks into the control zone. OT-aware intrusion detection that understands Modbus function codes can flag suspicious write commands without interfering with control traffic. Change control enforcement ensures that logic modifications require approval even if a workstation is compromised. Disabling PLC authentication would break required controls, and replacing PLCs with IT servers is impractical and disruptive, so both distractors fail the real-time and safety constraints.
-
17 Question 17 Dropdown Network and Perimeter Hacking
A network administrator is hardening a Cisco IOS access switch that serves a corporate office. The security standard requires DHCP snooping to be active so that rogue DHCP servers are blocked and so that the binding table can support ARP inspection. The administrator must complete the global and VLAN configuration. Select the correct value for each blank.
Choose the correct value for each blank.
ip dhcp snooping
ip dhcp snooping vlan
interface GigabitEthernet1/0/24
ip dhcp snooping trust
ip arp inspection vlan
ip arp inspectionCorrect Answer:ip dhcp snooping
ip dhcp snooping vlan 10
interface GigabitEthernet1/0/24
ip dhcp snooping trust
ip arp inspection vlan 10
ip arp inspection trustExplanationThe global DHCP snooping command is enabled for VLAN 10 in this scenario, and ARP inspection is enabled on that same VLAN, which is what the binding table depends on. The uplink port toward the legitimate DHCP server must be trusted, so the trust keyword is used on the uplink. Using untrusted on the uplink would block legitimate DHCP offers, and the limit rate option controls ARP packet rate rather than marking a trusted interface. The validate src-mac option is a separate ARP inspection validation check and does not make the port trusted.
-
18 Question 18 Dropdown Sniffing
A security engineer is configuring a Linux host to act as a passive sensor that captures traffic from a SPAN port for ARP anomaly analysis, and must ensure the capture interface is listening without an IP stack interfering. Select the correct value for each blank in the command sequence.
Choose the correct value for each blank.
ip link set promisc on
ip link set
tcpdump -i -n arpCorrect Answer:ip link set eth1 promisc on
ip link set eth1 up
tcpdump -i eth1 -n arpExplanationSetting the monitoring interface to promiscuous mode and bringing it up allows it to receive mirrored frames from the SPAN port, with eth1 being the dedicated capture interface. Bringing the interface down would prevent capture entirely. The master and nomaster options attach the interface to a bridge and do not prepare it for passive capture. The loopback interface carries only local traffic and would not see mirrored frames from the switch.
These are 18 of the 924 questions in the full 312-50 pack.
Get All 924 QuestionsGet all 924 questions & answers
Full access options for Eccouncil 312-50
Self-study
PDF Version
- 924 actual exam questions
- Compatible with all devices
- Printable PDF format
- No download limits
- 90 days free updates
- 24/7 customer support
Best value
Bundle Pack
- Discounted PDF + online access
- 924 actual exam questions
- Both PDF and online practice test
- Free 90 days updates
- No download or practice limits
- 24/7 customer support
Exam simulation
Online Practice Test
- 924 actual exam questions
- Actual exam environment
- 90 days free updates
- Browser-based software
- 24/7 customer support
100% Money Back Guarantee
Your success comes first
At DumpsProvider, we give you a 100% money back guarantee on all of our exam dumps. For us, your success is the #1 priority and we are more than confident that our exam material will help you pass the 312-50 Exam (Certified Ethical Hacker) on your very first attempt.
In a rare case, if you fail your exam, we will refund your amount without asking a single question.