52 exam-style questions on Network security — topic A2.4 of Networks in the IB Computer Science syllabus — with answers and explanations. Samples below; the full set is free with an account.
A clinic finds that blood-test values in its patient records were altered by a member of staff who had no right to change them, although the records stayed readable and available to everyone who needed them. Which security principle has been broken?
Answer: Integrity
Integrity is about data staying accurate and unaltered by anyone without the right to change it. Nothing was read by an outsider and nothing became unreachable, so neither confidentiality nor availability was affected.
Anya wants to send a file across the internet so that only Ben is able to read it. Which key does she use to encrypt the file?
Answer: Ben's public key, because only Ben's private key can undo it
In asymmetric encryption the key pair works one way round: what a public key locks, only the matching private key opens, and that private key never leaves its owner. Encrypting with your own private key proves authorship instead of hiding the content.
A login system stores a random salt next to each password hash. What does the salt achieve?
Answer: It makes identical passwords produce different stored hashes
Without a salt two users who choose the same password store the same value, so one precomputed table breaks both accounts at once. A different salt per account forces an attacker to work on every account separately.
A supplier attaches a digital signature to an order confirmation. What can the customer check with it?
Answer: That the message is unchanged and really came from the supplier
The signature is a hash of the message encrypted with the sender's private key, so recomputing the hash shows the content is unaltered and opening it with the public key shows who sent it. A signature does not hide the message from anyone.
A teacher signs in with the correct password but the finance folder still will not open. Which statement describes what happened?
Answer: Authentication succeeded but authorisation was refused
Authentication settles who the user is, while authorisation decides what that identity is allowed to do. A correct password answers the first question only, so the two steps must be kept apart.
A cafe replaces its open wireless network with one protected by WPA2. What is the main security benefit for its customers?
Answer: Data sent over the air can no longer be read without the network key
An open wireless network sends frames in the clear, so any device in range can read them. WPA2 encrypts the wireless link, so the frames are meaningless to anyone who does not hold the key, while capacity and delay are unchanged.
That was 6 of 52 Network security questions.
Practise all 52 freeOutlineAO1 · 1–2 marks
A brief account or summary: the main points in two or three sentences, no evaluation.
DistinguishAO2 · 2–4 marks
Make the difference clear for BOTH terms — a definition of one of them is only half an answer.
ExplainAO2 · 2–4 marks
Give reasons or causes: say what happens AND why, linking each step with 'because' or 'so that'.
52 Network security questions — free with an account. Spaced repetition, streaks and full exam simulations included.
Practise them freeThis platform is independently developed and is not endorsed by, affiliated with, or sponsored by the International Baccalaureate Organization. “International Baccalaureate” and “IB” are registered trademarks of the IBO.