DP Computer Science · HL / SL · A2 Networks

A2.4 Network security

Get started
Notes Quiz
Free preview 2/15
  1. Question 1

    A school district deploys a shared router for all classrooms that uses Network Address Translation (NAT). A network administrator explains NAT's security benefit to the IT committee. Which statement most accurately describes this security benefit?
    No clue? Show me the answer
    Correct answerCorrect!Incorrect
    BNAT conceals the private IP addresses of individual classroom devices from the public internet, making it harder for external attackers to target them directly.

    Step-by-step walkthrough

    Choose a solution method

    Method #1Approach 1

    Step 1: Identify what NAT does

    NAT (Network Address Translation) maps multiple private internal IP addresses to a single public IP address when traffic leaves the network. This means external entities only see the router's public IP, not the individual device addresses.

    Step 2: Apply the concept to security

    Because internal IP addresses are hidden, an attacker scanning the internet cannot identify or directly target individual classroom devices. This is sometimes called security through obscurity — not a primary security mechanism, but a useful side effect.

    Step 3: Rule out incorrect functions

    NAT does not encrypt data, authenticate devices, or scan for malware. These are functions of encryption protocols, authentication systems, and antivirus/IDS tools respectively.

    Step 4: Select the correct answer

    The statement that NAT conceals private IP addresses from the public internet correctly describes its security benefit. The correct answer is option B.

    Method #2Approach 2

    Step 1: Identify what is being asked

    The question asks for the security benefit of NAT specifically — not what NAT does in general, but why it helps protect internal devices.

    Step 2: Eliminate 'NAT encrypts all data packets'

    Encryption is not a function of NAT. NAT translates addresses; encryption of data in transit requires protocols like TLS or HTTPS. This option is incorrect.

    Step 3: Eliminate 'NAT authenticates each device'

    Authentication is handled by systems like 802.1X, RADIUS, or login credentials — not by NAT. NAT has no mechanism to verify device identity before granting access.

    Step 4: Eliminate 'NAT scans packets for malware'

    Malware scanning is the role of antivirus software or intrusion detection systems, not NAT. NAT only performs address translation and does not inspect packet content.

    Step 5: Select the correct answer

    The only accurate description is that NAT conceals private IP addresses, preventing external attackers from directly reaching internal devices. This is the correct answer.

  2. Question 2

    During a busy online retail sale event, a popular e-commerce website becomes completely unreachable for over two hours. Investigation reveals that thousands of compromised home routers and smart devices from around the world simultaneously sent enormous volumes of traffic to the site's servers. Which type of attack best describes this incident?
    No clue? Show me the answer
    Correct answerCorrect!Incorrect
    CDistributed Denial of Service (DDoS), because multiple compromised devices overwhelmed the server with traffic

    Step-by-step walkthrough

    Choose a solution method

    Method #1Approach 1

    Step 1: Identify the key characteristics of the attack

    The attack involves: (1) thousands of devices acting simultaneously, (2) devices that have been compromised (forming a botnet), and (3) the result is the target server becoming unreachable due to traffic volume.

    Step 2: Match characteristics to attack type

    A DDoS (Distributed Denial of Service) attack uses many compromised systems — often called a botnet — to flood a target with traffic, exhausting its bandwidth or computing resources and making it unavailable to legitimate users. This matches all three characteristics.

    Step 3: Distinguish from similar attacks

    A regular DoS uses a single source, whereas DDoS uses many sources simultaneously. The 'distributed' element (thousands of devices worldwide) is the defining feature here, and makes blocking based on a single IP address ineffective.

    Step 4: Select the correct answer

    The correct answer is DDoS, as it uniquely matches the scenario of multiple compromised devices overwhelming a server to cause unavailability.

    Method #2Approach 2

    Step 1: Identify what is being asked

    The question asks us to classify the attack type based on the described behaviour: thousands of compromised devices flooding a server until it is unreachable.

    Step 2: Eliminate 'SQL Injection'

    SQL Injection targets a web application's database by inserting malicious SQL code into input fields. The scenario describes no database manipulation — only traffic flooding. This option is incorrect.

    Step 3: Eliminate 'Man-in-the-Middle'

    A MitM attack involves secretly intercepting communications between two parties. There is no mention of interception or data theft here — the attack causes unavailability, not data compromise. This option is incorrect.

    Step 4: Eliminate 'Phishing attack'

    Phishing involves tricking users into revealing credentials, typically via fake websites or emails. Nothing in the scenario involves deception of users. This option is incorrect.

    Step 5: Select the correct answer

    Only DDoS matches: multiple compromised devices simultaneously flooding a target to cause a denial of service. This is the correct answer.

Free preview

13 more questions in this topic

← Previous topicA2.3 Data transmissions
Koncepts

Learn it properly. Then practise like it's the real paper.

Start free

Features

  • Lessons
  • Past papers
  • Library
  • Homework Help
  • Duels

More

  • For parents
  • Compare
  • Plans & pricing
  • DP for students

Legal

  • Privacy
  • Terms
  • Account deletion

© 2026 Koncepts (product of PrepAiro, Inc). All rights reserved.
DP, IB, EE and TOK are terms of the International Baccalaureate Organization.

Made for IB DP students.