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
| Word | What it means | Example |
|---|---|---|
| Mitigation | Action that makes a risk smaller or less harmful. | check every input to stop attacks |
| Contingency plan | A plan for what to do if a risk happens anyway. | a spare developer who is ready to help |
| Monitoring | Checking the risks again and again. | review the register each week |
| Backup | A copy of data kept safe in another place. | a nightly copy in the cloud |
| Confidentiality | Only the right people can see the data. | a password for the medical records |
| Integrity | The data is correct and not wrongly changed. | the bill amount cannot be edited by a customer |
| Availability | The system and data are there when people need them. | the site works on a Monday morning |
| Business continuity | Keeping the important work going during a problem. | staff use paper orders while the system is down |
| Disaster recovery | Getting 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 questionsFour ways to respond to a risk
| Response | What it means | Example |
|---|---|---|
| Avoid | Change the plan so the risk cannot happen | Do not collect card details. Let a payment company do it. |
| Reduce | Make it less likely or less harmful | Test early. Train the team. Keep backups. |
| Share | Pass some of the risk to someone else | Buy insurance (a company pays you if something goes wrong). Use a trusted cloud service. |
| Accept | Do nothing, and watch it | A 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 questionsConfidentiality, 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 questionsPolicies and procedures that manage risk
| Policy | What it does | Example |
|---|---|---|
| Backup | Keeps a copy so data can be restored | A nightly copy, tested every month |
| Security | Rules for passwords, access and updates | Staff use two-step login (two proofs of who you are) |
| Personnel, skills and training | Makes sure people can do the job | Training day on safe coding |
| Business continuity plan | How to keep key work going in a problem | Take orders by phone while the app is down |
| Disaster recovery plan | How to restore systems after a major failure | Rebuild 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 questionsBusiness continuity or disaster recovery?
Have a go
Business continuity or disaster recovery?
4 questionsYour 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
| Option | Reward | Risk | My advice |
|---|---|---|---|
| Add live chat for customers | Happy customers, more sales | Needs staff all day; private data in chat | Not now. Add it in version 2 with training. |
| Use a new, untested payment tool | Lower fees | Unknown bugs with money | No. Use the proven one. |
| Release a simple version in 4 weeks | Early feedback, early income | Fewer features | Yes. 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.
- The reward (what the client gains):
- The risks (at least three: think about law, data, trust and cost):
- How we could reduce each risk:
- My recommendation: go ahead, go ahead with changes, or do not go ahead:
- 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