{
  "Exam 02-5: Final Exam Preparation": [
    {
      "question": "251. Which attack involves modifying the HOSTS file to redirect users from legitimate websites to malicious ones?",
      "options": [
        "A. Pharming",
        "B. Phishing",
        "C. Spoofing",
        "D. Vishing"
      ],
      "num_answers": 1,
      "answer": "A. Pharming",
      "answer_keys": ["A"]
    },
    {
      "question": "252. A penetration tester runs the command 'hydra -l admin -P passwords.txt ftp://10.0.0.5'. What type of attack is being performed?",
      "options": [
        "A. Password brute force",
        "B. Man-in-the-middle",
        "C. Dictionary injection",
        "D. Banner grabbing"
      ],
      "num_answers": 1,
      "answer": "A. Password brute force",
      "answer_keys": ["A"]
    },
    {
      "question": "253. Which type of vulnerability scanning is performed WITHOUT authentication?",
      "options": [
        "A. Uncredentialed scan",
        "B. Credentialed scan",
        "C. Passive scan",
        "D. Wireless survey scan"
      ],
      "num_answers": 1,
      "answer": "A. Uncredentialed scan",
      "answer_keys": ["A"]
    },
    {
      "question": "254. Which tool is commonly used to automate exploitation during penetration testing?",
      "options": [
        "A. Metasploit",
        "B. Wireshark",
        "C. Nikto",
        "D. Nmap"
      ],
      "num_answers": 1,
      "answer": "A. Metasploit",
      "answer_keys": ["A"]
    },
    {
      "question": "255. Which HTTP status code indicates a 'Forbidden' error?",
      "options": [
        "A. 403",
        "B. 404",
        "C. 500",
        "D. 301"
      ],
      "num_answers": 1,
      "answer": "A. 403",
      "answer_keys": ["A"]
    },
    {
      "question": "256. Which type of malware hides its presence by modifying low-level OS components, including kernel modules?",
      "options": [
        "A. Rootkit",
        "B. Worm",
        "C. Trojan",
        "D. Bot"
      ],
      "num_answers": 1,
      "answer": "A. Rootkit",
      "answer_keys": ["A"]
    },
    {
      "question": "257. Which of the following is a technique used to bypass WAF detection by changing payload encoding?",
      "options": [
        "A. Input obfuscation",
        "B. DNS poisoning",
        "C. ARP flooding",
        "D. SSL stripping"
      ],
      "num_answers": 1,
      "answer": "A. Input obfuscation",
      "answer_keys": ["A"]
    },
    {
      "question": "258. Which wireless encryption method uses a static key and is easily broken using tools like Aircrack-ng?",
      "options": [
        "A. WEP",
        "B. WPA3",
        "C. WPA2-Enterprise",
        "D. EAP-TLS"
      ],
      "num_answers": 1,
      "answer": "A. WEP",
      "answer_keys": ["A"]
    },
    {
      "question": "259. What does the 'TTL' field in an IP packet represent?",
      "options": [
        "A. Time to Live",
        "B. Transmission Type Level",
        "C. Total Traffic Load",
        "D. Terminal Transfer Loop"
      ],
      "num_answers": 1,
      "answer": "A. Time to Live",
      "answer_keys": ["A"]
    },
    {
      "question": "260. Which tool is often used to perform banner grabbing?",
      "options": [
        "A. Netcat",
        "B. Cain & Abel",
        "C. Burp Suite",
        "D. Wireshark"
      ],
      "num_answers": 1,
      "answer": "A. Netcat",
      "answer_keys": ["A"]
    },
    {
      "question": "261. Which cybersecurity framework categorizes functions as Identify, Protect, Detect, Respond, and Recover?",
      "options": [
        "A. NIST CSF",
        "B. MITRE ATT&CK",
        "C. CIS Controls",
        "D. ISO 27005"
      ],
      "num_answers": 1,
      "answer": "A. NIST CSF",
      "answer_keys": ["A"]
    },
    {
      "question": "262. An attacker exploits a buffer overflow vulnerability to execute shellcode. What is the main cause of such vulnerabilities?",
      "options": [
        "A. Lack of input validation",
        "B. Weak firewall rules",
        "C. Incorrect router configuration",
        "D. Unsafe encryption algorithms"
      ],
      "num_answers": 1,
      "answer": "A. Lack of input validation",
      "answer_keys": ["A"]
    },
    {
      "question": "263. Which Android hacking framework is used to create malicious APKs for penetration testing?",
      "options": [
        "A. AndroRAT",
        "B. Kismet",
        "C. Nikto",
        "D. FOCA"
      ],
      "num_answers": 1,
      "answer": "A. AndroRAT",
      "answer_keys": ["A"]
    },
    {
      "question": "264. Which type of assessment simulates a real-world attack without prior knowledge provided to the tester?",
      "options": [
        "A. Black-box testing",
        "B. White-box testing",
        "C. Gray-box testing",
        "D. Code review testing"
      ],
      "num_answers": 1,
      "answer": "A. Black-box testing",
      "answer_keys": ["A"]
    },
    {
      "question": "265. Which tool is commonly used for DNS enumeration?",
      "options": [
        "A. DNSenum",
        "B. sqlmap",
        "C. Hydra",
        "D. Ettercap"
      ],
      "num_answers": 1,
      "answer": "A. DNSenum",
      "answer_keys": ["A"]
    },
    {
      "question": "266. Which cyberattack attempts to exhaust all possible keys to decrypt ciphertext?",
      "options": [
        "A. Brute-force attack",
        "B. Replay attack",
        "C. Session fixation",
        "D. Downgrade attack"
      ],
      "num_answers": 1,
      "answer": "A. Brute-force attack",
      "answer_keys": ["A"]
    },
    {
      "question": "267. Which HTTP method is most commonly used to retrieve resources from a server?",
      "options": [
        "A. GET",
        "B. POST",
        "C. PUT",
        "D. DELETE"
      ],
      "num_answers": 1,
      "answer": "A. GET",
      "answer_keys": ["A"]
    },
    {
      "question": "268. Which of the following is an example of a DoS attack targeting wireless networks?",
      "options": [
        "A. Deauthentication flooding",
        "B. Smurf attack",
        "C. DNS amplification",
        "D. Port scanning"
      ],
      "num_answers": 1,
      "answer": "A. Deauthentication flooding",
      "answer_keys": ["A"]
    },
    {
      "question": "269. What is the purpose of the 'robots.txt' file?",
      "options": [
        "A. Provide instructions to web crawlers",
        "B. Store session tokens",
        "C. Define API endpoints",
        "D. Hide server logs"
      ],
      "num_answers": 1,
      "answer": "A. Provide instructions to web crawlers",
      "answer_keys": ["A"]
    },
    {
      "question": "270. Which attack involves sending two conflicting HTTP requests to mislead front-end and back-end servers?",
      "options": [
        "A. HTTP request smuggling",
        "B. Host header attack",
        "C. XSS",
        "D. Cache poisoning"
      ],
      "num_answers": 1,
      "answer": "A. HTTP request smuggling",
      "answer_keys": ["A"]
    },
    {
      "question": "271. Which wireless attack attempts to guess the WPS PIN to recover the WPA/WPA2 passphrase?",
      "options": [
        "A. WPS brute force",
        "B. Rogue AP attack",
        "C. Jamming attack",
        "D. MAC spoofing"
      ],
      "num_answers": 1,
      "answer": "A. WPS brute force",
      "answer_keys": ["A"]
    },
    {
      "question": "272. Which Linux command prints the routing table?",
      "options": [
        "A. route -n",
        "B. cat /proc/cpuinfo",
        "C. chmod 644",
        "D. tail -f /var/log/auth.log"
      ],
      "num_answers": 1,
      "answer": "A. route -n",
      "answer_keys": ["A"]
    },
    {
      "question": "273. Which vulnerability arises when user-supplied values are used to build file system paths?",
      "options": [
        "A. Directory traversal",
        "B. SQL injection",
        "C. CSRF",
        "D. XML injection"
      ],
      "num_answers": 1,
      "answer": "A. Directory traversal",
      "answer_keys": ["A"]
    },
    {
      "question": "274. Which protocol does OAuth 2.0 primarily use for authorization?",
      "options": [
        "A. HTTP/HTTPS",
        "B. SMTP",
        "C. FTP",
        "D. SMB"
      ],
      "num_answers": 1,
      "answer": "A. HTTP/HTTPS",
      "answer_keys": ["A"]
    },
    {
      "question": "275. Which of the following tools is used to generate custom payloads for bypassing AV detection?",
      "options": [
        "A. Veil-Evasion",
        "B. Wireshark",
        "C. Kismet",
        "D. Sqlmap"
      ],
      "num_answers": 1,
      "answer": "A. Veil-Evasion",
      "answer_keys": ["A"]
    }
  ]
}
