ECCouncil 312-38 (Certified Network Defender) Practice Test 20

Question 190

An administrator sees suspicious kernel modules and hidden processes and needs a targeted indicator check on a Linux server. Which Linux integrity or malware-detection capability best fits?

  1. SELinux mandatory access control
  2. AppArmor profile confinement
  3. AIDE file integrity monitoring
  4. Auditd syscall auditing
  5. Rootkit detection tools

Explanation

Correct Answer

E:

Rootkit scanners look for known signatures and behavioral inconsistencies, but clean results do not prove a host trustworthy. Offline examination may be necessary.

Incorrect Answers

A:

SELinux applies type and domain enforcement policies to confine process access; the operational difference is policy confinement beyond ordinary Unix permissions versus the scenario's checking for rootkit indicators.

B:

AppArmor uses profiles tied to executable programs to restrict resources accessed by confined processes for situations characterized by path-oriented application confinement; the case points instead to checking for rootkit indicators.

C:

AIDE compares current file attributes against a stored database to identify unexpected changes; the operational difference is integrity checks against stored file baseline versus the scenario's checking for rootkit indicators.

D:

The Linux audit framework records configured security-relevant system calls and object access; it handles kernel-mediated security event collection, while the decisive evidence in the question is checking for rootkit indicators.

Question 191

A deployment host downloads packages from a mirror and must verify repository metadata and packages come from trusted signing sources. Which Linux update or package integrity practice is best?

  1. Signed repository verification
  2. Package inventory and vulnerability matching
  3. Pinned application dependencies
  4. Security-only package updates

Explanation

Correct Answer

A:

Package-manager signature validation builds trust in authorized repositories. Mirrors should not be allowed to replace unsigned payloads silently.

Incorrect Answers

B:

Software inventories linked to security advisories identify affected package versions and support targeted remediation; it handles mapping installed versions to advisories, while the decisive evidence in the question is authentication of software package origin.

C:

Pinning or lockfiles constrain dependency versions to reviewed combinations; that is relevant to preventing unreviewed dependency version drift but does not directly account for authentication of software package origin.

D:

Security-update selection targets supported fixes while reducing unrelated change for the specific concern of prioritized patching of known vulnerabilities, not the requirement involving authentication of software package origin.

Question 192

Production policy requires vulnerability fixes promptly but does not want optional feature upgrades during the emergency window. Which Linux update or package integrity practice is best?

  1. Pinned application dependencies
  2. Package inventory and vulnerability matching
  3. Reproducible image builds
  4. Security-only package updates

Explanation

Correct Answer

D:

Security-update selection targets supported fixes while reducing unrelated change. Dependency and compatibility testing remain necessary.

Incorrect Answers

A:

Pinning or lockfiles constrain dependency versions to reviewed combinations for the specific concern of preventing unreviewed dependency version drift, not the requirement involving prioritized patching of known vulnerabilities.

B:

Software inventories linked to security advisories identify affected package versions and support targeted remediation in a setting defined by mapping installed versions to advisories; the observed issue is prioritized patching of known vulnerabilities.

C:

Automated infrastructure builds and versioned configuration provide repeatable provisioning and traceability for situations characterized by repeatable tested server provisioning; the case points instead to prioritized patching of known vulnerabilities.

Question 193

A Linux service breaks after an untested package upgrade changes a library interface during automated installation. Which Linux update or package integrity practice is best?

  1. Security-only package updates
  2. Pinned application dependencies
  3. Signed repository verification
  4. Reproducible image builds

Explanation

Correct Answer

B:

Pinning or lockfiles constrain dependency versions to reviewed combinations. Separate maintenance still must refresh vulnerable dependencies.

Incorrect Answers

A:

Security-update selection targets supported fixes while reducing unrelated change; the operational difference is prioritized patching of known vulnerabilities versus the scenario's preventing unreviewed dependency version drift.

C:

Package-manager signature validation builds trust in authorized repositories when analysts encounter authentication of software package origin; this question instead describes preventing unreviewed dependency version drift.

D:

Automated infrastructure builds and versioned configuration provide repeatable provisioning and traceability when the underlying evidence concerns repeatable tested server provisioning rather than the stated preventing unreviewed dependency version drift.

Question 194

A team cannot tell which configuration changes produced a hardened server and wants consistent rebuilding from reviewed code. Which Linux update or package integrity practice is best?

  1. Pinned application dependencies
  2. Package inventory and vulnerability matching
  3. Reproducible image builds
  4. Security-only package updates

Explanation

Correct Answer

C:

Automated infrastructure builds and versioned configuration provide repeatable provisioning and traceability. Drift checks verify running state.

Incorrect Answers

A:

Pinning or lockfiles constrain dependency versions to reviewed combinations when analysts encounter preventing unreviewed dependency version drift; this question instead describes repeatable tested server provisioning.

B:

Software inventories linked to security advisories identify affected package versions and support targeted remediation for situations characterized by mapping installed versions to advisories; the case points instead to repeatable tested server provisioning.

D:

Security-update selection targets supported fixes while reducing unrelated change; it handles prioritized patching of known vulnerabilities, while the decisive evidence in the question is repeatable tested server provisioning.

Question 195

Operators cannot determine whether an advisory affects installed components across hundreds of Linux hosts. Which Linux update or package integrity practice is best?

  1. Package inventory and vulnerability matching
  2. Reproducible image builds
  3. Pinned application dependencies
  4. Signed repository verification
  5. Security-only package updates

Explanation

Correct Answer

A:

Software inventories linked to security advisories identify affected package versions and support targeted remediation. Inventory freshness governs accuracy.

Incorrect Answers

B:

Automated infrastructure builds and versioned configuration provide repeatable provisioning and traceability when the underlying evidence concerns repeatable tested server provisioning rather than the stated mapping installed versions to advisories.

C:

Pinning or lockfiles constrain dependency versions to reviewed combinations; its distinguishing scope is preventing unreviewed dependency version drift, not the reported mapping installed versions to advisories.

D:

Package-manager signature validation builds trust in authorized repositories; its distinguishing scope is authentication of software package origin, not the reported mapping installed versions to advisories.

E:

Security-update selection targets supported fixes while reducing unrelated change; its distinguishing scope is prioritized patching of known vulnerabilities, not the reported mapping installed versions to advisories.

Question 196

A host must explicitly permit approved inbound services and reject other local network connections using current Linux packet-filtering infrastructure. Which Linux network protection should be deployed?

  1. Reverse-path filtering
  2. Tcpdump capture
  3. SELinux mandatory access control
  4. Disable IP forwarding
  5. Fail2ban service protection
  6. Nftables packet filtering

Explanation

Correct Answer

F:

Nftables defines kernel packet-filtering and translation rules. Ordering, default policy and persistent loading must be verified.

Incorrect Answers

A:

Reverse-path checks compare the incoming interface with routing expectations for a claimed source; its distinguishing scope is rejection of implausible source paths, not the reported Linux host packet filter policy.

B:

Tcpdump records interface traffic using capture filters for focused examination; the operational difference is direct inspection of interface packets versus the scenario's Linux host packet filter policy.

C:

SELinux applies type and domain enforcement policies to confine process access; this characterizes policy confinement beyond ordinary Unix permissions, whereas the reported condition is Linux host packet filter policy.

D:

Disabling kernel IP forwarding prevents routine transit routing through a host; this characterizes unwanted packet forwarding between interfaces, whereas the reported condition is Linux host packet filter policy.

E:

Fail2ban parses service logs and applies temporary bans through firewall actions according to jail rules in a setting defined by log-triggered temporary IP bans; the observed issue is Linux host packet filter policy.

Question 197

A Linux gateway receives packets claiming an internal source on an external interface and wants a basic anti-spoofing check. Which Linux network protection should be deployed?

  1. Fail2ban service protection
  2. Disable IP forwarding
  3. Tcpdump capture
  4. Reverse-path filtering

Explanation

Correct Answer

D:

Reverse-path checks compare the incoming interface with routing expectations for a claimed source. Asymmetric routing can require careful configuration.

Incorrect Answers

A:

Fail2ban parses service logs and applies temporary bans through firewall actions according to jail rules; that is relevant to log-triggered temporary IP bans but does not directly account for rejection of implausible source paths.

B:

Disabling kernel IP forwarding prevents routine transit routing through a host for situations characterized by unwanted packet forwarding between interfaces; the case points instead to rejection of implausible source paths.

C:

Tcpdump records interface traffic using capture filters for focused examination; that is relevant to direct inspection of interface packets but does not directly account for rejection of implausible source paths.

Question 198

A workstation is unintentionally routing packets between its Wi-Fi and Ethernet interfaces despite not being an approved gateway. Which Linux network protection should be deployed?

  1. Nftables packet filtering
  2. Tcpdump capture
  3. Disable IP forwarding
  4. Reverse-path filtering

Explanation

Correct Answer

C:

Disabling kernel IP forwarding prevents routine transit routing through a host. It does not disable the host's own network connections.

Incorrect Answers

A:

Nftables defines kernel packet-filtering and translation rules for the specific concern of Linux host packet filter policy, not the requirement involving unwanted packet forwarding between interfaces.

B:

Tcpdump records interface traffic using capture filters for focused examination; that is relevant to direct inspection of interface packets but does not directly account for unwanted packet forwarding between interfaces.

D:

Reverse-path checks compare the incoming interface with routing expectations for a claimed source for the specific concern of rejection of implausible source paths, not the requirement involving unwanted packet forwarding between interfaces.

Question 199

An administrator must capture packets on one Linux interface to determine whether repeated connection attempts reach a local daemon. Which Linux network protection should be deployed?

  1. Nftables packet filtering
  2. Tcpdump capture
  3. Reverse-path filtering
  4. Disable IP forwarding

Explanation

Correct Answer

B:

Tcpdump records interface traffic using capture filters for focused examination. Capture privileges and sensitive packet content require care.

Incorrect Answers

A:

Nftables defines kernel packet-filtering and translation rules; that is relevant to Linux host packet filter policy but does not directly account for direct inspection of interface packets.

C:

Reverse-path checks compare the incoming interface with routing expectations for a claimed source for the specific concern of rejection of implausible source paths, not the requirement involving direct inspection of interface packets.

D:

Disabling kernel IP forwarding prevents routine transit routing through a host for the specific concern of unwanted packet forwarding between interfaces, not the requirement involving direct inspection of interface packets.

Question 200

An SSH server receives repeated failed login attempts from a small number of addresses and needs short-term automated blocking. Which Linux network protection should be deployed?

  1. Fail2ban service protection
  2. Nftables packet filtering
  3. Tcpdump capture
  4. Reverse-path filtering
  5. Disable IP forwarding

Explanation

Correct Answer

A:

Fail2ban parses service logs and applies temporary bans through firewall actions according to jail rules. It complements strong authentication.

Incorrect Answers

B:

Nftables defines kernel packet-filtering and translation rules; it handles Linux host packet filter policy, while the decisive evidence in the question is log-triggered temporary IP bans.

C:

Tcpdump records interface traffic using capture filters for focused examination in a setting defined by direct inspection of interface packets; the observed issue is log-triggered temporary IP bans.

D:

Reverse-path checks compare the incoming interface with routing expectations for a claimed source when analysts encounter rejection of implausible source paths; this question instead describes log-triggered temporary IP bans.

E:

Disabling kernel IP forwarding prevents routine transit routing through a host when analysts encounter unwanted packet forwarding between interfaces; this question instead describes log-triggered temporary IP bans.

Certified Network Defender (312-38) Practice Tests