MCQs / Computer Science / NSCT: Cyber Security

NSCT: Cyber Security MCQs — Computer Science (page 5)

149 multiple-choice questions on NSCT: Cyber Security from Computer Science, each with the correct answer and, where available, a teacher's explanation. Read through them to revise the chapter, then practise the same questions one by one to test yourself.

101. A password is 8 characters long and uses lowercase letters only (26 possible characters). How many possible passwords are there?

  1. 8^26
  2. 26 × 8
  3. 26^8
  4. 26^7

Answer: C) 26^8

Explanation: Each of the 8 positions has 26 choices: 26^8 = 208,827,064,576. Lesson 10.2 · Cyber Security

Discuss this question

102. Malware that encrypts a victim's files and demands payment is:

  1. A worm only
  2. Spyware
  3. Adware
  4. Ransomware

Answer: D) Ransomware

Explanation: Offline backups are the best recovery. Lesson 10.1 · Cyber Security

Discuss this question

103. How many hexadecimal characters are in a SHA-1 hash (160 bits)?

  1. 20
  2. 80
  3. 40
  4. 160

Answer: C) 40

Explanation: Each hex character is 4 bits: 160 ÷ 4 = 40. Lesson 10.2 · Cyber Security

Discuss this question

104. How many possible keys does a 128-bit key have?

  1. 2 × 128
  2. 2^128
  3. 128^2
  4. 2^127

Answer: B) 2^128

Explanation: Each bit doubles the key space: 2^128. Lesson 10.2 · Cyber Security

Discuss this question

105. A system that detects suspicious traffic and actively blocks it is an:

  1. IDS
  2. IPS
  3. DMZ
  4. Proxy cache

Answer: B) IPS

Explanation: An IDS only alerts. Lesson 10.3 · Cyber Security

Discuss this question

106. Wireshark is a tool for:

  1. Compiling C code
  2. Capturing and analysing network packets
  3. Cracking Wi-Fi only
  4. Managing databases

Answer: B) Capturing and analysing network packets

Explanation: A packet analyser (sniffer). Lesson 10.3 · Cyber Security

Discuss this question

107. To send a confidential message to Sara using public-key cryptography, encrypt it with:

  1. Sara's public key
  2. Sara's private key
  3. Your private key
  4. A hash function

Answer: A) Sara's public key

Explanation: Only Sara's private key can decrypt it. Lesson 10.2 · Cyber Security

Discuss this question

108. Using a Caesar cipher with a shift of 10, what is the ciphertext of "LOGIN"?

  1. VYQSX
  2. UXPRW
  3. WZRTY
  4. BEWYD

Answer: A) VYQSX

Explanation: Shift each letter forward by 10: LOGIN → VYQSX. Lesson 10.2 · Cyber Security

Discuss this question

109. Base64 is:

  1. A strong cipher
  2. A key exchange protocol
  3. An encoding, not encryption
  4. A hash function

Answer: C) An encoding, not encryption

Explanation: Anyone can decode it. Lesson 10.2 · Cyber Security

Discuss this question

110. The ciphertext "VYQSX" was made with a Caesar shift of 10. What is the plaintext?

  1. MPHJO
  2. LOGIN
  3. FIACH
  4. NIGOL

Answer: B) LOGIN

Explanation: Shift each letter back by 10: VYQSX → LOGIN. Lesson 10.2 · Cyber Security

Discuss this question

111. Leaving the default admin/admin password on a server is an example of:

  1. Patching
  2. Security misconfiguration
  3. Least privilege
  4. Encryption

Answer: B) Security misconfiguration

Explanation: It is part of the OWASP Top 10. Lesson 10.3 · Cyber Security

Discuss this question

112. The ciphertext "QNGN" was made with a Caesar shift of 13. What is the plaintext?

  1. DATA
  2. ATAD
  3. CZSZ
  4. EBUB

Answer: A) DATA

Explanation: Shift each letter back by 13: QNGN → DATA. Lesson 10.2 · Cyber Security

Discuss this question

113. Malware designed to hide its presence deep within the operating system is a:

  1. Worm
  2. Rootkit
  3. Adware
  4. Cookie

Answer: B) Rootkit

Explanation: Rootkits hide processes and files. Lesson 10.1 · Cyber Security

Discuss this question

114. Symmetric encryption uses:

  1. The same key to encrypt and decrypt
  2. A public and a private key
  3. Only hashing
  4. No key

Answer: A) The same key to encrypt and decrypt

Explanation: e.g. AES. Lesson 10.2 · Cyber Security

Discuss this question

115. A risk has a single loss expectancy (SLE) of Rs 20,000 and an annual rate of occurrence (ARO) of 0.5. What is the annual loss expectancy (ALE)?

  1. Rs 5,000
  2. Rs 20,000
  3. Rs 10,000
  4. Rs 40,000

Answer: C) Rs 10,000

Explanation: ALE = SLE × ARO = 20,000 × 0.5 = Rs 10,000. Lesson 10.4 · Cyber Security

Discuss this question

116. Approximately how many bits of entropy does a random 10-character password from 94 possible characters have?

  1. 10 bits
  2. 94 bits
  3. 131 bits
  4. 66 bits

Answer: D) 66 bits

Explanation: Entropy = L × log2(N) = 10 × 6.55 ≈ 66 bits. Lesson 10.2 · Cyber Security

Discuss this question

117. After an incident is resolved, the team writes a report on what went wrong and how to improve. This is the:

  1. Post-incident (lessons learned) phase
  2. Detection phase
  3. Containment phase
  4. Preparation phase

Answer: A) Post-incident (lessons learned) phase

Explanation: Feeds back into preparation. Lesson 10.4 · Cyber Security

Discuss this question

118. Locking an account for 15 minutes after 5 failed logins mainly defends against:

  1. XSS
  2. Online brute-force password attacks
  3. SQL injection
  4. Ransomware

Answer: B) Online brute-force password attacks

Explanation: Limits guessing. Lesson 10.3 · Cyber Security

Discuss this question

119. In RSA, the primes are p = 3 and q = 11. What is n?

  1. 33
  2. 34
  3. 20
  4. 14

Answer: A) 33

Explanation: n = p × q = 33. Lesson 10.2 · Cyber Security

Discuss this question

120. Using a Caesar cipher with a shift of 1, what is the ciphertext of "ATTACK"?

  1. DWWDFN
  2. BUUBDL
  3. ZSSZBJ
  4. CVVCEM

Answer: B) BUUBDL

Explanation: Shift each letter forward by 1: ATTACK → BUUBDL. Lesson 10.2 · Cyber Security

Discuss this question

121. A separate network zone that hosts public-facing servers between the internet and the internal network is a:

  1. DMZ
  2. Botnet
  3. VPN
  4. VLAN only

Answer: A) DMZ

Explanation: Demilitarised zone. Lesson 10.3 · Cyber Security

Discuss this question

122. The three core goals of information security (the CIA triad) are:

  1. Control, Inspection, Audit
  2. Compliance, Integrity, Authentication
  3. Cryptography, Identity, Access
  4. Confidentiality, Integrity, Availability

Answer: D) Confidentiality, Integrity, Availability

Explanation: The CIA triad. Lesson 10.1 · Cyber Security

Discuss this question

123. A firewall is used to:

  1. Encrypt hard disks only
  2. Speed up the CPU
  3. Filter network traffic based on rules
  4. Store backups

Answer: C) Filter network traffic based on rules

Explanation: It allows or blocks traffic. Lesson 10.3 · Cyber Security

Discuss this question

124. Trying every possible key until the right one is found is a:

  1. Phishing attack
  2. Dictionary attack only
  3. Replay attack
  4. Brute-force attack

Answer: D) Brute-force attack

Explanation: Longer keys make it impractical. Lesson 10.2 · Cyber Security

Discuss this question

125. The most secure Wi-Fi security protocol listed is:

  1. WPA (TKIP)
  2. WPA3
  3. Open network with a hidden SSID
  4. WEP

Answer: B) WPA3

Explanation: WEP is broken. Lesson 10.3 · Cyber Security

Discuss this question

Previous Page 5 of 6 Next

Practise NSCT: Cyber Security MCQs

More Computer Science chapters