Back to all Computer Science topics
Topic 2.4Computer Science HL20 flashcards

Network security

Practice Flashcards

Flip cards to reveal answers
Card 1 of 202.4.1
2.4.1
Question

What does a firewall do?

Click to reveal answer

Track your progress — Sign up free to save your progress and get smart review reminders based on spaced repetition.

All Flashcards in Topic 2.4

Below are all 20 flashcards for this topic. Sign up free to track your progress and get personalized review schedules.

2.4.15 cards

Card 1definition
Question

What does a firewall do?

Answer

Sits where the network meets the outside world and inspects every packet crossing it, allowing or dropping each one by rule — on outgoing traffic as well as incoming.

Card 2comparison
Question

What is the difference between a whitelist and a blacklist?

Answer

A whitelist allows only what is listed and blocks everything else: safe by default but restrictive. A blacklist blocks only what is listed: convenient, but anything not yet known about gets through, so it is always a step behind.

Card 3concept
Question

Why do outgoing firewall rules matter?

Answer

They stop an already-infected machine sending stolen data out or contacting whoever controls it. Most answers mention only incoming traffic, so this is a reliable extra mark.

Card 4concept
Question

Name three things a firewall cannot protect against.

Answer

Traffic that never crosses it, such as malware on a USB stick or one internal machine infecting another; the contents of encrypted connections, which it cannot read; and attacks delivered over ports the rules legitimately allow.

Card 5concept
Question

How does NAT contribute to security, and what are its limits?

Answer

Internal machines have private addresses that are not routable, so nothing outside can address them directly — only reply to conversations they start. But NAT does nothing about outgoing traffic, what an allowed connection carries, or anything inside the network.

2.4.25 cards

Card 6definition
Question

Vulnerability, attack or threat?

Answer

A **vulnerability** is the weakness. An **attack** is someone using it. A **threat** is the person or group who might.

Card 7comparison
Question

Virus or worm?

Answer

A **virus** needs a user to run the infected file. A **worm** spreads **by itself** across a network, which is why it moves so fast.

Card 8concept
Question

What does packet sniffing require?

Answer

**Unencrypted** traffic passing the attacker's machine. Encryption makes what is captured unreadable.

Card 9concept
Question

Why does blocking one address not stop a DDoS?

Answer

It is **distributed** — traffic arrives from many machines at once, usually ordinary computers that were themselves compromised.

Card 10concept
Question

Why are people the weakest link?

Answer

**Urgency defeats caution** and authority is rarely questioned. One person in a thousand clicking is enough, and emailing thousands costs nothing.

2.4.35 cards

Card 11definition
Question

What is defence in depth?

Answer

Layered controls, so that **one failing does not end the matter** — assume the firewall will eventually be got past.

Card 12concept
Question

Which single control gives the most protection?

Answer

**Multi-factor authentication.** It turns a stolen password into a failed login, and stolen passwords cause most breaches.

Card 13concept
Question

What does a firewall not stop?

Answer

Anything **already inside**, and anything carried over a connection it was configured to **allow** — such as malware in ordinary web traffic.

Card 14concept
Question

Why must backups be tested and offline?

Answer

An untested backup fails when needed, and one reachable from the network can be **encrypted by ransomware along with everything else**.

Card 15concept
Question

Why can a strict policy reduce security?

Answer

People **work around** what they cannot follow — writing passwords down, using personal accounts, and not reporting mistakes.

2.4.45 cards

Card 16comparison
Question

What is the difference between symmetric and asymmetric cryptography?

Answer

Symmetric uses one key to both lock and unlock — fast, but the key must reach the other end safely. Asymmetric uses two matched keys: a public one anyone may have and a private one that never leaves, so nothing secret has to travel.

Card 17concept
Question

Which key encrypts and which decrypts in asymmetric cryptography?

Answer

For confidentiality, the recipient's public key encrypts and only their matching private key can decrypt. That is why the public key can be handed to anyone without weakening anything.

Card 18definition
Question

What is a digital certificate?

Answer

An organisation's public key together with its identity, signed by a certificate authority the browser already trusts. It proves the public key really belongs to who it claims, which a bare public key cannot.

Card 19process
Question

Why does HTTPS use both symmetric and asymmetric encryption?

Answer

Asymmetric solves the problem of agreeing a key safely but is slow. So it is used once to agree a symmetric key, and all the actual traffic is then encrypted symmetrically because that is much faster for bulk data.

Card 20concept
Question

Why does key management matter as much as the encryption itself?

Answer

Keys must be generated properly, stored where nobody else can reach them, replaced periodically and revoked immediately if they leak. A private key that escapes makes every message ever sent with it readable, however strong the algorithm.

Want smart review reminders?

Sign up free to track your progress. Our spaced repetition algorithm will tell you exactly which cards to review and when.

Start Free