{
  "Exam 01-5: Final Exam Preparation": [
    {
      "question": "101. Which technique involves sending specially crafted malformed packets to crash or destabilize a target system?",
      "options": [
        "A. Fuzzing",
        "B. Smurf attack",
        "C. SYN flooding",
        "D. ICMP tunneling"
      ],
      "num_answers": 1,
      "answer": "A. Fuzzing",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Fuzzing involves sending malformed or unexpected inputs to discover crashes and vulnerabilities.",
        "B": "❌ Smurf is an ICMP amplification attack.",
        "C": "❌ SYN flooding overwhelms connections, not malformed packets.",
        "D": "❌ ICMP tunneling is covert communication, not destabilization."
      }
    },
    {
      "question": "102. Which authentication factor is represented by a hardware security token?",
      "options": [
        "A. Something you are",
        "B. Something you have",
        "C. Something you know",
        "D. Somewhere you are"
      ],
      "num_answers": 1,
      "answer": "B. Something you have",
      "answer_keys": ["B"],
      "explanations": {
        "B": "✅ Hardware tokens are physical devices representing a possession factor.",
        "A": "❌ Biometrics represent 'something you are'.",
        "C": "❌ Passwords represent 'something you know'.",
        "D": "❌ Location-based auth corresponds to network or GPS origin."
      }
    },
    {
      "question": "103. Which security control involves isolating a system so it cannot directly access the Internet or internal networks?",
      "options": [
        "A. Sandboxing",
        "B. Load balancing",
        "C. Port forwarding",
        "D. VLAN trunking"
      ],
      "num_answers": 1,
      "answer": "A. Sandboxing",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Sandboxing isolates processes or systems to reduce attack impact.",
        "B": "❌ Load balancing distributes traffic.",
        "C": "❌ Port forwarding exposes services, not isolates them.",
        "D": "❌ VLAN trunking transports multiple VLANs across links."
      }
    },
    {
      "question": "104. Which tool is commonly used to detect rogue DHCP servers on a network?",
      "options": [
        "A. Yersinia",
        "B. DHCPing",
        "C. Netdiscover",
        "D. Dsniff"
      ],
      "num_answers": 1,
      "answer": "B. DHCPing",
      "answer_keys": ["B"],
      "explanations": {
        "B": "✅ DHCPing can send DHCP requests and detect rogue DHCP servers from unexpected responses.",
        "A": "❌ Yersinia attacks layer 2 protocols.",
        "C": "❌ Netdiscover performs ARP-based host discovery.",
        "D": "❌ Dsniff captures passwords, not DHCP anomalies."
      }
    },
    {
      "question": "105. Which protocol is primarily used to synchronize time across network devices?",
      "options": [
        "A. NTP",
        "B. RDP",
        "C. BGP",
        "D. ARP"
      ],
      "num_answers": 1,
      "answer": "A. NTP",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ The Network Time Protocol synchronizes clocks across systems.",
        "B": "❌ RDP is remote access.",
        "C": "❌ BGP is routing.",
        "D": "❌ ARP resolves MAC addresses."
      }
    },
    {
      "question": "106. Which vulnerability allows an attacker to inject malicious code into a webpage viewed by other users?",
      "options": [
        "A. XSS",
        "B. CSRF",
        "C. Directory traversal",
        "D. Clickjacking"
      ],
      "num_answers": 1,
      "answer": "A. XSS",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ XSS injects malicious scripts into otherwise legitimate webpages.",
        "B": "❌ CSRF forces user actions, not code injection.",
        "C": "❌ Directory traversal accesses files, not injects code.",
        "D": "❌ Clickjacking overlays hidden elements."
      }
    },
    {
      "question": "107. Which term refers to unauthorized modification of log files to hide attack traces?",
      "options": [
        "A. Log manipulation",
        "B. Log poisoning",
        "C. Anti-forensics",
        "D. Replay manipulation"
      ],
      "num_answers": 1,
      "answer": "C. Anti-forensics",
      "answer_keys": ["C"],
      "explanations": {
        "C": "✅ Anti-forensics aims to erase, modify, or corrupt evidence to evade detection.",
        "A": "❌ Generic term; not the CEH-specific term.",
        "B": "❌ Log poisoning inserts malicious entries, not hides traces.",
        "D": "❌ Replay manipulation refers to reusing captured data."
      }
    },
    {
      "question": "108. Which phase of risk management includes identifying potential threats and vulnerabilities?",
      "options": [
        "A. Risk identification",
        "B. Risk monitoring",
        "C. Risk quantification",
        "D. Risk mitigation"
      ],
      "num_answers": 1,
      "answer": "A. Risk identification",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Risk identification catalogs vulnerabilities, threats, and affected assets.",
        "B": "❌ Monitoring occurs after implementation.",
        "C": "❌ Quantification measures impact and likelihood.",
        "D": "❌ Mitigation reduces or eliminates risks."
      }
    },
    {
      "question": "109. What type of encryption does IPsec commonly use in ESP for confidentiality?",
      "options": [
        "A. AES",
        "B. SHA-1",
        "C. MD5",
        "D. RSA"
      ],
      "num_answers": 1,
      "answer": "A. AES",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ ESP commonly uses AES for symmetric encryption.",
        "B": "❌ SHA-1 is a hashing algorithm.",
        "C": "❌ MD5 is also hashing, not encryption.",
        "D": "❌ RSA is generally used for key exchange, not bulk encryption."
      }
    },
    {
      "question": "110. Which term describes the process of reducing unnecessary services and ports on a system?",
      "options": [
        "A. Hardening",
        "B. Enumeration",
        "C. Patching",
        "D. Obfuscation"
      ],
      "num_answers": 1,
      "answer": "A. Hardening",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Hardening reduces attack surface by disabling unnecessary components.",
        "B": "❌ Enumeration gathers data about targets.",
        "C": "❌ Patching updates vulnerable software.",
        "D": "❌ Obfuscation hides code functionality."
      }
    },
    {
      "question": "111. Which attack involves the attacker injecting malicious JavaScript into input fields that are stored by the application?",
      "options": [
        "A. Stored XSS",
        "B. Reflected XSS",
        "C. DOM XSS",
        "D. SQL injection"
      ],
      "num_answers": 1,
      "answer": "A. Stored XSS",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Stored XSS persists the malicious script on the server.",
        "B": "❌ Reflected XSS returns the script immediately in a response.",
        "C": "❌ DOM XSS exploits client-side scripts.",
        "D": "❌ SQL injection modifies SQL queries, not JavaScript."
      }
    },
    {
      "question": "112. Which tool can capture wireless packets and perform Wi-Fi cracking?",
      "options": [
        "A. Aircrack-ng",
        "B. Sqlmap",
        "C. Snort",
        "D. Netcat"
      ],
      "num_answers": 1,
      "answer": "A. Aircrack-ng",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Aircrack-ng captures and cracks Wi-Fi authentication keys.",
        "B": "❌ Sqlmap is for SQL injection testing.",
        "C": "❌ Snort is a network IDS.",
        "D": "❌ Netcat is a generic networking tool."
      }
    },
    {
      "question": "113. Which type of malware executes only when a specific condition is met?",
      "options": [
        "A. Logic bomb",
        "B. Rootkit",
        "C. Worm",
        "D. Bot"
      ],
      "num_answers": 1,
      "answer": "A. Logic bomb",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Logic bombs trigger malicious action on specific conditions.",
        "B": "❌ Rootkits hide malware.",
        "C": "❌ Worms self-replicate.",
        "D": "❌ Bots await remote commands."
      }
    },
    {
      "question": "114. Which term describes the process of gathering publicly accessible information about a target?",
      "options": [
        "A. OSINT",
        "B. MITM",
        "C. Footprinting",
        "D. Passive scanning"
      ],
      "num_answers": 1,
      "answer": "A. OSINT",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ OSINT uses public sources like websites, social media, and DNS.",
        "B": "❌ MITM is interception.",
        "C": "❌ Footprinting is broader than just public info; OSINT is a subset.",
        "D": "❌ Passive scanning is network listening."
      }
    },
    {
      "question": "115. Which IDS detection method compares activity to known patterns or signatures?",
      "options": [
        "A. Signature-based detection",
        "B. Anomaly-based detection",
        "C. Heuristic detection",
        "D. Behavioral detection"
      ],
      "num_answers": 1,
      "answer": "A. Signature-based detection",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Signature-based detection relies on known attack signatures.",
        "B": "❌ Anomaly detection identifies deviations from normal behavior.",
        "C": "❌ Heuristic uses rules to infer malicious behavior.",
        "D": "❌ Behavioral detection monitors actions over time."
      }
    },
    {
      "question": "116. Which term describes compromising multiple machines to create a distributed attack network?",
      "options": [
        "A. Botnet creation",
        "B. Pivoting",
        "C. Lateral movement",
        "D. Enumeration"
      ],
      "num_answers": 1,
      "answer": "A. Botnet creation",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Botnets utilize numerous compromised devices for attacks.",
        "B": "❌ Pivoting uses one compromised machine to access others.",
        "C": "❌ Lateral movement is moving within a network.",
        "D": "❌ Enumeration gathers target information."
      }
    },
    {
      "question": "117. Which DNS record type maps a hostname to an IPv4 address?",
      "options": [
        "A. A record",
        "B. AAAA record",
        "C. MX record",
        "D. PTR record"
      ],
      "num_answers": 1,
      "answer": "A. A record",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ A records map hostnames to IPv4 addresses.",
        "B": "❌ AAAA maps to IPv6.",
        "C": "❌ MX defines mail exchangers.",
        "D": "❌ PTR is reverse lookup."
      }
    },
    {
      "question": "118. Which Wi-Fi security protocol is considered the weakest?",
      "options": [
        "A. WEP",
        "B. WPA",
        "C. WPA2",
        "D. WPA3"
      ],
      "num_answers": 1,
      "answer": "A. WEP",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ WEP uses weak IVs and RC4, making it easily crackable.",
        "B": "❌ WPA improves over WEP.",
        "C": "❌ WPA2 with AES is strong.",
        "D": "❌ WPA3 is the strongest modern protocol."
      }
    },
    {
      "question": "119. Which attack exploits a web application's reliance on user-controlled parameters to redirect users to malicious websites?",
      "options": [
        "A. Open redirect",
        "B. XSS",
        "C. DNS hijacking",
        "D. Session poisoning"
      ],
      "num_answers": 1,
      "answer": "A. Open redirect",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Open redirect manipulates URL parameters to redirect victims.",
        "B": "❌ XSS injects scripts.",
        "C": "❌ DNS hijacking corrupts DNS records.",
        "D": "❌ Session poisoning tampers with session IDs."
      }
    },
    {
      "question": "120. Which SIEM component is responsible for identifying patterns inside event data?",
      "options": [
        "A. Correlation engine",
        "B. Collector",
        "C. Normalizer",
        "D. Dashboard"
      ],
      "num_answers": 1,
      "answer": "A. Correlation engine",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Correlation identifies multi-event attack patterns.",
        "B": "❌ Collectors gather logs.",
        "C": "❌ Normalizers convert to common formats.",
        "D": "❌ Dashboards visualize results."
      }
    },
    {
      "question": "121. Which type of firewall filters traffic based on packet headers only?",
      "options": [
        "A. Packet-filtering firewall",
        "B. Stateful firewall",
        "C. Application firewall",
        "D. Proxy firewall"
      ],
      "num_answers": 1,
      "answer": "A. Packet-filtering firewall",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Packet-filtering firewalls inspect source/destination IP, ports, and protocol only.",
        "B": "❌ Stateful firewalls track connection state.",
        "C": "❌ Application firewalls inspect payloads.",
        "D": "❌ Proxy firewalls relay and inspect traffic."
      }
    },
    {
      "question": "122. Which Nmap scan technique sends a packet with no flags set?",
      "options": [
        "A. NULL scan",
        "B. FIN scan",
        "C. Xmas scan",
        "D. SYN scan"
      ],
      "num_answers": 1,
      "answer": "A. NULL scan",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ NULL scans send TCP packets with no flags set.",
        "B": "❌ FIN scans send packets with only FIN.",
        "C": "❌ Xmas scans set FIN, PSH, URG.",
        "D": "❌ SYN scans send SYN packets."
      }
    },
    {
      "question": "123. Which attack involves stealing session cookies from a victim's browser?",
      "options": [
        "A. Session hijacking",
        "B. Buffer overflow",
        "C. DNS poisoning",
        "D. ARP flooding"
      ],
      "num_answers": 1,
      "answer": "A. Session hijacking",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Session hijacking allows attackers to impersonate authenticated users.",
        "B": "❌ Buffer overflow overwrites memory.",
        "C": "❌ DNS poisoning redirects domains.",
        "D": "❌ ARP flooding overwhelms switch CAM tables."
      }
    },
    {
      "question": "124. What tool would a penetration tester use to analyze Windows Registry hive files?",
      "options": [
        "A. RegRipper",
        "B. Cain & Abel",
        "C. Wireshark",
        "D. Autopsy"
      ],
      "num_answers": 1,
      "answer": "A. RegRipper",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ RegRipper extracts and parses Windows Registry artifacts.",
        "B": "❌ Cain & Abel cracks Windows passwords.",
        "C": "❌ Wireshark analyzes network packets.",
        "D": "❌ Autopsy is a digital forensics suite, not registry-focused."
      }
    },
    {
      "question": "125. Which scanning technique helps identify open UDP ports?",
      "options": [
        "A. Nmap -sU",
        "B. Nmap -sS",
        "C. Nmap -sA",
        "D. Nmap -sN"
      ],
      "num_answers": 1,
      "answer": "A. Nmap -sU",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ -sU performs UDP port scanning.",
        "B": "❌ -sS performs SYN scans for TCP.",
        "C": "❌ -sA performs ACK scans.",
        "D": "❌ -sN performs NULL scans."
      }
    }
  ]
}
