Question bank › A-level › A-level Computer Science › Fundamentals of communication and networking

The Internet, DNS and Internet security

10 questions52 marksabout 60 min

Answer on paper first, then reveal the mark scheme one mark at a time.

1Standard5 marks

A user types www.example.com into a web browser.

(a) Describe how the Domain Name System (DNS) is used so that the browser can load the page. [3]

(b) Explain why the DNS is used rather than requiring users to type IP addresses. [1]

(c) The web server listens on a well-known port. State what is meant by a well-known port. [1]

2Hard5 marks

A company uses a packet-filtering firewall and a proxy server.

(a) Describe how a packet-filtering firewall decides whether to allow a packet. [3]

(b) Explain two ways in which a proxy server can improve the security or performance of the network. [2]

3Core4 marks

A customer clicks the following link in an email:

https://shop.harbourbikes.co.uk/helmets/size-guide.html

(a) State the protocol that will be used to fetch the resource. [1]

(b) State the fully qualified domain name (FQDN) in this URL. [1]

(c) State the domain name in this URL. [1]

(d) State what the part /helmets/size-guide.html identifies. [1]

Stuck on The Internet, DNS and Internet security?

Get it sorted in a free 30-minute session

We work through your weakest questions on this topic on Zoom. I reply the same day.

4Core3 marks

Data sent across the Internet is split into packets.

Each packet is made up of a header, a payload and a trailer.

For each of the three parts, state one item it contains or its purpose. [3]

5Standard6 marks

The diagram shows part of the Internet. A laptop connected to router R1 downloads a large file from a server connected to router R6 using packet switching.

(a) Describe what a router does when it receives a packet. [2]

(b) The packets of the file do not all take the same route. Explain why the packets may arrive at the laptop in a different order from the order in which they were sent, and how the original file is rebuilt. [2]

(c) The link between R4 and R6 fails. Give one route, as a list of routers, that a packet could still take from R1 to R6. [1]

(d) The laptop's home network uses different protocols from the network it connects to. State the device needed to connect two networks that use different protocols. [1]

R1R2R3R4R5R6LaptopServer
6Standard4 marks

A charity wants to register the domain name greenvalleyfoodbank.org.uk.

(a) Explain how domain names are organised, using greenvalleyfoodbank.org.uk as an example. [2]

(b) Explain why Internet registries are needed. [2]

7Hard6 marks

Priya sends a signed contract to Tom over the Internet. They use asymmetric encryption. Priya wants the contract to be confidential and wants Tom to be able to prove it came from her and was not changed.

(a) Complete the table to show which key is used at each step. Choose from: Priya's public key, Priya's private key, Tom's public key, Tom's private key. [3]

StepKey used
Priya encrypts the contract
Tom decrypts the contract
Priya encrypts the digest (hash) to create the digital signature

(b) Describe how Tom uses the digital signature to check that the contract has not been altered and that it was sent by Priya. [3]

8Stretch6 marks

A company has 40 employees. Every pair of employees must be able to exchange messages that no other employee can read.

(a) Calculate how many keys are needed in total if each pair uses its own shared symmetric key. Show your working. [2]

(b) Calculate how many keys are needed in total if each employee has an asymmetric key pair. [1]

(c) Symmetric encryption is much faster than asymmetric encryption, so secure web sessions use symmetric encryption for the data. Explain how asymmetric encryption is used so that the browser and server can agree a symmetric key securely, and how a digital certificate prevents an attacker from substituting their own public key. [3]

9Standard5 marks

(a) For each incident, state whether it was caused by a virus, a worm or a trojan. [3]

  • (i) A free "PDF converter" downloaded from a website secretly gave an attacker remote access to the computer.
  • (ii) Malware spread by itself to every unpatched computer on a network, with no user opening any file.
  • (iii) Malicious code was attached to a spreadsheet and ran, copying itself into other files, each time the spreadsheet was opened.

(b) Incident (ii) exploited a buffer overflow in an operating system service. Explain how improved code quality and how regular system monitoring could each reduce the risk. [2]

10Hard8 marks

A school's packet-filtering firewall applies the rules below to incoming packets. The rules are checked in order from rule 1, and the first rule that matches is applied.

RuleActionSource IPDestination IPDestination port
1Deny198.51.100.7AnyAny
2AllowAny203.0.113.10443
3AllowAny203.0.113.2025
4Allow192.0.2.50203.0.113.1022
5DenyAnyAnyAny

(a) For each incoming packet, state whether it is allowed or blocked. [5]

PacketSource IPDestination IPDestination port
A192.0.2.14203.0.113.10443
B198.51.100.7203.0.113.10443
C192.0.2.14203.0.113.1022
D192.0.2.50203.0.113.1022
E192.0.2.14203.0.113.20443

(b) Explain why rule 1 must be placed before rule 2. [1]

(c) Some packet-filtering firewalls are configured to allow any incoming packet with source port 443, so that replies from web servers reach computers on the network. An attacker sends a packet with source port 443, pretending to be the reply to a web request that no school computer made. Explain how a stateful inspection firewall would deal with this packet differently from such a packet-filtering firewall. [2]

Stuck on this topic?

Book a free 30-minute session on WhatsApp and we'll find exactly which step is costing you the marks. Or build a timed paper on it.

Free 30-minute session