Let’s Get Certified
Module 11 / 20 · Resilient cloud solutions

Prove recovery time and data loss

Time the entire recovery and select a recovery point that is both recent and clean.

Prove recovery time and data loss

Recovery time starts when usable service is interrupted and ends when the business operation works again. Include detection, restoration, validation and cutover. For the recovery point, compare the last usable committed data with the incident reference time. A recent replica may already contain the erroneous writes.

Choose a recovery pattern whose ongoing cost and readiness meet the objectives. Backup and restore trades longer recovery for lower idle capacity. A pilot light maintains core data services, while warm standby keeps a reduced working deployment. Rehearse the full process and capture any missing keys, roles or regional dependencies.

Worked case 1

Restore finished after 30 minutes and validation and cutover used another 18. Did the service meet a 40-minute RTO?

Check your reasoning

The interruption lasted 48 minutes, missing the target by eight. Measure the first usable transaction, then investigate which phase consumed the budget.

Worked case 2

Replication lag was low when an incorrect bulk update spread. Which recovery point matters?

Check your reasoning

Find a verified clean point preceding the bad writes and test its data loss against the RPO. Replication freshness alone cannot reverse logical corruption.

Reconstruct a recovery drill

Times are minutes after midnight. An outage began at 600. Only validated points before the bad write at 597 are usable. The RPO is ten minutes and the RTO is forty. Run this locally with Python 3.

outage, bad_write = 600, 597
points = [(585, True), (594, True), (598, False)]
last_good = max(t for t, valid in points if valid and t < bad_write)
for drill, restored, cutover, verified in [("manual", 622, 635, 648), ("automated", 619, 627, 633)]:
    assert outage <= restored <= cutover <= verified
    loss, recovery = outage - last_good, verified - outage
    print(f"{drill}: gap {loss} min, outage {recovery} min, meets both {loss <= 10 and recovery <= 40}")
Check your output
manual: gap 6 min, outage 48 min, meets both False
automated: gap 6 min, outage 33 min, meets both True

Both drills use the same clean point. Cutting validation and routing time changes the RTO outcome without changing data loss.

Disaster recovery options in the cloud

Official DOP-C02 skills for this topic

Related lesson in AWS Certified CloudOps Engineer – Associate. Prove a recovery point and a recovery time.

Recovering a failed backend

Exercise the health probe with a backend that accepts a TCP connection but cannot complete application work. Check whether the load balancer stops routing and whether the fleet launches a healthy replacement. Include registration, warm-up and a successful external transaction in the recovery measurement.

Practice with the recording

A restore exercise meets its time target once the database starts. Why might the business still miss its recovery objective?

Check your reasoning

Measure until a client completes a representative transaction through the restored application, including routing, credentials and replay. Separately compare the last recovered record with the outage time to quantify data loss.

sthithapragna · DOP-C02 full course · 4:01:45

Knowledge check

Prove recovery time and data loss quiz

Answer 3 questions. Check each answer for an explanation.

Worked example · Recovery objective