{
  "Exam 01-3: Final Exam Preparation": [
    {
      "question": "51. Which of the following attacks targets the physical medium by overwhelming the wireless spectrum with noise?",
      "options": [
        "A. Jamming attack",
        "B. Evil twin attack",
        "C. MAC spoofing",
        "D. Replay attack"
      ],
      "num_answers": 1,
      "answer": "A. Jamming attack",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Jamming floods the RF spectrum, disrupting wireless communication.",
        "B": "❌ Evil twin impersonates an AP.",
        "C": "❌ MAC spoofing changes MAC addresses.",
        "D": "❌ Replay reuses captured packets."
      }
    },
    {
      "question": "52. Which tool is used to perform banner grabbing?",
      "options": [
        "A. Netcat",
        "B. Wireshark",
        "C. Cain & Abel",
        "D. Metasploit"
      ],
      "num_answers": 1,
      "answer": "A. Netcat",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Netcat can connect to ports and retrieve banners via TCP or UDP.",
        "B": "❌ Wireshark is a packet analyzer.",
        "C": "❌ Cain & Abel is password recovery.",
        "D": "❌ Metasploit is an exploitation framework."
      }
    },
    {
      "question": "53. Which technique is commonly used to evade IDS detection?",
      "options": [
        "A. Fragmentation",
        "B. Full-connect scan",
        "C. Hash cracking",
        "D. TLS negotiation"
      ],
      "num_answers": 1,
      "answer": "A. Fragmentation",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Fragmenting packets can bypass signature matching in IDS systems.",
        "B": "❌ Full-connect scans are noisy.",
        "C": "❌ Hash cracking is unrelated to IDS evasion.",
        "D": "❌ TLS negotiation is legitimate encryption."
      }
    },
    {
      "question": "54. Which cryptographic attack attempts to find different inputs that produce the same hash output?",
      "options": [
        "A. Collision attack",
        "B. Birthday attack",
        "C. Brute-force attack",
        "D. Meet-in-the-middle attack"
      ],
      "num_answers": 1,
      "answer": "A. Collision attack",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ A collision attack aims to generate two inputs with the same hash.",
        "B": "❌ Birthday attack exploits collision probability but is not the general definition.",
        "C": "❌ Brute-force tries all inputs.",
        "D": "❌ Meet-in-the-middle targets block ciphers."
      }
    },
    {
      "question": "55. Which network attack intercepts communication between two parties by pretending to be both ends?",
      "options": [
        "A. Man-in-the-Middle",
        "B. Ransomware",
        "C. Session fixation",
        "D. Logic bomb"
      ],
      "num_answers": 1,
      "answer": "A. Man-in-the-Middle",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ MITM intercepts and relays communications without detection.",
        "B": "❌ Ransomware encrypts files.",
        "C": "❌ Session fixation forces session ID reuse.",
        "D": "❌ Logic bombs execute after triggers."
      }
    },

    {
      "question": "56. What technique does a SYN scan use to discover open ports?",
      "options": [
        "A. Half-open handshake",
        "B. Full-connect handshake",
        "C. UDP handshake",
        "D. ICMP echo"
      ],
      "num_answers": 1,
      "answer": "A. Half-open handshake",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ SYN scan sends SYN and waits for SYN/ACK without completing handshake.",
        "B": "❌ Full-connect is -sT.",
        "C": "❌ UDP has no handshake.",
        "D": "❌ ICMP is unrelated."
      }
    },
    {
      "question": "57. What is the purpose of a honeypot?",
      "options": [
        "A. Attract attackers and study behavior",
        "B. Encrypt sensitive data",
        "C. Speed up routing",
        "D. Patch vulnerabilities"
      ],
      "num_answers": 1,
      "answer": "A. Attract attackers and study behavior",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Honeypots lure attackers to observe techniques.",
        "B": "❌ Encryption is unrelated.",
        "C": "❌ Routing is networking.",
        "D": "❌ Patching is remediation."
      }
    },
    {
      "question": "58. Which of the following describes shoulder surfing?",
      "options": [
        "A. Observing credentials over someone's shoulder",
        "B. Reading network traffic packets",
        "C. Intercepting wireless signals",
        "D. Stealing authentication tokens"
      ],
      "num_answers": 1,
      "answer": "A. Observing credentials over someone's shoulder",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Shoulder surfing involves watching the victim’s screen or keystrokes.",
        "B": "❌ Packet capture is sniffing.",
        "C": "❌ Wireless interception is eavesdropping.",
        "D": "❌ Token theft is different."
      }
    },
    {
      "question": "59. Which vulnerability is caused by improper input validation?",
      "options": [
        "A. SQL Injection",
        "B. DoS",
        "C. VLAN hopping",
        "D. Password spraying"
      ],
      "num_answers": 1,
      "answer": "A. SQL Injection",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ SQLi occurs when user input is not sanitized.",
        "B": "❌ DoS is resource exhaustion.",
        "C": "❌ VLAN hopping is configuration abuse.",
        "D": "❌ Password spraying uses common passwords."
      }
    },
    {
      "question": "60. A hacker uses stolen session tokens to impersonate an authenticated user. What attack is this?",
      "options": [
        "A. Session hijacking",
        "B. Replay attack",
        "C. DNS poisoning",
        "D. ARP spoofing"
      ],
      "num_answers": 1,
      "answer": "A. Session hijacking",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Hijacking uses captured tokens/cookies.",
        "B": "❌ Replay reuses captured traffic.",
        "C": "❌ DNS poisoning corrupts DNS.",
        "D": "❌ ARP spoofing alters ARP tables."
      }
    },

    {
      "question": "61. Which type of virus encrypts its payload differently each time it spreads?",
      "options": [
        "A. Polymorphic virus",
        "B. Logic bomb",
        "C. Rootkit",
        "D. Botnet"
      ],
      "num_answers": 1,
      "answer": "A. Polymorphic virus",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Polymorphic viruses mutate code upon replication.",
        "B": "❌ Logic bombs trigger on conditions.",
        "C": "❌ Rootkits hide processes.",
        "D": "❌ Botnets are networks of bots."
      }
    },
    {
      "question": "62. Which port is used by SMTP?",
      "options": [
        "A. 25",
        "B. 53",
        "C. 443",
        "D. 143"
      ],
      "num_answers": 1,
      "answer": "A. 25",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ SMTP uses TCP port 25 for mail transfer.",
        "B": "❌ Port 53 is DNS.",
        "C": "❌ Port 443 is HTTPS.",
        "D": "❌ Port 143 is IMAP."
      }
    },
    {
      "question": "63. Which statement best describes a worm?",
      "options": [
        "A. Self-replicating malware that spreads without user interaction",
        "B. Software disguised as legitimate",
        "C. Malware requiring host file execution",
        "D. Program that records keystrokes"
      ],
      "num_answers": 1,
      "answer": "A. Self-replicating malware that spreads without user interaction",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Worms self-replicate automatically.",
        "B": "❌ That's a Trojan.",
        "C": "❌ Viruses need execution.",
        "D": "❌ Keyloggers track keystrokes."
      }
    },
    {
      "question": "64. What command is used on Linux to display open files?",
      "options": [
        "A. lsof",
        "B. netstat",
        "C. ps aux",
        "D. traceroute"
      ],
      "num_answers": 1,
      "answer": "A. lsof",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ lsof lists open files and sockets.",
        "B": "❌ netstat shows network connections.",
        "C": "❌ ps aux shows processes.",
        "D": "❌ traceroute maps network hops."
      }
    },
    {
      "question": "65. Which of the following is a symmetric encryption algorithm?",
      "options": [
        "A. AES",
        "B. RSA",
        "C. ECC",
        "D. Diffie-Hellman"
      ],
      "num_answers": 1,
      "answer": "A. AES",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ AES is a symmetric block cipher.",
        "B": "❌ RSA is asymmetric.",
        "C": "❌ ECC is asymmetric.",
        "D": "❌ Diffie-Hellman is key exchange."
      }
    },

    {
      "question": "66. Which attack attempts to guess the encryption key by analyzing patterns?",
      "options": [
        "A. Cryptanalysis",
        "B. Brute-force",
        "C. DoS",
        "D. Phishing"
      ],
      "num_answers": 1,
      "answer": "A. Cryptanalysis",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Cryptanalysis studies ciphers to derive keys.",
        "B": "❌ Brute-force tries all combinations.",
        "C": "❌ DoS exhausts resources.",
        "D": "❌ Phishing targets users."
      }
    },
    {
      "question": "67. Which tool can perform SQL injection testing automatically?",
      "options": [
        "A. sqlmap",
        "B. Aircrack-ng",
        "C. OpenVAS",
        "D. John the Ripper"
      ],
      "num_answers": 1,
      "answer": "A. sqlmap",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ sqlmap automates SQL injection exploitation.",
        "B": "❌ Aircrack-ng targets Wi-Fi.",
        "C": "❌ OpenVAS scans vulnerabilities.",
        "D": "❌ John cracks passwords."
      }
    },
    {
      "question": "68. What type of malware disguises itself as legitimate software?",
      "options": [
        "A. Trojan",
        "B. Worm",
        "C. Bot",
        "D. Ransomware"
      ],
      "num_answers": 1,
      "answer": "A. Trojan",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Trojans masquerade as genuine programs.",
        "B": "❌ Worms self-replicate.",
        "C": "❌ Bots await commands.",
        "D": "❌ Ransomware encrypts data."
      }
    },
    {
      "question": "69. Which Linux command displays listening ports?",
      "options": [
        "A. netstat -tulnp",
        "B. ls -la",
        "C. uname -a",
        "D. df -h"
      ],
      "num_answers": 1,
      "answer": "A. netstat -tulnp",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Shows TCP/UDP ports with process IDs.",
        "B": "❌ Lists files.",
        "C": "❌ Shows system info.",
        "D": "❌ Shows disk usage."
      }
    },
    {
      "question": "70. Which tool is used for password cracking via GPU acceleration?",
      "options": [
        "A. Hashcat",
        "B. Hydra",
        "C. Cain & Abel",
        "D. Burp Intruder"
      ],
      "num_answers": 1,
      "answer": "A. Hashcat",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Hashcat leverages GPUs for fast cracking.",
        "B": "❌ Hydra is online brute-force.",
        "C": "❌ Cain & Abel cracks Windows hashes.",
        "D": "❌ Intruder is for fuzzing/attacking web apps."
      }
    },

    {
      "question": "71. What is a common purpose of a rootkit?",
      "options": [
        "A. Hide malicious processes/files",
        "B. Encrypt files for ransom",
        "C. Spread across the network",
        "D. Intercept DNS queries"
      ],
      "num_answers": 1,
      "answer": "A. Hide malicious processes/files",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Rootkits hide malware from detection.",
        "B": "❌ Ransomware encrypts data.",
        "C": "❌ Worms spread laterally.",
        "D": "❌ DNS interception is MITM."
      }
    },
    {
      "question": "72. Which cloud service model gives full control over OS and applications to the user?",
      "options": [
        "A. IaaS",
        "B. PaaS",
        "C. SaaS",
        "D. FaaS"
      ],
      "num_answers": 1,
      "answer": "A. IaaS",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ IaaS provides VMs with OS-level control.",
        "B": "❌ PaaS controls OS/platform.",
        "C": "❌ SaaS provides only applications.",
        "D": "❌ FaaS runs functions only."
      }
    },
    {
      "question": "73. Which tool performs web server vulnerability scanning?",
      "options": [
        "A. Nikto",
        "B. Nmap",
        "C. Ettercap",
        "D. Wireshark"
      ],
      "num_answers": 1,
      "answer": "A. Nikto",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Nikto checks for outdated versions, misconfigurations, and dangerous files.",
        "B": "❌ Nmap scans ports/services.",
        "C": "❌ Ettercap performs MITM.",
        "D": "❌ Wireshark analyzes packets."
      }
    },
    {
      "question": "74. Which attack abuses trust between internal VLANs to gain access to another VLAN?",
      "options": [
        "A. VLAN hopping",
        "B. MITM",
        "C. MAC flooding",
        "D. ICMP redirection"
      ],
      "num_answers": 1,
      "answer": "A. VLAN hopping",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ VLAN hopping exploits switch configuration weaknesses.",
        "B": "❌ MITM intercepts traffic.",
        "C": "❌ MAC flooding targets CAM tables.",
        "D": "❌ ICMP redirect modifies routing."
      }
    },
    {
      "question": "75. Which SQL operator is commonly used in SQL injection to bypass authentication?",
      "options": [
        "A. OR '1'='1'",
        "B. AND TRUE",
        "C. NOT NULL",
        "D. SELECT *"
      ],
      "num_answers": 1,
      "answer": "A. OR '1'='1'",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ OR '1'='1' always evaluates true, bypassing login checks.",
        "B": "❌ AND TRUE does not always bypass auth.",
        "C": "❌ NOT NULL is not an injection bypass.",
        "D": "❌ SELECT * is a basic query."
      }
    }
  ]
}
