{
  "Exam 03-5: Final Exam Preparation": [
    {
      "question": "276. Linux file storing authentication events?",
      "options": [
        "A. /var/log/auth.log",
        "B. /var/log/boot.log",
        "C. /etc/shadow",
        "D. /etc/securetty"
      ],
      "num_answers": 1,
      "answer": "A. /var/log/auth.log",
      "answer_keys": ["A"]
    },

    {
      "question": "277. PowerShell equivalent of netstat?",
      "options": [
        "A. Get-NetTCPConnection",
        "B. Get-Command",
        "C. Get-Service",
        "D. Get-EventLog"
      ],
      "num_answers": 1,
      "answer": "A. Get-NetTCPConnection",
      "answer_keys": ["A"]
    },

    {
      "question": "278. Which attack forces browsers to make unintended requests?",
      "options": [
        "A. CSRF",
        "B. XSS",
        "C. SQLi",
        "D. Clickjacking"
      ],
      "num_answers": 1,
      "answer": "A. CSRF",
      "answer_keys": ["A"]
    },

    {
      "question": "279. Using Ettercap for ARP poisoning belongs to which phase?",
      "options": [
        "A. Gaining access",
        "B. Reconnaissance",
        "C. Covering tracks",
        "D. Reporting"
      ],
      "num_answers": 1,
      "answer": "A. Gaining access",
      "answer_keys": ["A"]
    },

    {
      "question": "280. Which is a symmetric encryption algorithm?",
      "options": [
        "A. AES",
        "B. RSA",
        "C. ECC",
        "D. Diffie-Hellman"
      ],
      "num_answers": 1,
      "answer": "A. AES",
      "answer_keys": ["A"]
    },

    {
      "question": "281. Which attack downgrades HTTPS to sniff plaintext traffic?",
      "options": [
        "A. SSL stripping",
        "B. DNS hijacking",
        "C. Smurf attack",
        "D. MAC flooding"
      ],
      "num_answers": 1,
      "answer": "A. SSL stripping",
      "answer_keys": ["A"]
    },

    {
      "question": "282. Main purpose of a SIEM?",
      "options": [
        "A. Centralized logging & correlation",
        "B. Packet sniffing",
        "C. Rootkit detection",
        "D. Wireless auditing"
      ],
      "num_answers": 1,
      "answer": "A. Centralized logging & correlation",
      "answer_keys": ["A"]
    },

    {
      "question": "283. Fake login page redirection is an example of?",
      "options": [
        "A. Credential harvesting",
        "B. Botnet control",
        "C. VLAN hopping",
        "D. Replay attack"
      ],
      "num_answers": 1,
      "answer": "A. Credential harvesting",
      "answer_keys": ["A"]
    },

    {
      "question": "284. Vulnerability allowing reading files outside webroot?",
      "options": [
        "A. Directory traversal",
        "B. IDOR",
        "C. CSRF",
        "D. Race condition"
      ],
      "num_answers": 1,
      "answer": "A. Directory traversal",
      "answer_keys": ["A"]
    },

    {
      "question": "285. Tool for Bluetooth hacking?",
      "options": [
        "A. BlueMaho",
        "B. Airgeddon",
        "C. Hydra",
        "D. Sqlmap"
      ],
      "num_answers": 1,
      "answer": "A. BlueMaho",
      "answer_keys": ["A"]
    },

    {
      "question": "286. Malicious scripts in logs executed by admins?",
      "options": [
        "A. Log injection",
        "B. Shellshock",
        "C. Log traversal",
        "D. Syscall hijacking"
      ],
      "num_answers": 1,
      "answer": "A. Log injection",
      "answer_keys": ["A"]
    },

    {
      "question": "287. Pen test with partial internal knowledge?",
      "options": [
        "A. Gray-box",
        "B. Black-box",
        "C. White-box",
        "D. Blind test"
      ],
      "num_answers": 1,
      "answer": "A. Gray-box",
      "answer_keys": ["A"]
    },

    {
      "question": "288. Wireless mode for direct client-to-client communication?",
      "options": [
        "A. Ad-hoc",
        "B. Infrastructure",
        "C. Monitor",
        "D. Repeater"
      ],
      "num_answers": 1,
      "answer": "A. Ad-hoc",
      "answer_keys": ["A"]
    },

    {
      "question": "289. SMB enumeration tool?",
      "options": [
        "A. smbclient",
        "B. netcat",
        "C. curl",
        "D. bpftrace"
      ],
      "num_answers": 1,
      "answer": "A. smbclient",
      "answer_keys": ["A"]
    },

    {
      "question": "290. Guessing email formats for phishing campaigns?",
      "options": [
        "A. Email harvesting",
        "B. Session fixation",
        "C. DLL hijacking",
        "D. Beaconing"
      ],
      "num_answers": 1,
      "answer": "A. Email harvesting",
      "answer_keys": ["A"]
    },

    {
      "question": "291. Linux utility showing live processes?",
      "options": [
        "A. top",
        "B. uname",
        "C. df",
        "D. pwd"
      ],
      "num_answers": 1,
      "answer": "A. top",
      "answer_keys": ["A"]
    },

    {
      "question": "292. Hash property preventing two different inputs from producing same output?",
      "options": [
        "A. Collision resistance",
        "B. Forward secrecy",
        "C. Entropy",
        "D. Key wrapping"
      ],
      "num_answers": 1,
      "answer": "A. Collision resistance",
      "answer_keys": ["A"]
    },

    {
      "question": "293. Tool detecting rogue access points?",
      "options": [
        "A. AirMagnet",
        "B. Sqlmap",
        "C. Hydra",
        "D. Zap Proxy"
      ],
      "num_answers": 1,
      "answer": "A. AirMagnet",
      "answer_keys": ["A"]
    },

    {
      "question": "294. Exploit via insecure object deserialization?",
      "options": [
        "A. Remote Code Execution",
        "B. DNS rebinding",
        "C. Port redirection",
        "D. Replay mapping"
      ],
      "num_answers": 1,
      "answer": "A. Remote Code Execution",
      "answer_keys": ["A"]
    },

    {
      "question": "295. EU law regulating personal data?",
      "options": [
        "A. GDPR",
        "B. HIPAA",
        "C. SOX",
        "D. FIPS 140-2"
      ],
      "num_answers": 1,
      "answer": "A. GDPR",
      "answer_keys": ["A"]
    },

    {
      "question": "296. Defense against DNS spoofing?",
      "options": [
        "A. DNSSEC",
        "B. WEP",
        "C. MAC filtering",
        "D. VLAN pruning"
      ],
      "num_answers": 1,
      "answer": "A. DNSSEC",
      "answer_keys": ["A"]
    },

    {
      "question": "297. Tool for verifying Windows file signatures?",
      "options": [
        "A. sfc /scannow",
        "B. netstat",
        "C. diskpart",
        "D. msinfo32"
      ],
      "num_answers": 1,
      "answer": "A. sfc /scannow",
      "answer_keys": ["A"]
    },

    {
      "question": "298. Manipulating serialized objects to escalate privileges?",
      "options": [
        "A. Insecure deserialization",
        "B. IDOR",
        "C. CRLF injection",
        "D. XML injection"
      ],
      "num_answers": 1,
      "answer": "A. Insecure deserialization",
      "answer_keys": ["A"]
    },

    {
      "question": "299. Attack exploiting weak or predictable session IDs?",
      "options": [
        "A. Session hijacking",
        "B. Replay attack",
        "C. Buffer overflow",
        "D. LFI"
      ],
      "num_answers": 1,
      "answer": "A. Session hijacking",
      "answer_keys": ["A"]
    },

    {
      "question": "300. Vulnerability scanning technique using NO direct interaction?",
      "options": [
        "A. Passive scanning",
        "B. Active scanning",
        "C. Credentialed scanning",
        "D. Authenticated enumeration"
      ],
      "num_answers": 1,
      "answer": "A. Passive scanning",
      "answer_keys": ["A"]
    },
	  {
      "question": "301. Which type of malware spreads from one system to another or from one network to another and causes similar types of damage as viruses do to the infected system?",
      "options": [
        "A. Worm",
        "B. Rootkit",
        "C. Adware",
        "D. Trojan"
      ],
      "num_answers": 1,
      "answer": "A. Worm",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Worms are self-replicating malware capable of spreading across systems and networks without user interaction.",
        "B": "❌ Rootkits hide malicious processes but do not self-replicate.",
        "C": "❌ Adware displays unwanted advertisements, not typically self-spreading.",
        "D": "❌ Trojans require user execution and do not self-propagate like worms."
      }
    },

    {
      "question": "302. Which is the first step followed by vulnerability scanners for scanning a network?",
      "options": [
        "A. OS Detection",
        "B. Firewall Detection",
        "C. TCP/UDP Port Scanning",
        "D. Checking if the remote host is alive"
      ],
      "num_answers": 1,
      "answer": "D. Checking if the remote host is alive",
      "answer_keys": ["D"],
      "explanations": {
        "D": "✅ Vulnerability scanners first perform host discovery (ping sweep) to check if a remote host is online before scanning it.",
        "A": "❌ OS detection happens only after identifying active hosts.",
        "B": "❌ Firewall detection is part of deeper scanning later in the process.",
        "C": "❌ Port scanning is performed after confirming the host is alive."
      }
    }
  ]
}
