Unit 7: Digital environments

T Level Digital core content area 7: hardware, software, networks, virtual and cloud environments, and resilience.

Read the lesson, study the diagrams, watch the video, then open the matching workbook section.

Number systems Scheme of work · weeks 2 and 6

Binary, denary, octal and hexadecimal

By the end you can: convert between binary, denary and hexadecimal, and add, subtract and multiply in binary.

Every piece of data a computer handles, from a photo to a network address, is stored as binary: patterns of 0s and 1s. A single 0 or 1 is a bit; 4 bits are a nibble; 8 bits are a byte. People working in digital jobs read binary and hexadecimal every day: in IP and MAC addresses, colour codes, error messages and packet captures.

The same number in four number basesDenary (base 10)digits 0–9173Binary (base 2)digits 0–11010 1101Octal (base 8)digits 0–7255Hexadecimal (base 16)digits 0–9, A–FADAll four rows showthe same value.Computers store binary;hex is a short wayfor people to write it.
A number base is how many different digits the system uses. The value 173 written in four bases.
Converting a byte between binary, hexadecimal and denary128643216842110110110binary1011 = 8+2+1 = 11 = B0110 = 4+2 = 6Hexadecimal: B6 Denary: 128 + 32 + 16 + 4 + 2 = 182Hex digits:0–9, thenA=10 B=11 C=12D=13 E=14 F=15
Each hexadecimal digit stands for exactly one nibble (4 bits), so a byte is always two hex digits: 00 to FF.

Worked example: Denary to binary (173)

  1. Write the place values: 128, 64, 32, 16, 8, 4, 2, 1.
  2. 173 − 128 = 45, so put 1 under 128. 64 does not fit into 45: 0. 45 − 32 = 13: 1. 16 does not fit: 0.
  3. 13 − 8 = 5: 1. 5 − 4 = 1: 1. 2 does not fit: 0. 1 − 1 = 0: 1.
  4. Answer: 1010 1101. Check: 128 + 32 + 8 + 4 + 1 = 173.

Worked example: Binary to hexadecimal and back

  1. Split the byte into two nibbles: 1010 and 1101.
  2. 1010 = 8 + 2 = 10 = A; 1101 = 8 + 4 + 1 = 13 = D. So the hex is AD.
  3. To go back, turn each hex digit into 4 bits: 3F → 0011 1111.
Adding two binary bytes9201011100+ 5800111010= 150100101101111Rules for each column:0 + 0 = 00 + 1 = 11 + 1 = 0, carry 11 + 1 + 1 = 1, carry 1Carries (orange) move one column to the left, just like carrying 10 in denary.
Binary addition, worked from right to left. Check it: 92 + 58 = 150.
Binary arithmetic
OperationBinary ruleExample
Addition0+0=0, 0+1=1, 1+1=10 (0 carry 1), 1+1+1=110110 + 0011 = 1001 (6 + 3 = 9)
Subtractionborrow like denary, or add the two’s complement of the number being taken away1001 − 0011 = 0110 (9 − 3 = 6)
Multiplicationshift left to multiply by 2; add shifted copies0101 × 0011 = 0101 + 1010 = 1111 (5 × 3 = 15)
Units of digital data from bit to terabytebit0 or 1nibble4 bitsbyte8 bitskilobyte1,000 bytesmegabyte1,000 kBgigabyte1,000 MBterabyte1,000 GBStorage makers use powers of 10 (1 kB = 1,000 bytes). Operating systems often use powers of 2:1 KiB (kibibyte) = 1,024 bytes, 1 MiB = 1,024 KiB, 1 GiB = 1,024 MiB.That is why a “500 GB” drive shows as about 465 GiB on a computer: same bytes, different unit.
Units of data. Read the question carefully to see whether it means 1,000 or 1,024.

Key terms

Bit
a single binary digit, 0 or 1.
Byte
8 bits.
Nibble
4 bits; one hex digit.
Base
how many different digits a number system uses.
Overflow
a result too big for the bits available.

Exam focus

Show your working for conversions: write the place-value headings, then the bits. A correct method can earn marks even if you slip on the final digit.

Think it through

Convert 0100 1100 to denary and hex.

64 + 8 + 4 = 76. The nibbles 0100 and 1100 are 4 and C, so the hex is 4C.

Why do network engineers write MAC addresses in hex, not binary?

A MAC address is 48 bits. In hex it is 12 short characters, much easier to read, type and compare without errors.

Watch

A short revision video from the MrBrownCS series.

Watch and think:

  • What is the largest number 8 bits can hold?

Open on YouTube ↗

A short revision video from the MrBrownCS series.

Watch and think:

  • Convert 0110 0101 to denary.

Open on YouTube ↗

A short revision video from the MrBrownCS series.

Watch and think:

  • What happens when a carry goes past the 8th bit?

Open on YouTube ↗

A short revision video from the MrBrownCS series.

Watch and think:

  • Why is two’s complement preferred for calculations?

Open on YouTube ↗

7.1 Hardware T Level core · 7.1.1

Types of physical computer

By the end you can: describe the features and uses of personal computers, mobile devices, servers and embedded devices.

Four kinds of physical computerPersonal computerdesktop or laptopfor one userMobile devicesmartphone, tablet:portable, batteryServerprovides servicesto many clientsMCUEmbedded devicea computer insideanother product
Personal computers, mobile devices, servers and embedded devices are built for different jobs.
Physical computers compared
TypeKey featuresTypical uses
Personal computer (desktop, laptop)general purpose; keyboard, mouse, screen; upgradable (desktop); portable (laptop)office work, programming, design, gaming, study
Mobile device (smartphone, tablet)small, battery-powered, touchscreen, many sensors (GPS, accelerometer, camera), mobile processor, wireless connectivitycommunication, apps, photos, navigation, mobile working
Serverpowerful processors, lots of RAM and storage, redundant parts, runs 24/7, managed remotelyweb, email, file, database, print and authentication services for many users
Embedded devicea small computer built into another product; one fixed job; low cost and power; often real-timewashing machines, cars, medical devices, smart meters, IoT sensors
Exploded view of the layers inside a smartphoneCover glass + touch digitiserinput: senses touchOLED display paneloutput: pixels make lightLogic boardSoC, RAM, flash storageBatterylithium-ion: limits run timeBack casecameras, antennas, charging coilSystem on a Chip• CPU cores (fast + efficient)• GPU (graphics)• NPU (AI tasks)• Image processor• Cellular modem (4G/5G)
Inside a smartphone. A System on a Chip (SoC) puts the CPU, GPU and other processors on one chip to save space and battery.
A server rack with redundant partsNetwork switchServer 1Server 2Server 3Storage array (RAID)Backup unitUPS: battery powerTwo power suppliesper server (A + B):one can fail safelyHot-swap drive bays:replace a failed diskwithout switching offTwo network linksto the switch, so onecable fault is survivableUPS keeps serversrunning long enoughto shut down cleanly
A small server rack. Servers use redundant (duplicated) parts because many people depend on them at once.
Inside an embedded system: a smart thermostatTemperature sensorinputButtons / appinputMicrocontrollerCPU + memory + I/O on one chipfixed program in ROM/flashreal-time, low power, cheapBoiler relayoutput (actuator)Display / Wi-FioutputEmbedded devices do one dedicated job inside a larger product
An embedded system reads sensors, runs one fixed program on a microcontroller, and controls outputs. Washing machines, cars, pacemakers and IoT devices all contain them.

The Internet of Things (IoT)

IoT devices are embedded systems with network connections: smart speakers, doorbells, thermostats, fitness trackers, factory sensors. They collect data and can be controlled remotely, which brings convenience and efficiency but also security risks, because many are cheap, rarely updated and joined to the same network as important systems.

Key terms

Embedded system
a computer inside a larger product, dedicated to one task.
Microcontroller
a single chip with a processor, memory and inputs/outputs.
Server
a computer that provides services to other computers over a network.
IoT
Internet of Things: everyday objects with sensors and network connections.

Exam focus

For ‘describe the features’ questions, give a feature and say what it allows, e.g. “servers have redundant power supplies, so the service keeps running if one fails.”

Think it through

Why does a server usually have more RAM than a personal computer?

It runs services for many users at the same time, each needing memory for their requests, data and connections.

Give two features of an embedded device in a washing machine.

It runs one fixed program (the wash cycles), reads sensors such as water level and temperature, and must be cheap, reliable and low-power.

Watch

A short revision video from the MrBrownCS series.

Watch and think:

  • List three embedded systems in your home.
  • Why are embedded systems usually cheap and low power?

Open on YouTube ↗

A one-minute film of connected devices triggering each other: an IoT starter.

Watch and think:

  • List three embedded or IoT devices in the film.
  • What could go wrong if one was hacked?

Open on YouTube ↗

A security researcher shows how cars, pacemakers and phones, all embedded computers, can be attacked.

Watch and think:

  • Why are embedded devices often less secure than PCs?
  • Which device in the talk surprised you most, and why?

Open on YouTube ↗

7.1 Hardware T Level core · 7.1.2

Hardware devices inside and around a computer

By the end you can: explain the features and use of input and output devices, processors, memory, storage, motherboards, GPUs, network interfaces, cooling and sensors.

Getting data in and results out
Input devicesOutput devicesSensors (automatic input)
keyboard, mouse, touchscreen, microphone, scanner, webcam, barcode reader, game controllermonitor, printer, speakers, headphones, projector, 3D printer, actuators (motors)temperature, light, motion (PIR), accelerometer, GPS, pressure, humidity, fingerprint

Processors

Inside a four-core processor chipOne CPU chipCore 1L1 cacheL2 cacheCore 2L1 cacheL2 cacheCore 3L1 cacheL2 cacheCore 4L1 cacheL2 cacheShared L3 cacheMemory controller → RAM
A multi-core CPU. Each core runs its own instructions; small private caches are fastest, and a larger L3 cache is shared.
What affects processor performance
FeatureWhat it meansEffect
Number of coresindependent processing units on one chipmore tasks at once (if software uses them)
Clock speed (GHz)cycles per secondhigher = more instructions per second, but more heat
Cache size (MB)very fast memory on the CPUfewer slow trips to RAM
Mobile processorsdesigned for low power, often a system on a chiplonger battery life, less heat, slightly less peak speed

Memory and storage

The memory and storage hierarchyRegistersbytes · inside the CPUCacheMB · on the CPU chipRAMGB · volatile working memorySSDhundreds of GB–TB · no moving partsHDDTB · spinning plattersCloud / archiveunlimited · over the networkfaster, costs more per GBbigger, cheaper per GB
The memory hierarchy. Each level is slower but larger and cheaper than the one above, so computers copy the data they need upwards.
RAM and ROM
RAMROM
Volatile?yes: loses data without powerno: keeps data
Holdsprograms and data in use nowstart-up instructions (BIOS/UEFI firmware)
Can be changed?constantly read and writtenread-only (or rarely updated)
Hard disc drive compared with solid state driveHard disc drive (HDD)Head must move to the track, then wait for it to spin roundSolid state drive (SSD)ControllerNANDNANDNANDNANDCacheAny location can be read directly: no moving parts
An HDD has a seek time because the head and platter must move. An SSD reads flash memory electronically, so it is faster, quieter and shock-resistant.
Secondary storage types
Secondary storageHow it stores dataStrengthsWeaknesses
Magnetic (HDD, tape)magnetised spinning platters or tapecheap per GB, huge capacitymoving parts; slower; damaged by knocks
Solid state (SSD, USB, SD)electrical charges in flash memoryfast, silent, tough, low powermore expensive per GB; limited write cycles
Optical (CD, DVD, Blu-ray)laser reads pits and landscheap, portable, good for distributionsmall capacity; scratches; slow

The motherboard, GPU, network interfaces and cooling

Labelled top-down view of a desktop motherboardMotherboard (the main circuit board)CPUunder the coolerM.2 SSDChipsetRear ports:USB, RJ45,HDMI, audioCPU socket:runs programinstructionsPCIe x16 slot:graphics cardM.2 slot:fast NVMe SSDRAM slots:working memory(volatile)24-pin powerfrom the PSUSATA ports:HDD / SSD /optical drivesChipset: routesdata betweenpartsCMOS battery keeps the clock and firmware settings
A desktop motherboard (simplified). Parts plug into standard slots, which is why desktops are easy to upgrade and repair.

The motherboard connects every component and carries power and data between them. A graphics processing unit (GPU) has thousands of small cores for parallel work: graphics, video and AI. A network interface card connects the computer to a network; it may plug into a PCI/PCIe slot on the motherboard or into a USB port (for example a USB Wi-Fi adapter).

Air cooling and liquid coolingAir coolingCPUfanheatsink fins spread heat; a fan blows it awayLiquid coolingCPUwater blockRadiator+ fansPumphotcoolant carries heat to a radiator:quieter, better for high-power CPUs, costs more
Processors must be cooled or they slow down (throttle) or fail. Air cooling is cheap and simple; liquid cooling handles more heat.

Key terms

Volatile
loses its contents when the power is off.
Clock speed
how many cycles a processor completes per second (GHz).
Cache
small, very fast memory on the processor.
GPU
graphics processing unit: many cores for parallel processing.
PCIe
the motherboard slot standard for expansion cards.
Thermal throttling
slowing a processor down to stop it overheating.

Practical: identify the parts

  1. Use the Motherboard ID task: label the CPU socket, RAM slots, PCIe slots, chipset, SATA ports, power connectors and CMOS battery.
  2. Match connectors to their names: SATA, Molex, 24-pin, 4/8-pin CPU and 6/8-pin PCIe power.
  3. Look up a real motherboard specification online and find its RAM type, maximum RAM and number of M.2 slots.

Your teacher runs the PC disassemble and reassemble practical in class with anti-static precautions.

Exam focus

When asked to justify hardware for a scenario, link each feature to the user’s need: “a video editor needs 32 GB RAM because large project files must stay in memory while editing.”

Think it through

Why does adding more cores not always make a program faster?

The program must be written to split its work into parallel threads; a program that runs step by step can only use one core.

A laptop feels slow when many browser tabs are open. Which upgrade is most likely to help, and why?

More RAM: the tabs need more memory than is available, so the OS keeps swapping data to storage, which is much slower.

Watch

A short revision video from the MrBrownCS series.

Watch and think:

  • Why doesn’t doubling the cores always double the speed?

Open on YouTube ↗

A short revision video from the MrBrownCS series.

Watch and think:

  • Why is ROM needed when the computer starts?

Open on YouTube ↗

A short revision video from the MrBrownCS series.

Watch and think:

  • Which storage would you choose for a laptop, and why?

Open on YouTube ↗

A short revision video from the MrBrownCS series.

Watch and think:

  • What does the ALU do?

Open on YouTube ↗

A short revision video from the MrBrownCS series.

Watch and think:

  • Which bus carries data in both directions?

Open on YouTube ↗

A short revision video from the MrBrownCS series.

Watch and think:

  • What does the program counter hold?

Open on YouTube ↗

7.2 Software T Level core · 7.2.1

Types of operating system

By the end you can: explain the features and uses of batch, multitasking, real-time, network and mobile operating systems.

Layers of software between the user and the hardwareUserApplication software: browser, word processor, gameUtility software: antivirus, backup, compression, disk toolsOperating systemSchedulerMemory managerFile systemDevice driversNetworking + securitykernelHardware: CPU, RAM, storage, screen, network card
The operating system sits between programs and hardware. Programs ask the OS for resources rather than controlling the hardware directly.
Operating system types
OS typeKey featuresExamples of use
Batchnon-interactive; processes high volumes of similar jobs together; runs on a schedulepayroll, printing bills and statements, overnight data processing
Multitaskingruns many tasks concurrently by giving each a time slice; uses interrupts to respond to eventsWindows, macOS, Linux desktops
Real-time (RTOS)guarantees a response within a deadline; used for monitoring and control, and transaction processingcar engine management, airbags, medical monitors, booking seats or card payments
Network OSshares resources (files, printers), manages users and permissions, supports communication across a networkWindows Server, Linux servers
Mobile OSfor smartphones and tablets; lower processing requirements; manages power for longer battery life; touch interface; app storeAndroid, iOS, iPadOS
Batch processing compared with a real-time systemBatch: collect, then process togetherjobjobjobjobjobRun overnight on a schedule, no user inpute.g. payroll, bank statements, utility billsReal-time: respond within a deadlineSensorRTOS decidesOutput actsmust happen within milliseconds, every timee.g. airbags, autopilots, card payment approval
Batch systems favour throughput with no interaction; real-time systems guarantee a response within a fixed time.
Timeline of multitasking with time slices and an interruptCPU time →ABCAKeyBCAKeyboard interrupt: the kernel pauses the current task,runs the keyboard handler, then carries onA = music player · B = word processor · C = file download
Multitasking: the scheduler gives each program a short time slice in turn, so fast that they all seem to run at once.

Time-slicing gives each running task a tiny slice of processor time in turn, so they appear to run at the same time. An interrupt is a signal (a key press, a network packet arriving, a timer) that makes the processor pause, deal with the event, then carry on.

Key terms

Batch processing
grouping jobs and processing them together without user interaction.
Time-slicing
sharing processor time between tasks in small turns.
Interrupt
a signal that makes the processor deal with an event.
RTOS
real-time operating system: responds within a guaranteed time.

Exam focus

Match the OS type to the scenario’s need: deadlines → real-time; high volume and scheduled → batch; many users and shared resources → network OS; battery life and touch → mobile OS.

Think it through

Why is an online seat booking system an example of real-time transaction processing?

Each booking must be processed immediately and the seat locked, so two customers cannot buy the same seat.

Why do mobile operating systems close background apps more aggressively than desktop ones?

To save battery and memory: mobile devices have less power and RAM, so idle apps are paused or closed.

Watch

A short revision video from the MrBrownCS series.

Watch and think:

  • Name three jobs an operating system does.

Open on YouTube ↗

7.2 Software T Level core · 7.2.2

Utility software

By the end you can: explain the features and uses of file management, defragmentation, compression, package managers, protection and backup software.

Utility software helps look after the computer rather than doing a user’s task. Most operating systems include utilities, and others are installed separately.

Common utilities
UtilityWhat it doesWhy it matters
File managementcreate, copy, move, rename, delete and search files and folders; manage permissionskeeps data organised and findable
Defragmenterrearranges the scattered parts of files on a hard disk so each file is stored togetherfewer head movements, faster reads on HDDs (not needed for SSDs)
File compressionmakes files smaller (lossless ZIP, or lossy for media)saves storage and speeds up transfers
Package managerinstalls, updates and removes software and its dependencies from trusted repositories (apt, winget, npm, pip)consistent, secure, repeatable installs and quick updates
Protection softwareantivirus/anti-malware, firewalls, encryption toolsstops, detects and removes threats; protects data
Backup softwarecopies data on a schedule (full, incremental, differential) and restores itrecovery after failure, deletion or ransomware
Full, incremental and differential backups over a weekSunMonTueWedThuIncrementalDifferentialFullFullMonMonTue onlyMon→TueWed onlyMon→WedThu onlyMon→ThuEach backs up only what changed since the previous backup: quick to make, but a restore needs the full backup plus every incremental.Each backs up everything changed since the full backup: grows each day, but a restore needs only the full backup plus the latest one.3-2-1 rule: 3 copies of the data, on 2 kinds of media, with 1 copy off-site.
Backup strategies. The choice trades time and space for making backups against the time and effort to restore.
sudo apt update
sudo apt install nmap
sudo apt upgrade
winget install Python.Python.3.12
winget upgrade --all

Package managers on Linux (apt) and Windows (winget)

Key terms

Utility
software that maintains or protects the computer.
Fragmentation
a file stored in pieces across a disk.
Dependency
another package a program needs in order to run.
Incremental backup
copies only data changed since the last backup.

Think it through

Why should you not defragment an SSD?

SSDs have no moving head, so fragmentation does not slow them down, and extra writes shorten the SSD’s life.

Give one advantage of installing software with a package manager.

It fetches the correct version and all its dependencies from a trusted source, and can update everything with one command.

Watch

A short revision video from the MrBrownCS series.

Watch and think:

  • Give two utilities and the problem each solves.

Open on YouTube ↗

A short revision video from the MrBrownCS series.

Watch and think:

  • When must you use lossless compression?

Open on YouTube ↗

7.2 Software T Level core · 7.2.3

Code development tools

By the end you can: explain the features of IDEs (code editing, debugging, screen design), compilers and interpreters.

Parts of an integrated development environment▶ Run ⏸ Debug ⚙ BuildProject files1total = 02for n in scores:3 total += n4print(total / len(scores))← breakpointDebugger: total = 142, n = 71 (watch variables, step through)Screen designerName: ______Score: ______Save
An IDE puts code editing, debugging and screen design tools in one program, speeding up development and making errors easier to find.
Features of an integrated development environment
IDE toolFeaturesBenefit
Code editingsyntax highlighting, auto-complete, auto-indent, error underlining, find and replace, refactoringfaster coding and fewer typing errors
Debuggingbreakpoints, stepping line by line, watching variable values, call stackfind logic errors by seeing exactly what the program does
Screen designdrag-and-drop layout of forms, buttons and text boxesbuild user interfaces quickly and consistently
Build and runone click to compile/run, integrated terminal, version controlquick testing and teamwork
Compiler compared with interpreterCompilerSource codeCompilerExecutabletranslates the whole program once, before it runsfast to run; errors listed after compiling;source code not needed to run itInterpreterSource codeInterpreter runs itline by linetranslates and runs one line at a timestops at the first error: easy to test and debug;slower to run; needs the interpreter installed
Both turn high-level code into something the processor can run; they differ in when the translation happens.

Some languages use both: Java and C# compile to an intermediate bytecode, which a virtual machine then runs. Python is usually interpreted, which makes it quick to try things out.

Key terms

IDE
integrated development environment: tools for writing, testing and debugging code in one program.
Breakpoint
a marked line where the program pauses while debugging.
Compiler
translates a whole program into machine code before it runs.
Interpreter
translates and runs a program one line at a time.

Think it through

Why might a games studio compile its final game?

Compiled code runs faster and players do not need the source code or an interpreter; it also protects the code from being easily read.

How does a breakpoint help find a logic error?

The program pauses at that line so you can inspect variable values and step through, seeing where the values stop matching what you expected.

7.2 Software T Level core · 7.2.4

Application software

By the end you can: explain the features and uses of word processors, spreadsheets, databases, email and project management software.

Common application software
ApplicationKey featuresBusiness use
Word processorformatting, styles, templates, mail merge, track changes, commentsletters, reports, policies, contracts
Spreadsheetcells, formulas and functions, charts, sorting and filtering, what-if modellingbudgets, invoices, sales analysis, forecasts
Databasetables, records and fields, relationships, queries, forms, reports, validationcustomer, stock, patient and student records
Emailsend and receive messages and attachments, folders, contacts, calendar, rulescommunication with staff and customers
Project managementtasks, deadlines, Gantt charts, Kanban boards, resource allocation, progress trackingplanning and tracking software projects and teamwork

In the real world: a doctor’s surgery

Reception uses a database for patient records and appointments, a spreadsheet to track monthly budgets, word processing for referral letters (often mail-merged from the database), email to communicate with the hospital, and project management software to plan a move to a new records system.

Key terms

Application software
programs that help users carry out tasks.
Relational database
data stored in linked tables.
Mail merge
combining a template with a list of data to create personalised documents.
Gantt chart
a timeline showing tasks, durations and dependencies.

Think it through

Why would a business use a database rather than a spreadsheet for 50,000 customer records?

Databases handle large volumes, link related tables, enforce validation, let many users work at once, and run complex queries quickly.

Name one feature of project management software that helps a team meet a deadline.

A Gantt chart or Kanban board showing task dependencies and progress, so delays are spotted early.

7.3 Networks T Level core · 7.3.1 · 7.3.2

Why we network, and types of network

By the end you can: explain the benefits and drawbacks of networking devices, and the features of PAN, LAN, MAN, WAN and VPN.

7.3.1 Why connect devices?
Benefits of connecting devicesDrawbacks
share files, printers and internet connections; communicate (email, chat, VoIP); central backups and security; collaborate on the same data; manage devices centrallycost of equipment and set-up; needs specialist staff; security risks (malware can spread); a failure of a key device can stop everyone; performance drops when the network is busy
Networks from personal to worldwideWAN: countries and continents (the internet is the biggest WAN)MAN: a city or a university campusLAN / WLAN: one building or sitePANBluetooth: watch, earbuds
Network types grow in size from a personal area network to a wide area network. Each larger network links smaller ones together.
7.3.2 Network types
TypeNumber of usersConnection and coverageExample
PANone persona few metres; Bluetooth, USBphone to earbuds and a smartwatch
LANa few to thousandsone building or site; Ethernet cables and Wi-Fischool or office network
MANmany organisationsa town or city; fibre linkscouncil network linking libraries
WANmillionscountries and continents; leased lines, fibre, satellitethe internet; a bank linking its branches
VPNauthorised remote usersruns over another network, usually the internet, encryptedstaff working from home reaching office files
A VPN tunnel across the internetHome workerPublic internetOffice VPN gatewayencrypted tunnel: data looks like gibberish to anyone in betweenThe laptop behaves as if it were plugged into the office network
A virtual private network (VPN) creates an encrypted connection over a public network, so remote users can reach private resources securely.

Key terms

LAN
local area network: one site.
WAN
wide area network: large geographical area.
VPN
virtual private network: an encrypted tunnel across a public network.
Coverage
the geographical area a network reaches.

Think it through

Give one drawback of networking computers in a small office.

Malware can spread from one infected computer to all the others, or the whole office stops if the router fails.

Why does a VPN matter for someone on public café Wi-Fi?

Everything is encrypted between the laptop and the VPN gateway, so others on the café network cannot read it.

Watch

A short revision video from the MrBrownCS series.

Watch and think:

  • What factors reduce network performance?

Open on YouTube ↗

7.3 Networks T Level core · 7.3.3

Connectivity: copper, fibre and wireless

By the end you can: compare the features, benefits and drawbacks of copper Ethernet, fibre-optic and wireless connections.

7.3.3 Connectivity methods
MethodHow it worksBenefitsDrawbacks
Copper / Ethernet (e.g. Cat6 UTP)electrical signals over twisted pairs of copper wirecheap, easy to fit, reliable, fast (1–10 Gbps), can carry power (PoE)max about 100 m per run; affected by electrical interference; cables must reach each device
Fibre opticpulses of light through glass strandsvery high speed and bandwidth; long distances (km); immune to interference; hard to tapexpensive; fragile; needs specialist installation and equipment
Wireless (access points)radio waves between devices and a wireless access point (Wi-Fi 802.11)mobility; no cables; quick to add users; supports phones and tabletsslower and less reliable than cable; range limited by walls; interference; must be secured (WPA2/WPA3)
Copper, fibre and wireless comparedRelative comparison (longer bar = more)SpeedDistanceInterference resistanceCost to installMobilityCopper (Ethernet)Fibre opticWireless (Wi-Fi)
No medium wins on everything: networks mix copper to desks, fibre for backbones and long runs, and wireless for mobile devices.

Key terms

UTP
unshielded twisted pair: the usual copper network cable.
Wireless access point
connects wireless devices to a wired network.
Attenuation
a signal getting weaker over distance.
Interference
unwanted signals that corrupt data.

Try it in Packet Tracer: wireless access point

  1. Build a switch with two wired PCs and an AccessPoint-PT.
  2. Set the SSID and WPA2-PSK passphrase on the AP (Config → Port 1).
  3. Give a laptop a wireless card (WPC300N) and the same settings.
  4. Ping a wired PC from the laptop.

Exam focus

Scenario questions often ask you to recommend a connection: weigh distance, speed, cost, interference and mobility against what the organisation actually needs.

Think it through

Why would a hospital use fibre between buildings?

The distance is too far for copper, fibre carries huge amounts of data such as scans, and it is not affected by electrical interference from medical equipment.

Give one reason an office might still wire desks with copper when it has Wi-Fi.

Wired connections are faster and more reliable for desktop PCs, and do not share bandwidth with every wireless user.

Watch

A short revision video from the MrBrownCS series.

Watch and think:

  • Why is Ethernet usually faster and more reliable than Wi-Fi?

Open on YouTube ↗

7.3 Networks T Level core · 7.3.4 · 7.3.5

Topologies and network models

By the end you can: compare star, mesh and tree topologies, physical and logical topologies, and client-server, thin client and peer-to-peer models.

Six physical network topologiesBusone break stops everythingRingdata passes device to deviceStarmost common LAN todayExtended starstars joined togetherMeshmany paths: very reliable, costlyHierarchical (tree)layers: core → distribution → access
Physical topologies describe how devices are cabled together. Star and extended star (with switches in the middle) are used in almost every modern LAN.
7.3.4 Topologies
TopologyFeaturesBenefitsDrawbacks
Starevery device has its own cable to a central switcha cable fault affects one device; easy to add devices and find faultsthe switch is a single point of failure; lots of cable
Meshdevices connect to many (full mesh: all) othersmany routes, so it keeps working if links fail; good for WANs and wireless meshexpensive and complex; many connections to manage
Tree (hierarchical)stars joined in layers from a central rootscales well; easy to extend by adding branches; faults contained in a branchif the root or a trunk link fails, whole branches are cut off

The physical topology is how the cables and devices are actually laid out. The logical topology is how data flows between devices. They can differ: a network can be cabled as a star but pass data around logically like a ring or bus.

Peer-to-peer, client/server and thin client modelsPeer-to-peerevery PC shares and uses resourcesClient/serverServerserver provides files, logins, servicesThin clientdoes ALL the processingscreen +keyboardscreen +keyboardscreen +keyboardclients only display and send key presses
Three network models. The difference is where the files, logins and processing live.
7.3.5 Network models
ModelBenefitsDrawbacks
Client-servercentral storage, logins, security and backups; scales to many usersservers and skilled staff cost money; if a server fails, services stop
Thin clientcheap, simple desk devices; data stays on the server; easy central managementdepends completely on the network and server; poor for heavy graphics
Peer-to-peercheap and easy to set up; no server neededhard to manage and secure beyond a few devices; backups scattered; slower when a peer is busy

Key terms

Physical topology
the actual layout of devices and cables.
Logical topology
the way data flows through the network.
Single point of failure
one component whose failure stops the whole system.
Thin client
a simple device relying on a server for processing and storage.

Think it through

Why is a tree topology suited to a large school on several floors?

Each floor or block can be a star connected to a central switch, so it is easy to extend, and a fault stays within one branch.

Give one reason a two-person start-up might choose peer-to-peer.

It needs no server or network administrator, so it is cheap and quick to set up for a few devices.

7.3 Networks T Level core · 7.3.6

Network components and the internet backbone

By the end you can: explain the role of servers, clients, routers, switches and the internet connection and backbone.

7.3.6 Common network components
ComponentRole
Serverprovides services to clients: files, web, email, printing, databases, DHCP, DNS, authentication
Clienta device that requests and uses services: PCs, laptops, phones
Switchconnects devices within a LAN; forwards frames only to the correct port using MAC addresses
Routerconnects different networks; forwards packets between them using IP addresses; usually links a LAN to the internet
Internet connectionthe link from the organisation to its ISP (fibre, cable, DSL, 4G/5G, leased line)
Internet backbonethe very high-capacity links and routers (tier 1 networks, exchange points, undersea cables) that join networks worldwide
How a switch learns MAC addressesSwitchPC A · AA-11port 1PC B · BB-22port 2PC C · CC-33port 3PC D · DD-44port 4MAC address tableAA-11 → port 1 (learned)CC-33 → port 3 (learned)
A switch reads the source MAC address of each frame to learn which device is on which port, then forwards frames only to the right port.
From a home network to the internet backboneDevicesHome routerISPlocal exchange / cabinetISP core networkInternet backbonetier 1 networks, internetexchange points (IXPs)DSL / cable / fibreUndersea fibre cablesData centres and cloudOther ISPs and countries
Your internet connection links your home or office to an ISP, whose network joins the high-capacity backbone that carries traffic between networks and continents.
Common server types
Server typeService
File servershared folders with permissions
Web serverhosts websites (HTTP/HTTPS)
Mail serversends and stores email (SMTP, IMAP/POP)
Print servermanages print queues
Database serverstores and queries data for applications
DHCP / DNS serverhands out IP addresses / turns names into IP addresses
Proxy serverrequests web content on behalf of clients; filters and caches

Key terms

Switch
connects devices in a LAN using MAC addresses.
Router
connects networks and routes packets using IP addresses.
ISP
internet service provider.
Internet backbone
the high-capacity core links of the internet.

Try it in Packet Tracer: home network to the internet

  1. Build a home LAN (PCs, switch or home router).
  2. Add a Cloud-PT and a cable or DSL modem between the home router and the cloud.
  3. In the cloud, connect the modem’s interface to the Ethernet interface leading to a server.
  4. Ping the server, then swap DSL for cable and compare.

Based on the teacher’s ‘Simulating a home network to the internet’ practical.

Think it through

What is the difference between the role of a switch and a router?

A switch connects devices within one network using MAC addresses; a router connects different networks and forwards packets between them using IP addresses.

Why are undersea cables part of the internet backbone?

They carry most data between continents at very high capacity, which satellites cannot match.

7.3 Networks T Level core · 7.3.7 · 7.3.8

The OSI and TCP/IP models

By the end you can: describe the function and related protocols of each layer of the seven-layer OSI model and the four-layer TCP/IP model.

The OSI model beside the TCP/IP modelOSI model (7 layers)TCP/IP modelUnit of data7 ApplicationHTTP, DNS, SMTPData6 Presentationencryption, formatsData5 Sessionstart/stop sessionsData4 TransportTCP, UDP · portsSegment3 NetworkIP · routersPacket2 Data linkEthernet, Wi-Fi · MAC · switchesFrame1 Physicalcables, radio, bitsBitsApplicationTransportInternetNetwork accessPlease Do Not Throw Sausage Pizza Away → Physical, Data link, Network, Transport, Session, Presentation, Application
The OSI model splits communication into seven layers; the TCP/IP model used on the internet groups them into four.
7.3.7 OSI model
OSI layerFunctionExample protocols / devices
7 Applicationnetwork services for applicationsHTTP, HTTPS, FTP, SMTP, DNS
6 Presentationformats, encrypts and compresses dataTLS/SSL, JPEG, ASCII
5 Sessionstarts, manages and ends sessionssession set-up and checkpoints
4 Transportend-to-end delivery, ports, splitting into segments, reliabilityTCP, UDP
3 Networklogical addressing and routing between networksIP, RIP, OSPF · routers
2 Data linkframes, MAC addresses, error detection on a linkEthernet, Wi-Fi · switches
1 Physicaltransmits bits as signals over the mediumcables, radio, fibre · hubs
TCP/IP layers with example protocolsApplicationHTTP, HTTPS, SMTP, POP, IMAP, FTP, SFTP, DNS, DHCPTransportTCP (reliable) · UDP (fast)InternetIP addressing and routing · RIP, OSPFNetwork (access)Ethernet, Wi-Fi · MAC addresses · frames and bits
The four-layer TCP/IP model used on the internet, with protocols from the specification at each layer.
Encapsulation as data moves down the layersApplicationData (e.g. a web page request)TransportTCP header: portsDataInternetIP header: IP addressesTCPDataNetwork accessEthernet header: MACsIPTCPDataTrailer: FCSSending: each layer adds its own header (encapsulation). Receiving: each layer removes it (de-encapsulation).
Encapsulation wraps the data in headers, like putting a letter in an envelope, then in a parcel, then on a lorry.

Key terms

Protocol
an agreed set of rules for communication.
Encapsulation
each layer adds its own header to the data.
TCP
reliable, connection-based transport.
UDP
fast, connectionless transport without re-sending.

Exam focus

Learn one job and two protocols for every layer. Questions often give a protocol and ask for its layer, or ask why layers help (standards, interoperability, easier troubleshooting).

Think it through

Which OSI layers are combined into the TCP/IP application layer?

Application, presentation and session (layers 7, 6 and 5).

At which layer does encryption with TLS take place in the OSI model?

The presentation layer (layer 6), which handles encryption, compression and data formats.

Watch

A short revision video from the MrBrownCS series.

Watch and think:

  • Name the four TCP/IP layers in order.

Open on YouTube ↗

7.3 Networks T Level core · 7.3.9

Data packets, packet switching and error handling

By the end you can: describe the structure of a data packet, the role of each part, packet switching, causes of packet loss and CRC.

The structure of a data packetHeadersource and destination IPsequence number · protocolTTL · packet lengthPayloadthe actual data(part of a file, email, video)Trailererror check (CRC)end markerRouters read the header to forward the packet; the receiver usesthe sequence number and CRC to rebuild and check the data.
Every packet carries a header (addressing and control), a payload (the data) and a trailer (error checking).
Components of a packet
PartContentsRole
Headersource and destination IP addresses, sequence number, protocol, time to live (TTL), lengthtells routers where to send the packet and the receiver how to reassemble it
Payloada chunk of the data being sentthe useful content
TrailerCRC or checksum, end-of-packet markerlets the receiver detect corruption
Packets taking different routes across a networkSendersplits into 1 2 3Receiverreorders 1 2 3R1R2R3R4R5packets 1 and 3packet 2 (a quieter route)
Packet switching. Each router sends each packet on the best route at that moment; the receiver uses sequence numbers to rebuild the message.
Causes of packet loss
Cause of packet lossWhy it happens
Congestionrouters or links are overloaded and drop packets from full queues
Faulty hardware or cablesdamaged equipment corrupts or drops signals
Wireless interference / weak signalradio noise and distance corrupt packets
Time to live expiresa packet travels through too many routers (e.g. a routing loop) and is discarded
Software bugs or misconfigurationwrong routes or firewall rules drop packets
Adding and checking a CRCData bitsCRCSender divides the data by an agreed binary number(the generator) and appends the remainderReceiver divides data + CRC againremainder 0 → acceptanything else → error detectedCRC catches all single-bit errors and almost all bursts of errors, which is why Ethernet, Wi-Fi, ZIP files and discs use it.
A cyclic redundancy check (CRC) is a more powerful checksum based on binary division.

Key terms

Packet switching
splitting data into packets that travel independently and are reassembled.
Sequence number
the packet’s position, used to reassemble the data in order.
TTL
time to live: the number of router hops before a packet is discarded.
CRC
cyclic redundancy check: an error-detection value calculated from the data.

Think it through

Why can packets from the same file arrive out of order?

Each packet is routed independently and can take a different path with different delays; the sequence numbers let the receiver put them back in order.

What happens when the receiver’s CRC calculation does not match?

The packet is treated as corrupted and discarded; with TCP the sender re-sends it after no acknowledgement arrives.

Watch

A short revision video from the MrBrownCS series.

Watch and think:

  • How is a parity bit like a CRC, and how is it weaker?

Open on YouTube ↗

7.3 Networks T Level core · 7.3.10

Common network protocols

By the end you can: explain the role of web, mail, routing and application protocols: HTTP, HTTPS, SMTP, POP, IMAP, RIP, OSPF, FTP, SFTP, DHCP and DNS.

7.3.10 Protocols in the specification
GroupProtocolRolePort
WebHTTPtransfers web pages between browser and server (not encrypted)80
WebHTTPSHTTP encrypted with TLS: protects logins, payments and personal data443
MailSMTPsends email from client to server and between mail servers25 / 587
MailPOP (POP3)downloads email to one device, usually deleting it from the server110 / 995
MailIMAPkeeps email on the server and synchronises it across devices143 / 993
RoutingRIProuters share routes; chooses the path with the fewest hops (max 15)–
RoutingOSPFlink-state routing: builds a map of the network and chooses the lowest-cost (fastest) path–
ApplicationFTPtransfers files (not encrypted)20 / 21
ApplicationSFTPsecure file transfer over SSH (encrypted)22
ApplicationDHCPautomatically gives devices an IP address, mask, gateway and DNS server67 / 68
ApplicationDNStranslates domain names into IP addresses53
The four DHCP messagesNew deviceDHCP server1. Discover: Is there a DHCP server? (broadcast)2. Offer: You can have 192.168.1.503. Request: Yes please, I'll take .504. Acknowledge: It's yours for 8 days: mask, gateway, DNS
DHCP gives each device an IP address, subnet mask, default gateway and DNS server automatically (remember DORA).
How DNS finds the IP address for a nameYour PCLocal DNS server(ISP or company)Root server.uk TLD serverbbc.co.uk server1 www.bbc.co.uk?2345 it is 151.101.0.81The answer iscached, so thenext lookup isinstant
DNS turns names people can remember into the IP addresses computers use. Answers are cached to save time.

Key terms

Port number
identifies which service or application data is for.
Hop
one step from one router to the next.
Link-state
a routing method where routers share a full map of links and their costs.

Try it in Packet Tracer: DHCP and DNS servers

  1. Add a server with static IP 192.168.1.2.
  2. Turn on DHCP (pool from .100, gateway .1, DNS .2) and DNS (A record intranet.local → 192.168.1.2) and HTTP.
  3. Set PCs to DHCP, then browse to intranet.local.

Exam focus

Compare POP and IMAP carefully: POP downloads to one device; IMAP keeps mail on the server and syncs every device. A common question asks which suits a worker who uses a phone and a laptop.

Think it through

Why is RIP less suitable than OSPF for a large network?

RIP only counts hops (maximum 15) and ignores link speed, so it may pick a slow route; OSPF uses link costs, scales better and adapts faster to changes.

Which protocol should a web designer use to upload files to a client’s server, and why?

SFTP, because it encrypts the login and the files, unlike FTP.

Watch

A short revision video from the MrBrownCS series.

Watch and think:

  • Which protocol would you use to upload a website securely?

Open on YouTube ↗

A short revision video from the MrBrownCS series.

Watch and think:

  • Which mail protocol suits someone using a phone and a laptop?

Open on YouTube ↗

7.3 Networks T Level core · 7.3.11

Bandwidth and latency

By the end you can: explain bandwidth and latency and their effect on the performance of networks and connected systems.

Bandwidth and latency as a pipeBandwidth = how wide the pipe islow bandwidth: little data per secondhigh bandwidth: lots of data per secondmeasured in Mbps or GbpsLatency = how long the pipe isshort: low delaylong: high delay (e.g. satellite)measured in milliseconds (ms), e.g. by ping
Bandwidth is the amount of data a connection can carry per second; latency is the delay before data arrives. They affect different kinds of application.
How bandwidth and latency affect applications
ApplicationNeeds high bandwidth?Needs low latency?Why
Streaming 4K videoyesnot verylots of data, but buffering hides short delays
Online gamingnot muchyessmall updates must arrive instantly or play lags
Video calls / VoIPmoderateyesdelay causes people to talk over each other
Large file downloads / backupsyesnototal time depends on how much data per second
Remote control of machinery or surgerymoderatecriticala delay could be dangerous

Worked example: Download time

  1. A 2 GB file is 2,000 MB = 16,000 megabits (× 8).
  2. On a 100 Mbps connection: 16,000 ÷ 100 = 160 seconds (about 2 min 40 s).
  3. On a 20 Mbps connection: 16,000 ÷ 20 = 800 seconds (over 13 minutes).
  4. Latency barely matters here; bandwidth decides the time.

Remember: bandwidth is usually in bits per second, file sizes in bytes, so multiply bytes by 8.

Performance also depends on contention (many users sharing the same bandwidth), distance and the number of hops, congestion and packet loss (which causes re-sends), and the slowest link in the path.

Key terms

Bandwidth
the maximum data a connection can carry per second.
Latency
the delay for data to travel from source to destination.
Throughput
the data actually delivered per second.
Jitter
variation in latency, which disrupts calls and games.

Think it through

Why can a satellite connection feel slow for gaming even with good bandwidth?

The signal travels to a satellite and back, adding high latency, so each action takes noticeably longer to register.

How long does a 500 MB file take to download at 50 Mbps?

500 × 8 = 4,000 megabits; 4,000 ÷ 50 = 80 seconds.

7.4 Virtual environments T Level core · 7.4.1 – 7.4.4

Virtual machines, hypervisors and virtual environments

By the end you can: explain virtual machine clients and servers, type 1 and type 2 hypervisors, and the key features, benefits and drawbacks of virtual environments.

Type 1 and Type 2 hypervisorsType 1: bare metalServer hardwareHypervisor (e.g. ESXi, Hyper-V, Proxmox)VM: webown OS + appsVM: mailown OS + appsVM: filesown OS + appsType 2: hostedLaptop hardwareHost OS (Windows / macOS)Hypervisor app (e.g. VirtualBox)VM: LinuxVM: Server
Virtualisation runs several virtual machines on one physical computer. Type 1 is used for servers; Type 2 is handy for learning and testing.
7.4.1 Components
ComponentWhat it is
Virtual machine (client)a software computer: a virtual PC, or network devices such as a virtual switch or virtual router
Virtual machine (server)a server OS running as a VM, e.g. web, email or database server
Type 1 hypervisor‘bare metal’: installed directly on the hardware; efficient and secure; used in data centres (ESXi, Hyper-V, Proxmox)
Type 2 hypervisor‘hosted’: an application on a normal OS; easy to set up; good for testing and learning (VirtualBox, VMware Workstation)
Virtual clients, switch and router inside one hostOne physical host running a hypervisorVirtual PC 1Virtual PC 2Virtual serverVirtual switchVirtual routerreal NIC
Virtual machines, switches and routers are software, but they behave like real devices, so whole networks can run inside one server.
Key features of virtual environments
Key feature (7.4.2)Meaning
Increased securityeach VM is separated, so a problem in one is contained; snapshots allow quick roll-back
Managed executionthe hypervisor controls and limits the CPU, memory and storage each VM can use
Sharingone physical machine’s resources are shared between many VMs
Aggregationresources from several physical machines can be pooled and managed as one
Emulationa VM can imitate different hardware or operating systems
IsolationVMs cannot see or affect each other
Portabilitya VM is a set of files that can be copied, backed up or moved to another host
Benefits and drawbacks
Benefits (7.4.3)Drawbacks (7.4.4)
cost-effective for large environments (fewer physical servers); easy central management; resilience (move VMs if a host fails); potentially lower carbon footprint (less hardware and power); improved disaster recovery (copy and restore VMs); better testing environments (safe, disposable copies); education and training (labs without extra kit)extra load on the host hardware; slower execution than running directly on hardware; performance can be falsely represented, because a VM’s speed depends on the host and the other VMs sharing it

Key terms

Virtual machine
a software emulation of a computer.
Hypervisor
software that creates and manages virtual machines.
Snapshot
a saved state of a VM that can be restored.
Host / guest
the physical machine / the virtual machine running on it.

Exam focus

Balance benefits and drawbacks for the scenario. A school running 30 practice servers benefits hugely; a single high-performance game server may run better on bare hardware.

Think it through

Why is a type 2 hypervisor fine for a student but not for a data centre?

It runs on top of a normal OS, which adds overhead and another thing that can fail; a type 1 hypervisor runs directly on the hardware for better performance and security.

How does virtualisation improve disaster recovery?

Whole VMs can be copied or snapshotted and restored quickly on other hardware, instead of rebuilding a physical server from scratch.

7.5 Cloud environments T Level core · 7.5.1 – 7.5.3

Cloud types, benefits and delivery models

By the end you can: compare private and public clouds, explain the benefits of cloud, and describe IaaS, PaaS and SaaS and who manages what.

7.5.1 Types of cloud
Private cloudPublic cloud
Owned / used byone organisation (on-site or hosted for it alone)a provider shares its infrastructure with many customers (AWS, Azure, Google Cloud)
Control and securityfull control; data kept separateless control; security shared with the provider
Costhigh up-front cost; needs in-house skillspay as you go; no hardware to buy
Scalinglimited by hardware ownedalmost unlimited, very quickly
Benefits of cloud
Benefit (7.5.2)Meaning
Portabilitydata and services can be reached from anywhere, on any device; workloads can move between locations
Elasticityresources scale up at busy times and down when quiet, automatically
Fewer storage limitationsstorage can grow as needed without buying disks
Cost effectivenesspay only for what is used; no hardware, power or maintenance costs
Who manages what in IaaS, PaaS and SaaSIaaSUser accountsDataApplication softwareRuntimeSystem software (middleware, OS)VirtualisationHardware (servers, network, storage)PaaSUser accountsDataApplication softwareRuntimeSystem software (middleware, OS)VirtualisationHardware (servers, network, storage)SaaSUser accountsDataApplication softwareRuntimeSystem software (middleware, OS)VirtualisationHardware (servers, network, storage)Orange = the client manages it · Blue = the cloud provider manages it
The specification’s split of responsibilities. With SaaS the client only manages user accounts and data.
7.5.3 Cloud delivery models
ModelExampleAdvantagesDisadvantages
IaaSrenting virtual servers (e.g. Azure VMs, AWS EC2)most control and flexibility; no hardware to buyclient must manage and secure the OS and everything above it; needs skills
PaaSa platform to deploy code (e.g. Azure App Service, Heroku)developers focus on code; provider patches the OS and runtimeless control; may be tied to one provider’s platform
SaaSready-made software in a browser (e.g. Microsoft 365, Gmail)no installation or maintenance; available anywhereleast control and customisation; depends on the provider and internet

Key terms

Elasticity
automatically adding or removing resources to match demand.
IaaS
infrastructure as a service.
PaaS
platform as a service.
SaaS
software as a service.

Exam focus

Learn the responsibility split exactly as in the specification: IaaS client manages application software, system software (middleware and OS), runtime, data and user accounts; PaaS client manages application software, data and user accounts; SaaS client manages only user accounts and data.

Think it through

An online shop gets 20 times more visitors on Black Friday. Which cloud benefit helps most?

Elasticity: extra servers are added automatically for the peak and removed afterwards, so the shop only pays for them while needed.

Which delivery model gives a developer the least server administration while still running their own code?

PaaS: the provider manages the OS, middleware and runtime; the developer manages the application and data.

7.6 Resilient digital environments T Level core · 7.6.1 · 7.6.2

Resilience: benefits and methods

By the end you can: explain the benefits of resilient environments and the methods used to improve resilience.

A resilient digital environment keeps working, or recovers quickly, when something goes wrong: a failed disk, a cyber attack, a power cut, a flood or a mistake by a member of staff.

Why resilience matters
Benefit (7.6.1)Impact on organisations and clients
Increased securitydata is protected in storage and in transfer; fewer vulnerabilities for attackers to exploit
Increased reputationprotects the brand and image; customers keep their confidence and stay
Reduction in downtimeservices stay available, so sales, work and customer service continue
Methods to improve resilience
Method (7.6.2)How it improves resilience
Software updates / upgradesplanned updates add features and fixes; patches close newly found vulnerabilities quickly
Hardware replacementrolling replacement plans swap old kit before it fails; secure disposal wipes or destroys drives so data cannot be recovered
Data and system redundancyduplicate disks (RAID), servers, power supplies and connections remove single points of failure
Device hardeningremove unneeded ports, applications, permissions and access to shrink the attack surface
Backup systems and recovery procedurescopies kept onsite (fast restore), remote/offsite (safe from local disaster) and in the cloud; tested recovery procedures
Hot, warm and cold sitesan alternative location to run from after a disaster
Standard operating procedureseffective staff training, induction for new starters, and training for new digital systems and new or updated policies
Hot, warm and cold standby sitesHot sitefully equipped, systems running and data mirroredmost expensiveminutesWarm siteequipment ready, data restored from recent backupsmoderate costhours to a dayCold sitespace, power and connections only; equipment must be installedcheapestdays to weekstime to recover
A standby site lets an organisation keep working after a disaster. The faster the recovery, the higher the cost.
How RAID 0, 1 and 5 place data across drivesRAID 0: stripingA1A3A5A7Disk 1A2A4A6A8Disk 2fast, but no protectionRAID 1: mirroringA1A2A3A4Disk 1A1A2A3A4Disk 2survives one failure; half the spaceRAID 5: striping + parityA1B1C1PdDisk 1A2B2PcD1Disk 2PaPbC2D2Disk 3survives one failure; parity is spread
RAID levels. Orange blocks hold parity: extra data calculated from the other blocks, so a lost block can be rebuilt. RAID is not a backup.

In the real world: a ransomware attack

An online retailer’s servers are encrypted by ransomware. Because it kept offsite and cloud backups, patched its systems, and had a tested recovery procedure and a warm site, it restored service within hours instead of paying the criminals or closing for weeks.

Key terms

Resilience
the ability to keep working or recover quickly after a problem.
Patch
a software update that fixes a bug or vulnerability.
Device hardening
reducing the attack surface by removing anything not needed.
Redundancy
duplicate components that take over if one fails.
Hot site
a fully running standby location for immediate failover.

Exam focus

For ‘evaluate’ questions on resilience, weigh cost against risk: a hospital or bank justifies a hot site and full redundancy; a small café might rely on cloud backups and a cold plan.

Think it through

Why must old hard drives be disposed of securely?

They may still hold personal or business data, which could be recovered and misused, breaching data protection law and damaging reputation.

Give two examples of device hardening on a new server.

Close unused ports and services, remove unneeded software and default accounts, and give users only the permissions they need.

Watch

Data security in storage and transfer is a benefit of resilient environments (7.6.1).

Watch and think:

  • Why does encryption improve resilience?

Open on YouTube ↗

A dramatised attack through an unsecured smart thermostat on an unsegmented network.

Watch and think:

  • Which resilience methods would have stopped the attack?
  • What did the company lose?

Open on YouTube ↗

How a ransomware attack comes together, and why patching, hardening and backups matter.

Watch and think:

  • How did the attacker get in?
  • How would tested backups change the outcome?

Open on YouTube ↗

A fully automated port that stops if its network fails: a real case for redundancy and reduced downtime.

Watch and think:

  • Which resilience methods would you expect this port to use?

Open on YouTube ↗

Read the VectorUSA and Cisco case study ↗