ECCouncil 312-50v13 (Certified Ethical Hacker v13) Practice Test 3

Question 20

A large backup needs efficient confidentiality using a secret key shared by approved encrypting and decrypting processes. Which cryptographic family fits?

  1. HMAC
  2. Cryptographic hash
  3. Symmetric encryption
  4. Asymmetric encryption
  5. Digital signature

Explanation

Correct Answer

C:

Symmetric encryption uses the same secret key for both directions and is efficient for bulk data. Secure key distribution remains a separate challenge.

Incorrect Answers

A:

HMAC authenticates the integrity and origin of a message to parties sharing a secret. It does not encrypt the backup or hide its contents, which is the stated requirement.

B:

A cryptographic hash produces a one-way digest used in integrity checking. It cannot be reversed to recover plaintext and therefore is not a confidentiality encryption algorithm.

D:

Asymmetric encryption uses distinct public and private keys rather than one shared secret key. It is useful for key exchange and small payloads, but is not the efficient bulk-encryption primitive described here.

E:

A digital signature helps verify the authenticity and integrity of signed data. Anyone with the verification key can check the signature, but it does not make the signed content confidential.

Question 21

A web server publishes the names of files in a folder that has no index page. Which hardening setting prevents that disclosure?

  1. Directory listing disabled
  2. Server software patching
  3. Unnecessary HTTP methods
  4. Server banner reduction

Explanation

Correct Answer

A:

Disabling directory browsing stops automatic listing of files when an index resource is absent. Access controls remain necessary for sensitive files.

Incorrect Answers

B:

Patching web-server software addresses known code defects. A directory listing is typically a configuration behavior and remains exposed until indexing is disabled or an appropriate index resource is supplied.

C:

Restricting HTTP methods to operational needs reduces unintended file-management capabilities; this addresses unused write-capable HTTP operations, a different concern from exposure of folder contents through autoindex.

D:

Minimizing version banners removes an easy fingerprinting clue from responses; it serves software-version information in response metadata and cannot by itself resolve exposure of folder contents through autoindex.

Question 22

A smart gateway accepts arbitrary firmware images from a network source without validating their origin. Which safeguard is missing?

  1. IoT default credentials
  2. Secure boot on embedded device
  3. IoT device inventory
  4. IoT firmware signing

Explanation

Correct Answer

D:

Cryptographic firmware signatures let devices verify approved updates before installation. Secure update design should also protect against rollback and key compromise.

Incorrect Answers

A:

Shared vendor defaults enable scalable unauthorized access if not replaced or disabled; it focuses on reuse of factory login secrets across devices and therefore does not demonstrate authenticity of software installed on embedded devices.

B:

Secure boot verifies trusted boot components before execution; this pertains to verification of device startup code, not to authenticity of software installed on embedded devices.

C:

IoT asset inventory tracks devices, models, firmware, owners, and communication dependencies; it is useful for visibility into connected embedded equipment but leaves authenticity of software installed on embedded devices unproven.

Question 23

An endpoint receives costly valid-looking requests that exhaust web workers without saturating the network. Which type of DoS is this?

  1. Application-layer DoS
  2. SYN flood
  3. UDP flood
  4. Volumetric DDoS

Explanation

Correct Answer

A:

Application-layer attacks exploit expensive server operations or limited worker pools. Request-level rate controls and caching can be more relevant than raw bandwidth alone.

Incorrect Answers

B:

A SYN flood can consume connection-state resources before handshakes complete; it describes pressure on incomplete TCP handshakes; the observed condition calls for exhaustion of application resources through requests.

C:

UDP floods create processing and bandwidth load through large volumes of connectionless packets; this pertains to high-rate datagrams targeting UDP services, not to exhaustion of application resources through requests.

D:

Volumetric denial of service overwhelms network bandwidth rather than requiring an application defect; the mechanism relates to link-capacity exhaustion from distributed sources rather than exhaustion of application resources through requests.

Question 24

A campus network must prevent disclosure and spoofing of management queries. Which SNMP option best supports both?

  1. Anonymous LDAP bind
  2. SMB share enumeration
  3. SNMPv3 authentication and privacy
  4. SNMP system description

Explanation

Correct Answer

C:

SNMPv3 with appropriate authPriv configuration authenticates users and encrypts payloads. A simple v1 or v2c community string does not provide equivalent protection.

Incorrect Answers

A:

An anonymous LDAP bind permits some operations without an authenticated user; evidence about directory queries without authenticated identity would not answer the concern about protected management-data access.

B:

This choice can help assess names of network file shares but would not demonstrate protected management-data access.

D:

SNMP exposes managed-object identifiers through agent queries with appropriate access; this can contribute to device metadata exposed through network management but does not prove protected management-data access.

Question 25

An outbreak traverses vulnerable machines without users opening infected documents. Which malware category best describes it?

  1. Ransomware
  2. Trojan horse
  3. Network worm
  4. File-infecting virus
  5. Spyware

Explanation

Correct Answer

C:

Worms self-propagate across systems using accessible vulnerabilities or network mechanisms. Rapid replication can burden networks independently of payload effects.

Incorrect Answers

A:

Ransomware obstructs data or system access and seeks payment for recovery or non-disclosure; it may reveal extortion using loss of data access, but the scenario is about self-propagation between machines.

B:

A Trojan disguises harmful behavior within apparently legitimate software; that mechanism concerns malice concealed inside seemingly legitimate software instead of self-propagation between machines.

D:

Despite its value for propagation through infected executable hosts, it cannot substantiate self-propagation between machines.

E:

Spyware monitors user or system information and transmits it without informed authorization; evidence about unauthorized collection of user activity would not answer the concern about self-propagation between machines.

Question 26

A red-team exercise requires a hard stop if the payment gateway becomes unstable. Which agreement should specify the stop condition and escalation contact?

  1. Scope statement
  2. Rules of engagement
  3. Non-disclosure agreement
  4. Written authorization

Explanation

Correct Answer

B:

Rules of engagement define approved methods, time windows, safety triggers, and emergency communications. They guide operational decisions during an authorized exercise.

Incorrect Answers

A:

An explicit scope lists included and excluded hosts, applications, networks, and third parties; it is useful for which infrastructure belongs to the authorized target set but leaves the exercise's safety and escalation conditions unproven.

C:

This choice describes contractual limits on disclosure of client data; the observed condition calls for the exercise's safety and escalation conditions.

D:

A signed approval from the asset owner grants permission; it helps explain the legal permission to test identified assets, but not the exercise's safety and escalation conditions.

Question 27

A home or small-office Wi-Fi deployment seeks password-based association with stronger resistance to passive offline dictionary attacks than WPA2-PSK. What method is relevant?

  1. WPA3-Personal SAE
  2. WEP weakness
  3. WPA2-Enterprise 802.1X
  4. Protected Management Frames

Explanation

Correct Answer

A:

WPA3-Personal uses SAE, a password-authenticated key exchange that improves resistance to passive password guessing. Weak passwords remain undesirable.

Incorrect Answers

B:

WEP relies on obsolete cryptographic design with practical key-recovery weaknesses; it is aimed at obsolete protection used for Wi-Fi frames and would not resolve password-authenticated WPA3 key establishment.

C:

Individual enterprise authentication on wireless access is its purpose, whereas the case requires password-authenticated WPA3 key establishment.

D:

802.11w protected management frames authenticate certain management frames; that observation explains forgery protection for selected wireless management frames without demonstrating password-authenticated WPA3 key establishment.

Question 28

A partner needs to encrypt a message using a recipient's published key so that only the matching private-key holder can normally decrypt it. Which family fits?

  1. Digital signature
  2. Asymmetric encryption
  3. HMAC
  4. Symmetric encryption

Explanation

Correct Answer

B:

Public-key encryption separates a public encryption key from a private decryption key. Certificate validation is needed to know whose public key is trusted.

Incorrect Answers

A:

The scenario tests recipient-only decryption using a public/private key pair, which is distinct from public verification of a publisher's signature.

C:

HMAC combines a cryptographic hash with a secret key to provide message authentication; the actual requirement is recipient-only decryption using a public/private key pair, not secret-key authentication of message integrity.

D:

Symmetric encryption uses the same secret key; that observation explains fast encryption and decryption with a shared key without demonstrating recipient-only decryption using a public/private key pair.

Question 29

A regular user can invoke an administrative API endpoint simply by knowing its URL. What control failed?

  1. Stored cross-site scripting
  2. Reflected cross-site scripting
  3. Broken object-level authorization
  4. Broken function-level authorization

Explanation

Correct Answer

D:

Function-level authorization must enforce allowed roles on privileged operations server-side. Hiding a button or route is not a permission check.

Incorrect Answers

A:

That mechanism concerns persisted script execution through displayed content instead of server-side permission checks on privileged functions.

B:

Reflected XSS executes from untrusted request data returned in an immediate response; the scenario tests server-side permission checks on privileged functions, which is distinct from request-originated script reflected into an immediate response.

C:

Object-level authorization failures occur when the server does not verify access; despite its value for cross-account access to individual API records, it cannot substantiate server-side permission checks on privileged functions.

Question 30

A business rents virtual machines and must configure operating systems, installed services, and application patches. Which service model is this?

  1. SaaS model
  2. IaaS model
  3. PaaS model
  4. Public cloud deployment

Explanation

Correct Answer

B:

Infrastructure as a service supplies foundational compute and network resources while customers administer guest workloads. It affords flexibility with greater operational responsibility.

Incorrect Answers

A:

Software as a service exposes a complete application to customers; it helps explain consumption of a complete vendor-hosted application, but not customer control over virtual machines and guest software.

C:

This choice is useful for a managed runtime for deployed application code but leaves customer control over virtual machines and guest software unproven.

D:

A public cloud offers services broadly from provider-operated resources; it affects provider-operated services available to multiple customers, while the identified issue is customer control over virtual machines and guest software.

Certified Ethical Hacker v13 (312-50v13) Practice Tests