Home / EC-Council Certified Network Defender (CND 312-38) / Mock exam
EC-Council Certified Network Defender (CND 312-38) Exam-style mock test

EC-Council CND Certified Network Defender Practice Exams|Practice test

Full explanations Exam format Pass line 70%
33 USD One-time · lifetime access
Enroll →

Sample questions

Example1 · Network Security Fundamentals and Controls
At a B2B SaaS company, a network defender configures the tenant database so that outputs from customer analytics queries cannot be altered in transit between the application tier and the reporting dashboard, and any unauthorized modification is detected and rejected. Which element of the CIA triad is this control primarily protecting?
・Availability, so authorized tenants can always reach dashboards
Incorrect. Availability addresses continuous, timely access to resources, not the prevention and detection of unauthorized changes to the data in transit.
・Confidentiality, so unauthorized tenants cannot read the records
Incorrect. Confidentiality addresses preventing unauthorized disclosure or reading of data, whereas this control focuses on preventing alteration of the records.
✓Integrity, so the data stays accurate and unaltered
Correct. Protecting data from unauthorized modification and ensuring it remains accurate and trustworthy is the integrity element of the CIA triad.
・Non-repudiation, so a tenant cannot deny running the query
Incorrect. Non-repudiation ensures an actor cannot deny an action and is not one of the three core CIA triad elements being described here.
Explanation
Detecting and rejecting unauthorized changes to data so it stays accurate and complete is the definition of integrity within the CIA triad.
Example2 · Network Perimeter: Firewalls, IDS/IPS, and VPN
A B2B SaaS company hosts its public-facing API gateway on servers that must be reachable from the internet while its database tier stays fully internal. The network defender wants external traffic to reach the API servers without ever allowing inbound connections to the internal network. Which firewall architecture best meets this requirement?
✓A screened subnet (DMZ) that isolates the public API servers between two filtering layers from the internal LAN
Correct. A screened subnet (DMZ) places the public API servers in an isolated zone between two filtering layers, so external clients reach them while the internal network stays protected.
・A single-homed bastion host placed directly on the internal LAN with the public API servers beside it
Incorrect. Placing a bastion host and public servers on the internal LAN exposes internal resources directly and defeats the separation goal.
・A packet-filtering router alone that forwards all inbound API traffic straight through to the internal servers
Incorrect. A packet-filtering router alone that forwards inbound traffic to internal servers provides no isolation zone and exposes the internal tier.
・A dual-homed host that bridges the internal and external networks and routes all packets between both interfaces
Incorrect. A dual-homed host that routes packets between interfaces still bridges internal and external traffic without an isolated DMZ segment.
Explanation
A screened subnet (DMZ) is the standard architecture for exposing public services while keeping the internal network isolated behind a second filtering layer.
Example3 · Endpoint, Host, and Application Security
A B2B SaaS company keeps discovering unauthorized tools and scripts running on its support engineers' laptops despite having antivirus deployed. The defender wants a control that only permits a pre-approved set of known-good executables to run and blocks everything else by default. Which endpoint control should be implemented?
✓Application whitelisting that enforces a default-deny policy allowing only approved known-good executables to run
Correct. Application whitelisting enforces default-deny so only explicitly approved executables run, which directly blocks unknown tools and scripts.
・Host-based intrusion detection that logs suspicious process activity for later review
Incorrect. Host-based IDS detects and logs suspicious behavior but does not block unapproved executables from running by default.
・Signature-based antivirus scanning that quarantines files matching malware definitions
Incorrect. Signature-based antivirus only catches known malware patterns and lets unknown-but-unapproved tools execute freely.
・Full-disk encryption that protects stored data if a laptop is lost
Incorrect. Full-disk encryption protects data at rest on a lost device and has no effect on which programs are allowed to execute.
Explanation
Application whitelisting (allowlisting) uses a default-deny model that permits only pre-approved executables, which is the precise control for stopping unauthorized tools regardless of whether they are known malware.
Example4 · Network Monitoring, Traffic Analysis, and SIEM
A hospital network defender must monitor east-west traffic between clinical application servers in a segment where installing agents on medical devices is prohibited by the vendor. Which monitoring approach best captures this traffic without touching the endpoints?
✓Configuring a switch SPAN (port mirror) to copy segment traffic to a passive analysis sensor
Correct. A SPAN/port-mirror copies the selected switch traffic to a passive sensor, capturing east-west flows without any agent or change on the endpoints.
・Deploying host-based agents on each clinical server to forward captured frames centrally
Incorrect. Host agents require installation on the devices, which the vendor prohibits and which would not capture peer-to-peer frames passively.
・Enabling verbose application logging on every medical device in the clinical segment
Incorrect. Application logging depends on each device's capability and does not provide packet-level traffic visibility for analysis.
・Running an authenticated vulnerability scan against the clinical servers each night
Incorrect. A vulnerability scan probes configuration weaknesses and is not a continuous traffic-monitoring method for east-west flows.
Explanation
Port mirroring (SPAN) delivers agentless, passive visibility into traffic between hosts, ideal when endpoints cannot be modified.
Example5 · Incident Response, Threat Intelligence, and Risk
A regional healthcare services firm has just confirmed that a workstation in its billing department is actively beaconing to an external command-and-control server. The incident handler wants to stop the malware from spreading to other hosts on the segment before any forensic analysis of the infection is attempted. Which IH&R phase is being carried out at this moment?
✓Containment, by isolating the affected billing workstation to limit further damage
Correct. Isolating the compromised host to prevent the threat from spreading before deeper analysis is the defining goal of the containment phase.
・Eradication, by removing the malware files and registry artifacts from the host
Incorrect. Eradication removes the malicious artifacts, which happens only after the spread has been stopped and the scope understood.
・Recovery, by restoring the workstation to normal production billing operations
Incorrect. Recovery restores systems to production, which comes after the threat is removed and validated, not during active spread.
・Incident triage, by validating and prioritizing the reported malware alert first
Incorrect. Triage validates and prioritizes an alert, and that step was already completed when the infection was confirmed.
Explanation
Stopping the spread of an active compromise before analysis is the purpose of the containment phase in the IH&R lifecycle.
Example6 · Network Security Fundamentals and Controls
A healthcare services firm encrypts patient records at rest and in transit so that intercepted or stolen data cannot be read by unauthorized parties. Which element of the information security triad is this control primarily designed to protect?
・Integrity, by proving that stored records have not been altered or tampered with since they were written
Incorrect. Integrity concerns detecting unauthorized modification; hashing or digital signatures address that, not encryption aimed at secrecy.
✓Confidentiality, by ensuring that patient data remains unreadable to anyone lacking the proper decryption authorization
Correct. Encrypting data so only authorized holders of the key can read it directly protects confidentiality.
・Availability, by guaranteeing that authorized clinicians can retrieve patient records whenever they are needed
Incorrect. Availability is about timely access and uptime, which encryption of stored data does not primarily provide.
・Non-repudiation, by binding each record change to the specific user who performed the modification
Incorrect. Non-repudiation ties an action to an actor so it cannot be denied; that is a function of signatures and logging, not secrecy encryption.
Explanation
Encryption that renders data unreadable without authorization is a textbook confidentiality control within the CIA triad.
Example7 · Network Security Fundamentals and Controls
At the retailer UrbanThread, a database holding customer loyalty points is corrupted by a buggy batch job, and reward balances now show wrong values that customers dispute. Which element of the CIA triad was most directly violated by this incident?
・Confidentiality, because unauthorized parties were able to view the private loyalty balances of other customers
Incorrect. Confidentiality concerns unauthorized disclosure; here balances were wrong, not exposed to outsiders.
✓Integrity, because the stored data was altered to an inaccurate state and no longer reflects the trusted true values
Correct. Integrity ensures data remains accurate and trustworthy; the corruption altered balances to inaccurate values.
・Availability, because customers were unable to reach the loyalty service and the batch job blocked access entirely
Incorrect. Availability was not the core issue because the service was reachable; the data it returned was simply wrong.
・Authentication, because the batch job ran without first verifying the identity of the operator who launched it
Incorrect. Authentication is an access control concept, not part of the classic CIA triad being questioned here.
Explanation
Corruption that makes stored data inaccurate while it remains accessible is a textbook integrity violation under the CIA triad.
Example8 · Network Security Fundamentals and Controls
UrbanThread deploys an intrusion detection system that passively inspects mirrored traffic and raises alerts when it observes signatures matching known attacks, but it never blocks or drops the traffic itself. Into which category of security control does this IDS best fit?
・A preventive control, since it stops malicious traffic before that traffic can ever reach the protected internal servers
Incorrect. Preventive controls block or deny activity; a passive IDS only observes and does not stop traffic.
✓A detective control, since it identifies and reports suspicious activity after it occurs without stopping it
Correct. A passive IDS that alerts on observed activity without blocking is a detective control.
・A corrective control, since it automatically restores affected systems to their last known good configuration state
Incorrect. Corrective controls remediate after an incident; the IDS performs no restoration of systems.
・A compensating control, since it substitutes for a stronger primary safeguard that could not be implemented
Incorrect. Compensating controls stand in for a missing primary control, which is not what the IDS role describes here.
Explanation
An alert-only IDS observes and reports but does not block, which is the defining behavior of a detective control.
Example9 · Network Security Fundamentals and Controls
UrbanThread's security lead wants to ensure that if its perimeter firewall is bypassed, attackers still face additional independent barriers such as network segmentation, host hardening, and endpoint protection before reaching data. Which security principle is the lead applying?
✓Defense in depth, by arranging multiple independent layers so that the failure of any single control does not expose the assets
Correct. Stacking independent layers so one failure does not breach the whole system is defense in depth.
・Least privilege, by restricting each user account to only the minimum permissions required to perform their job tasks
Incorrect. Least privilege limits account permissions and does not describe layering multiple protective barriers.
・Separation of duties, by splitting a sensitive task across multiple people so no single person can complete it alone
Incorrect. Separation of duties divides a task among people and is unrelated to layered network barriers.
・Security through obscurity, by hiding the design details of the network so that attackers cannot learn how it operates
Incorrect. Security through obscurity relies on secrecy of design, not on multiple genuine protective layers.
Explanation
Multiple independent barriers so a single bypass does not expose assets is the core idea of defense in depth.
Example10 · Network Security Fundamentals and Controls
A financial services firm wants no single point of failure protecting customer account data, so a breach of one control does not expose the whole network. The defender proposes stacking firewalls, segmentation, IDS, and endpoint controls. Which security principle is being applied?
・Security through obscurity, which hides the network design so attackers cannot locate the asset
Incorrect. Obscurity conceals design details but provides no overlapping protective layers if that concealment fails.
✓Defense in depth, using multiple overlapping layers so one failed control does not expose everything
Correct. Defense in depth stacks independent, overlapping controls so the failure of any single layer still leaves others protecting the asset.
・Separation of duties between operators to prevent any one person completing a harmful action alone
Incorrect. Separation of duties splits tasks among people and does not describe layered technical network controls.
・Least privilege access, granting each account only the permissions strictly required for its job
Incorrect. Least privilege limits account permissions but does not describe stacking multiple network-protection layers.
Explanation
Stacking firewalls, segmentation, IDS, and endpoint controls so one failure is not catastrophic is the textbook definition of defense in depth.
Example11 · Network Security Fundamentals and Controls
At a bank, an auditor finds that a transferred payment amount was silently altered in transit before reaching the clearing system. Which element of the CIA triad was primarily violated by this unauthorized modification of data?
・Confidentiality, because the sensitive payment data was disclosed to an unauthorized third party observer
Incorrect. Confidentiality concerns unauthorized disclosure, but here the data was altered rather than merely read.
・Availability, because the clearing system could not process the transaction within the agreed service window
Incorrect. Availability concerns access or uptime, which was not the failure described in this scenario.
✓Integrity, because the data was changed without authorization and no longer reflects its original value
Correct. Integrity ensures data is not altered without authorization, and silent modification of the amount directly breaks it.
・Non-repudiation, because the sender can later deny having originated the disputed payment transaction
Incorrect. Non-repudiation addresses proof of origin, not the unauthorized change to the payment value.
Explanation
Unauthorized, undetected alteration of data in transit is a classic integrity violation under the CIA triad.
Example12 · Network Security Fundamentals and Controls
At a manufacturing distributor, the shipping system stamps each outbound pallet record with a cryptographic hash so warehouse staff can prove the weight and SKU count were not altered after the record left the dock scanner. Which element of the CIA triad does this control primarily protect?
・Confidentiality, by preventing competitors and unauthorized staff from reading the pallet weight and SKU details stored in the record
Incorrect. Confidentiality concerns keeping data secret; a hash does not conceal the weight or SKU values, which remain readable in the record.
✓Integrity, by letting staff detect whether the pallet record's weight and SKU count were modified after the scanner wrote it
Correct. A cryptographic hash lets anyone recompute and compare it, so tampering with the pallet data becomes detectable, which is the integrity property.
・Availability, by keeping the pallet records reachable so warehouse staff can retrieve shipping data on demand
Incorrect. Availability is about ensuring data and systems stay accessible, which hashing does nothing to guarantee for the pallet records.
・Non-repudiation, by binding each scan event to the specific operator account that captured it
Incorrect. Non-repudiation ties an action to an identity; the hash by itself proves no particular operator created or signed the record.
Explanation
Hashing enables detection of unauthorized modification, which is the defining goal of integrity within the CIA triad.
Example13 · Network Security Fundamentals and Controls
The distributor's network defender installs an intrusion detection sensor on the warehouse VLAN that alerts the SOC whenever it observes traffic matching known attack signatures, but the sensor takes no action to block the traffic itself. How should this control be classified?
・A preventive control, because it stops malicious traffic from reaching the warehouse hosts before any damage can occur
Incorrect. A preventive control blocks or denies activity; a passive IDS that only alerts does not prevent the traffic from reaching hosts.
・A corrective control, because it automatically restores affected warehouse hosts to a known-good configuration after an incident
Incorrect. A corrective control remediates after the fact; the sensor neither restores nor repairs any warehouse host.
✓A detective control, because it identifies and reports suspicious activity but does not itself block the traffic
Correct. An IDS that recognizes and reports suspicious activity without blocking it functions as a detective control.
・A compensating control, because it substitutes for a stronger access requirement the distributor cannot currently meet
Incorrect. A compensating control substitutes for a required safeguard; nothing here indicates the IDS replaces an unmet access requirement.
Explanation
Controls that discover and report events but take no blocking or remediation action are detective by function, exemplified by a passive IDS.
Example14 · Network Security Fundamentals and Controls
A telecom operator's billing database was altered by an attacker who changed customer usage records without authorization, though the data remained readable to staff. Which element of the CIA triad was directly compromised in this incident?
✓Integrity, since the unauthorized modification changed the accuracy and trustworthiness of the stored billing records
Correct. Integrity concerns the accuracy and trustworthiness of data, and unauthorized modification of the billing records directly violates it.
・Confidentiality, since an outsider was able to view the private usage records of paying subscribers
Incorrect. Confidentiality is about preventing disclosure, but the scenario describes alteration, not viewing of private records.
・Availability, because the billing system could no longer be reached by the operations staff
Incorrect. Availability relates to access and uptime, yet the records stayed readable and the system remained reachable.
・Authentication, because the attacker bypassed the login mechanism protecting the records
Incorrect. Authentication is a control supporting security, not one of the three core CIA triad elements being evaluated here.
Explanation
Unauthorized modification of data that leaves it readable but inaccurate is a classic integrity violation within the CIA triad.
Example15 · Network Security Fundamentals and Controls
After a breach, a telecom operator deploys a system that reviews historical firewall logs each night and emails administrators a report of policy violations that already occurred. Into which control category does this nightly log-review system best fit?
・Preventive control, because reviewing the logs stops attackers from reaching the internal billing network segment
Incorrect. Preventive controls block incidents before they occur, whereas this system only reports events after the fact.
✓Detective control, because it identifies security events that have already happened by analyzing the firewall log records
Correct. A detective control identifies and reports incidents that have already occurred, which is exactly what nightly log analysis does.
・Corrective control, because it automatically restores the firewall configuration after a violation is reported
Incorrect. Corrective controls remediate or restore after an incident, but this system only reports and does not fix anything.
・Deterrent control, because it discourages attackers who know their actions will later be reviewed by staff
Incorrect. Deterrent controls aim to discourage action, not to analyze logs and report violations that already happened.
Explanation
A system that analyzes existing logs to surface past violations is a detective control, which identifies incidents rather than preventing or fixing them.
▶ Try 10 free questions (graded)
Measure your readiness with a full mock exam
All questions · full explanations · lifetime access
Enroll(33 USD)