Data protection and resilience
Classify and protect data in each state, plan backups and recovery with RTO and RPO, and compare site and redundancy options.
17 min
Protect data throughout its life: create, store, use, share, archive, destroy.
Classify data (public, internal, confidential, restricted) so you know how to protect it. Know the three states:
- At rest: stored. Protect with disk and database encryption.
- In transit: moving. Protect with TLS, IPsec or a VPN.
- In use: in memory being processed. Protect with access controls and secure enclaves.
Other terms: data owner (accountable), data steward, data custodian (handles it technically), DLP (data loss prevention, blocks sensitive data from leaving), masking, tokenization, hashing, geolocation and sovereignty (laws that bind where data may live), and secure disposal (shred, degauss, cryptographic erase).
Resilience is staying useful through failure and recovering quickly.
- RTO (recovery time objective): how long can the system be down? RPO (recovery point objective): how much data loss, measured in time, is acceptable? MTTR is average time to repair and MTBF is average time between failures.
- Backups: full (everything), incremental (changes since the last backup of any kind), differential (changes since the last full). Follow 3-2-1: three copies, on two kinds of media, one off site. Keep one copy offline or immutable against ransomware. Test restores.
- Redundancy: RAID, clustering, load balancing, multiple power sources (UPS and generators), multiple ISPs, multi-AZ and multi-region in the cloud.
- Recovery sites: hot (ready now), warm (hardware ready, data needs restoring), cold (empty space).
- Testing: tabletop exercises, failover tests, parallel and full interruption tests.
Backup types.
Full
- What is copied
- Everything
- Backup speed
- Slowest
- Restore needs
- Just the full backup
Incremental
- What is copied
- Changes since the last backup of any type
- Backup speed
- Fastest
- Restore needs
- The last full plus every incremental in order
Differential
- What is copied
- Changes since the last full backup
- Backup speed
- Medium, grows each day
- Restore needs
- The last full plus the latest differential
Recovery site types.
Hot site
- Time to recover
- Minutes to hours
- Cost
- Highest
Warm site
- Time to recover
- Hours to days
- Cost
- Medium
Cold site
- Time to recover
- Days to weeks
- Cost
- Lowest
SLE = asset value × exposure factor. ALE = SLE × ARO. Try cutting the exposure factor with a backup and see how the ALE moves. Compare it to the yearly cost of the control: a control costing more than the ALE it removes is hard to justify.
Annualized loss expectancy (ALE)
—
A server is worth $200,000. A flood would destroy 25% of its value, and floods happen about once every 2 years. What is the SLE, the ARO and the ALE?
- 1
SLE = $200,000 × 0.25
= $50,000.
Plan the backup.
A company must be able to restore its database to within 15 minutes of data loss, and be running again within 2 hours. Which values are these?
“RAID is a backup.”
It keeps copies of data on several disks.
What is actually true
RAID protects against a disk failure. It does not protect against deletion, corruption or ransomware, because the damage is mirrored. A backup is a separate, restorable copy.
- Protect data at rest, in transit and in use. Classify it first.
- RPO is acceptable data loss. RTO is acceptable downtime.
- Follow 3-2-1 and test restores. Keep an offline or immutable copy.
- SLE = asset value × exposure factor. ALE = SLE × ARO.
Resilience check.
Which backup type copies only data changed since the last full backup?
- AIncremental
- BDifferential
- CSnapshot of the OS only
- DFull
Which recovery site has hardware ready but needs data restored?
- ACold site
- BWarm site
- CHot site
- DMobile site
Which statement describes RPO?
- AThe average time between failures
- BThe cost of the recovery site
- CThe time to restore service
- DThe maximum acceptable amount of data loss measured in time
An asset is worth $100,000. An incident would destroy 40% of its value and is expected twice a year. What is the ALE in dollars?
Which TWO methods protect data in transit?
- AFull-disk encryption alone
- BTokenization at rest only
- CRAID 5
- DIPsec VPN
- ETLS
Practise this lesson, not just read it
In BiliMind the questions above are marked when you answer, the flashcards come back on a schedule, and the rest of CompTIA Security+ (SY0-801) is planned around your week. Free.