Predict the output
What are the two RPOs?
backup_every_min = 60
replication_lag_s = 5
print("RPO with hourly backups only:", backup_every_min, "min")
print("RPO with a streaming replica:", replication_lag_s, "s")Hint 1 of 1
What's the most you could lose with each?
Choose an answer, then open Show answer below to check it.
Show answer
Answer: A 60 min and 5 s
Correct. You can lose up to one backup interval, or up to the replica's lag.
RPO is how much recent data you can lose. With hourly backups it can be up to an hour; a streaming replica loses only what hadn't replicated yet, about its lag.
Why not the others?
- B
0 minand0 s. Asynchronous copies always lag a little. - C
5 minand60 s. Swapped. - D
60 minand60 min. Streaming replicas are much closer.