Easier to read with cream paper, a tint, more contrast or larger text? Choose your colours and text, once, for every page.

Free lesson

OS 2.2 (2 of 2): Reduce risks and plan for trouble

The whole lesson, free. Read it and have a go at the activities. To work the tasks and labs in the real lesson, press Start lab, with no account needed.

55 minutes

A quick check that you are not a bot, then your own lab opens on the interactive lesson.

Already have an account? Sign in

The phone case and the photo backup

A phone case makes a broken screen less likely. A backup of your photos does not stop you losing your phone. It gets your photos back after you lose it.

Both deal with risk. The case makes the risk smaller. The backup is a plan for when it happens.

In software, you need both.

Key words

WordWhat it meansExample
MitigationAction that makes a risk smaller or less harmful.check every input to stop attacks
Contingency planA plan for what to do if a risk happens anyway.a spare developer who is ready to help
MonitoringChecking the risks again and again.review the register each week
BackupA copy of data kept safe in another place.a nightly copy in the cloud
ConfidentialityOnly the right people can see the data.a password for the medical records
IntegrityThe data is correct and not wrongly changed.the bill amount cannot be edited by a customer
AvailabilityThe system and data are there when people need them.the site works on a Monday morning
Business continuityKeeping the important work going during a problem.staff use paper orders while the system is down
Disaster recoveryGetting systems and data back after a big failure.rebuild the server from a backup

The cells students fill in are left blank in this preview.

The risk cycle

flowchart LR
  a[Identify the risks] --> b[Assess likelihood and seriousness]
  b --> c[Plan how to reduce them]
  c --> d[Plan what to do if they happen]
  d --> e[Monitor and review]
  e --> a

Quick check: reduce or recover?

Have a go

Quick check: reduce or recover?

3 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Four ways to respond to a risk

ResponseWhat it meansExample
AvoidChange the plan so the risk cannot happenDo not collect card details. Let a payment company do it.
ReduceMake it less likely or less harmfulTest early. Train the team. Keep backups.
SharePass some of the risk to someone elseBuy insurance (a company pays you if something goes wrong). Use a trusted cloud service.
AcceptDo nothing, and watch itA small risk with a low score

The cells students fill in are left blank in this preview.

Which response is it?

Have a go

Which response is it?

6 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Confidentiality, integrity, availability

Security people use three words, called CIA.

Confidentiality: only the right people see the data. Integrity: the data is correct and not changed by mistake or on purpose. Availability: the data and system are there when needed.

A risk usually harms one of the three.

C, I or A?

Have a go

C, I or A?

6 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Policies and procedures that manage risk

PolicyWhat it doesExample
BackupKeeps a copy so data can be restoredA nightly copy, tested every month
SecurityRules for passwords, access and updatesStaff use two-step login (two proofs of who you are)
Personnel, skills and trainingMakes sure people can do the jobTraining day on safe coding
Business continuity planHow to keep key work going in a problemTake orders by phone while the app is down
Disaster recovery planHow to restore systems after a major failureRebuild the server from backup in 4 hours

The cells students fill in are left blank in this preview.

Quick check: which policy?

Have a go

Quick check: which policy?

3 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Business continuity or disaster recovery?

Have a go

Business continuity or disaster recovery?

4 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Your turn: plan the response

Choose three risks from this list.

A. The lead developer is ill for two weeks. B. The customer database is hacked. C. The cloud server goes down on launch day. D. The client changes the main requirement in week 6. E. Staff delete the live data by mistake.

For each, complete this table:

Risk | Score (likelihood times seriousness) | Response (avoid, reduce, share or accept) | Mitigation | Contingency plan | How and when we monitor it

Example: E | 3 times 4 = 12 | Reduce | Only two people can delete data. Backups every night. | Restore the last backup | Check the backup test each month

A teacher marks this in a college. Nothing you write here is kept: it goes when you leave the page.

Make a free account to save your work, or press Start lab to work through the whole lesson.

Risk against reward

Almost everything has a risk. A new feature might attract users. It might also break the app.

A good developer weighs the reward against the risk and explains the choice. Ask: what do we gain? What could we lose? Can we make the risk smaller?

A decision table

OptionRewardRiskMy advice
Add live chat for customersHappy customers, more salesNeeds staff all day; private data in chatNot now. Add it in version 2 with training.
Use a new, untested payment toolLower feesUnknown bugs with moneyNo. Use the proven one.
Release a simple version in 4 weeksEarly feedback, early incomeFewer featuresYes. Add features later.

The cells students fill in are left blank in this preview.

Your turn: advise the client

A cinema chain wants to add a feature that records customers' faces to speed up entry. The client is very keen on the idea. It will cost £40,000.

Write short advice for the client. Use this template.

  1. The reward (what the client gains):
  2. The risks (at least three: think about law, data, trust and cost):
  3. How we could reduce each risk:
  4. My recommendation: go ahead, go ahead with changes, or do not go ahead:
  5. Why I think so:

There is no single right answer. Marks are for clear reasons that weigh the reward against the risk.

A teacher marks this in a college. Nothing you write here is kept: it goes when you leave the page.

Make a free account to save your work, or press Start lab to work through the whole lesson.

Final check

Have a go

Final check

5 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Teach this lesson with your class

On a college account your students work the tasks and the labs as well, and every mark is kept for you.