# Free 312-50v13 practice questions

> 10 free 312-50v13 practice questions with the correct answer and an explanation.

Page: https://devopscodelab.com/exams/ec-council-312-50v13/free-practice-questions/
Practice exams: https://devopscodelab.com/exams/ec-council-312-50v13/

### Question 1 of 10

An organisation wants a framework that describes adversary behaviour as tactics, techniques and procedures observed in real intrusions so its SOC can map detections against them. Which framework fits BEST?

- A. Cyber Kill Chain by Lockheed Martin
- B. Diamond Model of Intrusion Analysis
- C. NIST Cybersecurity Framework 2.0
- D. MITRE ATT&CK

**Answer:** D

**Explanation:** MITRE ATT&CK is a knowledge base of adversary tactics and techniques drawn from real-world observations and is widely used to map detection coverage. The Cyber Kill Chain describes seven high-level intrusion stages but not a detailed technique catalogue. The Diamond Model relates adversary, capability, infrastructure and victim for analysis of events. NIST CSF 2.0 organises an organisation's security outcomes (Govern, Identify, Protect, Detect, Respond, Recover) rather than attacker techniques.

### Question 2 of 10

An Xmas scan of a Windows host returns RST for every port, including ports known to be listening. What is the MOST likely explanation?

- A. Xmas scans only work over UDP, so the TCP ports were all incorrectly reported as closed instead
- B. Windows TCP stacks do not follow RFC 793 for these packets and reply RST regardless of port state
- C. The scan used too fast a timing template, causing the open ports to drop their SYN/ACK replies
- D. The host firewall converted every open port to closed because its intrusion prevention feature detected the scan in progress

**Answer:** B

**Explanation:** Inverse TCP flag scans (FIN, NULL, Xmas) rely on RFC 793 behaviour where open ports silently drop such packets; Microsoft Windows stacks reply with RST regardless, so all ports appear closed. A firewall would more commonly drop packets, producing filtered results. Xmas scans are a TCP technique, not UDP. Timing affects reliability but does not explain RST replies from listening ports.

### Question 3 of 10

During an authorised scan, Nmap reports a port as 'filtered'. What does this state indicate?

- A. Probes received no response or an ICMP unreachable error, so a firewall or filter is likely blocking them
- B. The port completed a handshake and a service banner was returned that identifies the listening software
- C. The port answered with a TCP RST packet, so it is reachable but no application is listening on it at all right now
- D. The port responded to probes inconsistently, so Nmap cannot tell whether it is open or closed at all

**Answer:** A

**Explanation:** Filtered means Nmap cannot determine whether the port is open because packet filtering prevents probes from reaching it—typically no response or ICMP unreachable. A RST response marks the port as closed. A completed handshake marks it open. The 'open|filtered' or 'closed|filtered' states describe ambiguous cases for specific scan types, which is different from plain filtered.

### Question 4 of 10

A defender wants to reduce the impact of credential dumping from LSASS memory on Windows 11 endpoints. Which control is MOST effective?

- A. Store local administrator passwords in a shared spreadsheet for easier rotation
- B. Disable the Windows Event Log service so tools cannot record dumping attempts
- C. Increase the minimum password length to 8 characters in the default domain password policy
- D. Enable Credential Guard so secrets are isolated with virtualization-based security

**Answer:** D

**Explanation:** Credential Guard uses virtualization-based security to isolate NTLM hashes and Kerberos secrets so that LSASS memory dumps no longer reveal them. Disabling logging only hides attacks. Password length does not stop hashes being dumped and reused. A shared spreadsheet of admin passwords increases exposure; Windows LAPS is the proper solution for unique local admin passwords.

### Question 5 of 10

An incident responder finds a malicious program that runs entirely in memory using PowerShell and WMI, leaving no executable file on disk. What type of malware is this?

- A. Macro virus
- B. Polymorphic virus
- C. Fileless malware
- D. Boot sector virus

**Answer:** C

**Explanation:** Fileless malware abuses legitimate tools such as PowerShell and WMI and resides in memory or the registry rather than as files, which evades file-based antivirus. Polymorphic viruses change their code signature with each infection but are still file-based. Boot sector viruses infect the MBR or boot record. Macro viruses live in document macros.

### Question 6 of 10

An analyst sees a single internal host sending DNS queries for long, random-looking subdomains of one external domain at a steady rate, with TXT responses. Which activity is MOST likely, and which control helps detect it?

- A. DNS cache poisoning of the local resolver; enable DNSSEC validation for all external zones it resolves
- B. DNS tunnelling for exfiltration or C2; analyse query length, entropy and volume per domain
- C. DNS amplification against the internal host; enable response rate limiting on public resolvers
- D. Fast-flux hosting of a phishing site; block newly registered domains at the email gateway

**Answer:** B

**Explanation:** Long high-entropy subdomains with TXT answers to one domain are classic signs of DNS tunnelling, which is detected by monitoring query length, entropy and per-domain volume. Amplification floods a victim with large responses. Cache poisoning injects forged answers into a resolver. Fast flux rapidly changes A records for a hostname rather than encoding data in subdomains.

### Question 7 of 10

An application accepts XML uploads and its parser resolves external entities declared in the document's DTD. Which vulnerability could allow an attacker to read local files from the server?

- A. LDAP injection in the directory lookup
- B. Insecure deserialization of Java objects
- C. XML External Entity (XXE) injection
- D. Clickjacking through a transparent iframe

**Answer:** C

**Explanation:** XXE abuses XML parsers that process external entity declarations, allowing local file disclosure or SSRF; disabling DTD and external entity processing is the fix. LDAP injection manipulates directory queries. Clickjacking tricks users into clicking hidden elements. Insecure deserialization involves untrusted serialized objects rather than XML entities.

### Question 8 of 10

An API returns a full user object, including the password hash and internal role fields, and the front end simply hides those fields. Which OWASP API Security Top 10 (2023) risk is this?

- A. API1 Broken Object Level Authorization
- B. API3 Broken Object Property Level Authorization
- C. API8 Security Misconfiguration of the API gateway
- D. API4 Unrestricted Resource Consumption

**Answer:** B

**Explanation:** Exposing sensitive properties that the client should not see (excessive data exposure) falls under Broken Object Property Level Authorization in the 2023 list. BOLA concerns accessing other users' objects by ID. Unrestricted Resource Consumption concerns missing rate and size limits. Security Misconfiguration covers insecure settings and headers.

### Question 9 of 10

An enterprise WLAN uses WPA2-Enterprise with PEAP. Clients are configured not to validate the RADIUS server certificate. Which attack does this enable, and what is the fix?

- A. A rogue AP can impersonate the network and capture credentials; enforce server certificate validation
- B. A WPS PIN attack can recover the PSK; disable WPS on every access point in the building
- C. A beacon flood can exhaust the AP's memory; reduce the beacon interval on each radio
- D. A KRACK attack can reinstall session keys; replace PEAP with WEP shared-key authentication

**Answer:** A

**Explanation:** Without server certificate validation, clients will authenticate to an evil-twin RADIUS server, exposing MSCHAPv2 credentials; enforcing certificate and server-name validation (or using EAP-TLS) fixes it. WPS and PSKs are not used in Enterprise mode. WEP is broken. Beacon floods are unrelated to credential capture.

### Question 10 of 10

An organisation lets employees use personal phones for corporate email. Which solution enforces encryption, passcode policy and remote wipe of corporate data without full control of the personal device?

- A. A full-tunnel site-to-site VPN between each branch office
- B. Network access control based on MAC address filtering only
- C. Mobile application management with containerised work apps
- D. Disk encryption on corporate laptops using TPM-backed keys

**Answer:** C

**Explanation:** MAM (often within a UEM platform) secures corporate apps and data in a managed container, enabling selective wipe on BYOD devices. MAC filtering is easily spoofed and does not protect data on the phone. A site-to-site VPN links networks, not individual phones. Laptop disk encryption does not address phones.

Ready for a timed run? Take the free 15-question 312-50v13 mini exam: https://devopscodelab.com/app/exams/ec-council-312-50v13/mini/

DevOpsCode Lab is not affiliated with EC-Council. 312-50v13 and related names are trademarks of their owners. We write every question ourselves; these are not real exam questions.
