{
  "Module 21: Zero Trust & Authentication": [
    {
      "question": "1. Which of the following best describes a Zero Trust network model?",
      "options": [
        "A. A security model that trusts internal users and devices by default once inside the perimeter.",
        "B. A network architecture that relies only on a firewall at the edge.",
        "C. A security model that assumes no implicit trust for any user or device and verifies every access request.",
        "D. A network architecture that allows all traffic to flow freely without any restrictions."
      ],
      "num_answers": 1,
      "answer": "C. A security model that assumes no implicit trust for any user or device and verifies every access request.",
      "answer_keys": ["C"],
      "explanations": {
        "C": "✅ Zero Trust assumes every connection is untrusted and requires continuous verification.",
        "A": "❌ This describes legacy perimeter-based security.",
        "B": "❌ A single firewall is not Zero Trust.",
        "D": "❌ Zero Trust is restrictive, not open to all traffic."
      }
    },
    {
      "question": "2. Which of the following security concepts emphasizes the need for continuous verification and validation of every access request, regardless of whether it originates from inside or outside the network perimeter?",
      "options": [
        "A. Defense in Depth",
        "B. Security by Obscurity",
        "C. Principle of Least Privilege",
        "D. Zero Trust Network"
      ],
      "num_answers": 1,
      "answer": "D. Zero Trust Network",
      "answer_keys": ["D"],
      "explanations": {
        "D": "✅ Zero Trust requires verification for every request, internal or external.",
        "A": "❌ Defense in Depth is layered controls, not continuous verification.",
        "B": "❌ Security by Obscurity relies on hiding details, which is weak.",
        "C": "❌ Least privilege limits rights but does not enforce continuous verification alone."
      }
    },
    {
      "question": "3. What method would you suggest for securing resources such that every incoming connection is treated as unauthenticated, verified before access, and users can only access what is required for their role?",
      "options": [
        "A. Virtualization",
        "B. Containerization",
        "C. Zero trust network",
        "D. DMZ"
      ],
      "num_answers": 1,
      "answer": "C. Zero trust network",
      "answer_keys": ["C"],
      "explanations": {
        "C": "✅ Zero Trust enforces strict verification and least-privilege access per role.",
        "A": "❌ Virtualization is about running multiple OS instances.",
        "B": "❌ Containerization isolates apps, not full Zero Trust policy.",
        "D": "❌ A DMZ segments external services but is still perimeter-based."
      }
    },
    {
      "question": "4. Which of the following best describes the function of RADIUS?",
      "options": [
        "A. RADIUS is used for encrypting the data",
        "B. RADIUS is used for interpreting the network traffic",
        "C. RADIUS is used for creation of backdoor",
        "D. RADIUS is used for authenticating the users"
      ],
      "num_answers": 1,
      "answer": "D. RADIUS is used for authenticating the users",
      "answer_keys": ["D"],
      "explanations": {
        "D": "✅ RADIUS provides central authentication (and accounting) for users.",
        "A": "❌ It may protect credentials but is not a general data encryption tool.",
        "B": "❌ It doesn’t interpret traffic; that’s IDS/IPS or analyzers.",
        "C": "❌ Backdoors are malicious; RADIUS is a legit AAA protocol."
      }
    },
    {
      "question": "5. Which of the following services provides centralized authentication, authorization, and accounting (AAA) management for users accessing Wi-Fi or VPN through a central authentication server?",
      "options": [
        "A. KERBEROS",
        "B. RADIUS",
        "C. NMAP",
        "D. NTP"
      ],
      "num_answers": 1,
      "answer": "B. RADIUS",
      "answer_keys": ["B"],
      "explanations": {
        "B": "✅ RADIUS is widely used for AAA with Wi-Fi, VPN, and dial-in access.",
        "A": "❌ Kerberos is ticket-based authentication, mainly in AD domains.",
        "C": "❌ Nmap is a port scanner.",
        "D": "❌ NTP synchronizes time."
      }
    },
    {
      "question": "6. Which of the following statements best describes Mandatory Access Control (MAC)?",
      "options": [
        "A. Users have discretion to determine access permissions for their resources.",
        "B. Access permissions are determined and enforced by system administrators.",
        "C. Access decisions are based on the resource owner's judgment and policies.",
        "D. Access control is flexible and can be modified by individual users."
      ],
      "num_answers": 1,
      "answer": "B. Access permissions are determined and enforced by system administrators.",
      "answer_keys": ["B"],
      "explanations": {
        "B": "✅ MAC uses centrally defined labels and classifications controlled by admins.",
        "A": "❌ This describes DAC.",
        "C": "❌ Owner-based decisions are DAC.",
        "D": "❌ User-modifiable permissions are DAC, not MAC."
      }
    },
    {
      "question": "7. Which of the following statements best describes Discretionary Access Control (DAC)?",
      "options": [
        "A. Access permissions are determined and enforced by system administrators.",
        "B. Users have full control to modify access permissions for their resources.",
        "C. Access decisions are based on security classifications or labels.",
        "D. Access control is centrally managed and enforced by a central authority."
      ],
      "num_answers": 1,
      "answer": "B. Users have full control to modify access permissions for their resources.",
      "answer_keys": ["B"],
      "explanations": {
        "B": "✅ In DAC, the resource owner decides who can access their objects.",
        "A": "❌ That’s MAC or RBAC.",
        "C": "❌ Labels and classifications are typical for MAC.",
        "D": "❌ Central enforcement is not discretionary."
      }
    },
    {
      "question": "8. At HDA Inc., only authorized employees can enter a mission-critical data center by facial recognition and scanning an RFID employee card. This arrangement is commonly referred to as:",
      "options": [
        "A. Single factor authentication",
        "B. Two factor authentication",
        "C. Multiple factor authentication",
        "D. Redundancy based authentication"
      ],
      "num_answers": 1,
      "answer": "B. Two factor authentication",
      "answer_keys": ["B"],
      "explanations": {
        "B": "✅ Two different factors: something you are (face) + something you have (RFID card).",
        "A": "❌ Single factor uses only one category (e.g., only password).",
        "C": "❌ Multi-factor is correct in general, but exam style usually calls two distinct factors 'two factor'.",
        "D": "❌ Not a standard term in authentication factors."
      }
    },
    {
      "question": "9. For one data center, employees at HDA Inc. must enter a password and a numeric PIN. This arrangement is best described as:",
      "options": [
        "A. Single factor authentication",
        "B. Two factor authentication",
        "C. Multiple factor authentication",
        "D. Redundancy based authentication"
      ],
      "num_answers": 1,
      "answer": "A. Single factor authentication",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Both password and PIN are 'something you know' → one factor, multiple credentials.",
        "B": "❌ Two factor requires two different factor types (know/have/are).",
        "C": "❌ Multiple factor implies multiple different factor categories.",
        "D": "❌ Not a recognized factor type."
      }
    },
    {
      "question": "10. Given the classic factors of authentication, an access card will be treated as:",
      "options": [
        "A. Something you know",
        "B. Something you have",
        "C. Something you are",
        "D. Something you know and have"
      ],
      "num_answers": 1,
      "answer": "B. Something you have",
      "answer_keys": ["B"],
      "explanations": {
        "B": "✅ Cards, tokens, and smartcards are possession factors.",
        "A": "❌ Knowledge factors are passwords/PINs.",
        "C": "❌ Biometric traits are 'something you are'.",
        "D": "❌ Each credential maps to one primary factor."
      }
    },
    {
      "question": "11. Within the three authentication factors, a PIN is classified as:",
      "options": [
        "A. Something you know",
        "B. Something you have",
        "C. Something you are",
        "D. Something you know and have"
      ],
      "num_answers": 1,
      "answer": "A. Something you know",
      "answer_keys": ["A"],
      "explanations": {
            "A": "✅ PINs, passwords, and security questions are knowledge factors.",
            "B": "❌ 'Have' refers to tokens, cards, or devices.",
            "C": "❌ 'Are' refers to biometrics.",
            "D": "❌ A PIN alone is not both know and have."
      }
    },
    {
      "question": "12. A credit card transaction requires swiping the card and entering a PIN. The card and PIN together can be described as:",
      "options": [
        "A. Something you know and something you are",
        "B. Something you have and something you are",
        "C. Something you have and something you know",
        "D. Something you have and something you have"
      ],
      "num_answers": 1,
      "answer": "C. Something you have and something you know",
      "answer_keys": ["C"],
      "explanations": {
        "C": "✅ Card = 'have', PIN = 'know' → classic two-factor combination.",
        "A": "❌ 'Are' is biometric.",
        "B": "❌ No biometric factor here.",
        "D": "❌ They are different factor types, not both 'have'."
      }
    },
    {
      "question": "13. Which of the following statements best describes password salting?",
      "options": [
        "A. Encrypting sensitive data to prevent unauthorized access.",
        "B. Guessing a password by trying every possible combination of characters.",
        "C. Adding random data to a password before hashing it to make it harder to crack.",
        "D. Sending a code to a user's phone to verify their identity."
      ],
      "num_answers": 1,
      "answer": "C. Adding random data to a password before hashing it to make it harder to crack.",
      "answer_keys": ["C"],
      "explanations": {
        "C": "✅ Salting adds randomness to each password hash to defeat precomputed tables.",
        "A": "❌ That describes encryption, not salting.",
        "B": "❌ That’s brute force.",
        "D": "❌ That describes SMS/OTP-style MFA."
      }
    },
    {
      "question": "14. Which of the following statements best describes a rainbow table attack?",
      "options": [
        "A. An attack that tries every possible password combination.",
        "B. An attack that intercepts data in transit between two parties.",
        "C. An attack that uses precomputed tables of hashed passwords to crack a target password.",
        "D. An attack that sends malicious emails to trick users into revealing credentials."
      ],
      "num_answers": 1,
      "answer": "C. An attack that uses precomputed tables of hashed passwords to crack a target password.",
      "answer_keys": ["C"],
      "explanations": {
        "C": "✅ Rainbow tables are precomputed hash lists used to reverse weak hashes.",
        "A": "❌ That is brute force.",
        "B": "❌ That is a man-in-the-middle/sniffing attack.",
        "D": "❌ That is phishing/social engineering."
      }
    },
    {
      "question": "15. Danny, a black hat hacker, is executing a rainbow table attack against a critical database at HDA Inc. He notes that extra random characters were added to stored passwords, and the attack fails. This indicates that HDA Inc. has implemented:",
      "options": [
        "A. Two factor authentication",
        "B. Encryption",
        "C. Password salting",
        "D. Password masking"
      ],
      "num_answers": 1,
      "answer": "C. Password salting",
      "answer_keys": ["C"],
      "explanations": {
        "C": "✅ Salting breaks precomputed rainbow tables by altering the hash input.",
        "A": "❌ MFA doesn’t directly stop rainbow tables against stored hashes.",
        "B": "❌ Encryption helps, but the question specifically matches salting behavior.",
        "D": "❌ Masking hides input on screen; it doesn’t protect stored hashes."
      }
    },
    {
      "question": "16. The technique of adding extra characters to a user-submitted password before hashing, to provide protection against rainbow and dictionary attacks, is known as:",
      "options": [
        "A. Encryption",
        "B. Salting",
        "C. Reduced sign on",
        "D. Single sign on"
      ],
      "num_answers": 1,
      "answer": "B. Salting",
      "answer_keys": ["B"],
      "explanations": {
        "B": "✅ Salting adds random data before hashing.",
        "A": "❌ Encryption is reversible and different from hashing.",
        "C": "❌ Reduced Sign On is about fewer logins.",
        "D": "❌ SSO allows one login for multiple apps."
      }
    },
    {
      "question": "17. Which of the following Linux files commonly contains a history of previous commands, including login attempts or SSH commands?",
      "options": [
        "A. Bash_history",
        "B. .bash_logout",
        "C. .viminfo",
        "D. .gnupg/gpg-agent.conf"
      ],
      "num_answers": 1,
      "answer": "A. Bash_history",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ .bash_history stores command history, which may include login commands and usernames.",
        "B": "❌ .bash_logout is executed when a shell exits.",
        "C": "❌ .viminfo stores Vim editor history.",
        "D": "❌ gpg-agent.conf configures GPG agent behavior."
      }
    },
    {
      "question": "18. HDA Inc. implements two factor authentication using a smartcard and PIN. How are these two factors classified?",
      "options": [
        "A. Something you are and something you have",
        "B. Something you are and something you know",
        "C. Something you have and something you know",
        "D. Something you are, something you have and something you know"
      ],
      "num_answers": 1,
      "answer": "C. Something you have and something you know",
      "answer_keys": ["C"],
      "explanations": {
        "C": "✅ Smartcard = 'have'; PIN = 'know' → classic 2FA combination.",
        "A": "❌ No biometric here.",
        "B": "❌ No biometric factor.",
        "D": "❌ Only two factors are present, not all three."
      }
    },
    {
      "question": "19. Which technique is used to increase the security of encryption keys by feeding an initial key into an algorithm that outputs a stronger key resistant to brute-force attacks?",
      "options": [
        "A. Key generator",
        "B. Key stretching",
        "C. Key enhancer",
        "D. Key maker"
      ],
      "num_answers": 1,
      "answer": "B. Key stretching",
      "answer_keys": ["B"],
      "explanations": {
        "B": "✅ Key stretching (e.g., PBKDF2, bcrypt, scrypt) makes weak keys harder to brute-force.",
        "A": "❌ A generic term; not the specific security concept.",
        "C": "❌ Not a standard term.",
        "D": "❌ Not a recognized security technique."
      }
    },
    {
      "question": "20. Which of the following best describes a rainbow attack?",
      "options": [
        "A. A type of brute-force attack that uses precomputed hash tables to crack passwords",
        "B. An attack that targets wireless networks by capturing and analyzing traffic",
        "C. A social engineering attack that manipulates individuals",
        "D. Malware that encrypts files and demands ransom"
      ],
      "num_answers": 1,
      "answer": "A. A type of brute-force attack that uses precomputed hash tables to crack passwords",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Rainbow attacks rely on precomputed hash chains (rainbow tables) to speed cracking.",
        "B": "❌ That describes wireless sniffing/attacks.",
        "C": "❌ That is social engineering, not rainbow tables.",
        "D": "❌ That describes ransomware."
      }
    },
    {
      "question": "21. Using 'something you know', 'something you have', and 'something you are' together in one login process is an example of:",
      "options": [
        "A. Single factor authentication",
        "B. Two factor authentication",
        "C. Multi-factor authentication",
        "D. Reduced sign on"
      ],
      "num_answers": 1,
      "answer": "C. Multi-factor authentication",
      "answer_keys": ["C"],
      "explanations": {
        "C": "✅ Multi-factor means two or more different factor categories in the same authentication.",
        "A": "❌ Single factor uses only one type.",
        "B": "❌ Two factor uses exactly two factors.",
        "D": "❌ Reduced sign on is about fewer logins, not factor types."
      }
    },
    {
      "question": "22. Which AAA protocol is most commonly used for device administration on routers, switches, and firewalls rather than Wi-Fi or VPN user access?",
      "options": [
        "A. RADIUS",
        "B. TACACS+",
        "C. Kerberos",
        "D. LDAP"
      ],
      "num_answers": 1,
      "answer": "B. TACACS+",
      "answer_keys": ["B"],
      "explanations": {
        "B": "✅ TACACS+ is preferred for network device admin; it separates AAA and encrypts full payload.",
        "A": "❌ RADIUS is more common for Wi-Fi/VPN user authentication.",
        "C": "❌ Kerberos is used for domain authentication.",
        "D": "❌ LDAP is a directory protocol, not specifically for device admin AAA."
      }
    },
    {
      "question": "23. Which control BEST mitigates credential stuffing attacks against web applications?",
      "options": [
        "A. Longer session timeouts",
        "B. Multi-factor authentication (MFA)",
        "C. Disabling account lockout",
        "D. Storing passwords in plain text for faster comparison"
      ],
      "num_answers": 1,
      "answer": "B. Multi-factor authentication (MFA)",
      "answer_keys": ["B"],
      "explanations": {
        "B": "✅ MFA makes stolen username/password pairs insufficient by themselves.",
        "A": "❌ Longer sessions often increase risk.",
        "C": "❌ Disabling lockout can help attackers.",
        "D": "❌ Plain text storage is a severe vulnerability."
      }
    },
    {
      "question": "24. In a Zero Trust design at HDA Inc., breaking the network into many small, isolated segments with their own access policies is known as:",
      "options": [
        "A. Network address translation",
        "B. Micro-segmentation",
        "C. VLAN trunking",
        "D. Port mirroring"
      ],
      "num_answers": 1,
      "answer": "B. Micro-segmentation",
      "answer_keys": ["B"],
      "explanations": {
        "B": "✅ Micro-segmentation limits lateral movement by enforcing fine-grained access controls.",
        "A": "❌ NAT hides internal addresses but doesn’t segment trust zones.",
        "C": "❌ VLANs segment broadcast domains, but without Zero Trust policies alone.",
        "D": "❌ Port mirroring is used for monitoring traffic."
      }
    },
    {
      "question": "25. Which design principle is MOST aligned with both Zero Trust and modern authentication strategy?",
      "options": [
        "A. 'Trust but verify' and broad admin rights for all users",
        "B. 'Never trust, always verify' and enforce least privilege access per identity",
        "C. 'Allow all internal traffic' and block only external connections",
        "D. 'One shared account per team' to simplify access management"
      ],
      "num_answers": 1,
      "answer": "B. 'Never trust, always verify' and enforce least privilege access per identity",
      "answer_keys": ["B"],
      "explanations": {
        "B": "✅ Zero Trust combines continuous verification with least privilege per user/device.",
        "A": "❌ Broad admin rights contradict least privilege.",
        "C": "❌ Allowing all internal traffic contradicts Zero Trust.",
        "D": "❌ Shared accounts reduce accountability and traceability."
      }
    }
  ]
}
