MCQs / Computer Science / NSCT: Cyber Security
NSCT: Cyber Security MCQs — Computer Science (page 3) 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.
51. The 3-2-1 backup rule means: 3 copies, on 2 different media, with 1 off-site 3 passwords, 2 factors, 1 token 3 servers, 2 firewalls, 1 router 3 backups a day for 2 weeks for 1 user Answer: A) 3 copies, on 2 different media, with 1 off-site
Explanation: An off-site/offline copy survives ransomware. Lesson 10.4 · Cyber Security
Discuss this question
52. A password is 6 characters long and uses lowercase letters and digits (36 possible characters). How many possible passwords are there? 6^36 36^6 36^5 36 × 6 Answer: B) 36^6
Explanation: Each of the 6 positions has 36 choices: 36^6 = 2,176,782,336. Lesson 10.2 · Cyber Security
Discuss this question
53. Using a Caesar cipher with a shift of 2, what is the ciphertext of "ZEBRA"? BGDTC CHEUD AFCSB XCZPY Answer: A) BGDTC
Explanation: Shift each letter forward by 2: ZEBRA → BGDTC. Lesson 10.2 · Cyber Security
Discuss this question
54. In RSA with n = 55 and e = 3, what is the ciphertext of the message m = 2? (c = m^e mod n) 8 47 9 6 Answer: A) 8
Explanation: 2^3 = 8; 8 mod 55 = 8. Lesson 10.2 · Cyber Security
Discuss this question
55. Encrypting a file so that only authorised users can read it protects: Non-repudiation only Integrity only Confidentiality Availability Answer: C) Confidentiality
Explanation: Unauthorised users cannot read it. Lesson 10.1 · Cyber Security
Discuss this question
56. Giving users only the access they need to do their job is the principle of: Defence in depth Least privilege Open design Security through obscurity Answer: B) Least privilege
Explanation: It limits damage if an account is compromised. Lesson 10.1 · Cyber Security
Discuss this question
57. X.509 is the standard format for: Digital certificates Email headers Wi-Fi passwords Firewall rules Answer: A) Digital certificates
Explanation: Certificates bind a public key to an identity. Lesson 10.2 · Cyber Security
Discuss this question
58. Sending fake ARP replies to redirect LAN traffic through the attacker is: Port scanning ARP spoofing (poisoning) DNS tunnelling SQL injection Answer: B) ARP spoofing (poisoning)
Explanation: Enables MITM on a local network. Lesson 10.3 · Cyber Security
Discuss this question
59. A password is 10 characters long and uses all printable keyboard characters (94 possible characters). How many possible passwords are there? 10^94 94 × 10 94^10 94^9 Answer: C) 94^10
Explanation: Each of the 10 positions has 94 choices: 94^10 = 53,861,511,409,489,970,176. Lesson 10.2 · Cyber Security
Discuss this question
60. In RSA with p = 11, q = 13 and public exponent e = 7, what is the private exponent d (where e × d ≡ 1 mod φ(n))? 7 103 104 17 Answer: B) 103
Explanation: φ = 120; 7 × 103 = 721 = 6 × 120 + 1, so d = 103. Lesson 10.2 · Cyber Security
Discuss this question
61. A password is 4 characters long and uses digits only (10 possible characters). How many possible passwords are there? 10 × 4 4^10 10^4 10^3 Answer: C) 10^4
Explanation: Each of the 4 positions has 10 choices: 10^4 = 10,000. Lesson 10.2 · Cyber Security
Discuss this question
62. Malware that records every key pressed to steal passwords is a: Logic bomb Worm Botnet Keylogger Answer: D) Keylogger
Explanation: A type of spyware. Lesson 10.1 · Cyber Security
Discuss this question
63. An attacker can try 100 guesses per second. What is the worst-case time to brute-force a 4-character password from 10 possible characters? 200 seconds 10 seconds 6000 seconds 100 seconds Answer: D) 100 seconds
Explanation: 10^4 = 10,000 keys ÷ 100 per second = 100 s. Lesson 10.2 · Cyber Security
Discuss this question
64. To create a digital signature, the sender encrypts the message hash with: The receiver's public key Their own private key A shared AES key only The receiver's private key Answer: B) Their own private key
Explanation: Anyone verifies with the sender's public key. Lesson 10.2 · Cyber Security
Discuss this question
65. A vulnerability that is unknown to the vendor and has no patch yet is a: Known CVE with a patch Legacy bug Honeypot Zero-day vulnerability Answer: D) Zero-day vulnerability
Explanation: Attackers exploit it before a fix exists. Lesson 10.1 · Cyber Security
Discuss this question
66. The first phase of the NIST incident response life cycle is: Preparation Containment Eradication Lessons learned Answer: A) Preparation
Explanation: Plans, tools and training come first. Lesson 10.4 · Cyber Security
Discuss this question
67. Nmap is mainly used for: Network and port scanning Writing web pages Database backups Password hashing Answer: A) Network and port scanning
Explanation: It finds open ports and services. Lesson 10.3 · Cyber Security
Discuss this question
68. Using a Caesar cipher with a shift of 13, what is the ciphertext of "DATA"? ROHO QNGN NGNQ PMFM Answer: B) QNGN
Explanation: Shift each letter forward by 13: DATA → QNGN. Lesson 10.2 · Cyber Security
Discuss this question
69. An attacker can try 1,000 guesses per second. What is the worst-case time to brute-force a 6-character password from 10 possible characters? 2000 seconds 60000 seconds 100 seconds 1000 seconds Answer: D) 1000 seconds
Explanation: 10^6 = 1,000,000 keys ÷ 1,000 per second = 1000 s. Lesson 10.2 · Cyber Security
Discuss this question
70. In RSA with p = 5 and q = 11, what is φ(n)? 55 40 72 54 Answer: B) 40
Explanation: φ(n) = (p − 1)(q − 1) = 40. Lesson 10.2 · Cyber Security
Discuss this question
71. Trying leaked username–password pairs from one site on another site is: Spear phishing Salting Sniffing Credential stuffing Answer: D) Credential stuffing
Explanation: It works because people reuse passwords. Lesson 10.3 · Cyber Security
Discuss this question
72. In RSA with n = 65 and e = 5, what is the ciphertext of the message m = 2? (c = m^e mod n) 31 33 10 32 Answer: D) 32
Explanation: 2^5 = 32; 32 mod 65 = 32. Lesson 10.2 · Cyber Security
Discuss this question
73. The main cyber crime law of Pakistan is: HIPAA The Copyright Ordinance 1962 PECA 2016 GDPR Answer: C) PECA 2016
Explanation: Prevention of Electronic Crimes Act, 2016. Lesson 10.4 · Cyber Security
Discuss this question
74. How many hexadecimal characters are in a SHA-256 hash (256 bits)? 32 256 128 64 Answer: D) 64
Explanation: Each hex character is 4 bits: 256 ÷ 4 = 64. Lesson 10.2 · Cyber Security
Discuss this question
75. A system that collects and correlates logs from many sources to detect attacks is a: DMZ SIEM VPN CA Answer: B) SIEM
Explanation: Security Information and Event Management. Lesson 10.4 · Cyber Security
Discuss this question
Previous Page 3 of 6 Next
Practise NSCT: Cyber Security MCQs
More Computer Science chapters