Cyber security · GCSE · OCR J277 1.4.1, AQA 8525 3.6.1, Edexcel 1CP2 5.3.1 · about 15 min
Confidentiality, integrity and availability, who attacks and why, and ranking risk.
[1 mark]What does confidentiality mean in security?
[1 mark]Flooding a website until it crashes attacks which goal?
[1 mark]What is often the weakest link in security?
[1 mark]Why might an insider be a threat?
[1 mark]A risk has likelihood 4 and impact 5. What is its risk score, if score is likelihood times impact?
Give each risk in risks a score of likelihood times impact. Print each as <name>: <score>, sorted from the highest score to the lowest. Then print biggest risk: <name> for the one at the top.
# the two lines every program starts with: the commands, then the robot
from bugbot import *
connect()
# name, likelihood (1 to 5), impact (1 to 5)
risks = [("weak passwords", 4, 5), ("stolen laptop", 2, 4), ("phishing email", 5, 4), ("power cut", 3, 2), ("out-of-date software", 4, 3)]The hint students can ask for: Give each risk a score of likelihood times impact, then sort the list by that score, highest first. The biggest risk is whatever ends up at the front.
from bugbot import *
connect()
risks = [("weak passwords", 4, 5), ("stolen laptop", 2, 4), ("phishing email", 5, 4), ("power cut", 3, 2), ("out-of-date software", 4, 3)]
risks.sort(key=lambda r: r[1] * r[2], reverse=True)
for name, likelihood, impact in risks:
print(f"{name}: {likelihood * impact}")
print("biggest risk:", risks[0][0])
Any program that meets the task's checks is marked correct in the simulator; this is one way, not the only way.