Backup and Disaster Recovery Questions
Keeping data durable and recoverable when systems fail: backup design (full, incremental, differential, and snapshot strategies; point-in-time recovery), backup verification and restore testing, retention and archival policy (including compliance retention and legal holds), encryption and key management for backups, and disaster-recovery planning measured against recovery-time and recovery-point objectives (RTO/RPO). Tests whether a candidate can design a backup strategy that actually restores, choose the right retention tier for a business's downtime and data-loss tolerance, and operate backup systems safely under failure, compliance, and ransomware threats. Distinct from code-level fault-tolerance patterns (circuit breakers, retries, bulkheads) and multi-region failover architecture, which belong to high-availability-and-disaster-recovery.
Problem-solving: Given a constrained backup budget, describe how you would schedule backups and retention for different data classes (transaction logs, databases, large file shares, VM images) to balance cost and business risk. Provide concrete suggestions (frequency, storage tier, and retention) and explain trade-offs.
Sample Answer
Direct answer
Do not optimize each data class in isolation. Model total cost across all of them, then push the
biggest, lowest-risk class as aggressively as possible toward a cheap tier and short retention,
because that is where a constrained budget actually gets freed up, and spend the savings on
keeping the small but critical classes on a fast tier with a tight schedule.
Structured elaboration and concrete plan
- Transaction logs. Frequency: continuous or near-continuous shipping, or every 5 to 15
minutes for systems that cannot ship continuously. Storage tier: standard or hot, since logs
exist specifically to support fast, fine-grained point-in-time recovery alongside a full or
differential backup. Retention: short, roughly 7 to 14 days, since logs are only useful in
combination with the full and differential chain they support; keeping logs long after the
backups they pair with have expired protects nothing. - Databases (the full and differential backups themselves). Frequency: nightly full or a
weekly full with nightly differentials. Storage tier: standard while recent, moving older
restore points to a cheaper tier as they age. Retention: roughly 30 to 90 days for operational
recovery, longer only where compliance specifically requires it. - Large file shares. Frequency: daily incremental with a weekly full, or an incremental-forever
model given the typical size. Storage tier: cool or infrequent-access, since restores of file
shares are comparatively rare. Retention: 30 to 90 days of operational retention, with an
optional monthly or yearly snapshot moved to a cold archive tier for anything that needs to be
kept longer at a much lower ongoing cost. - VM images. Frequency: daily image-level backup. Storage tier: standard for only the most
recent restore point (fast recovery after a bad deploy or patch), cold or cool for older restore
points. Retention: a grandfather-father-son style scheme, for example daily for one to two weeks,
weekly for a couple of months, monthly for a year.
Worked example: where the budget actually goes
Take illustrative footprints (the resulting storage under the retention choices above, not a
separate derivation): databases 5,000 GB, transaction logs 200 GB, file shares 50,000 GB, VM images
20,000 GB, for 75,200 GB total. Using illustrative prices of $0.02 per GB-month on a standard tier
and $0.01 per GB-month on a cool tier (order-of-magnitude realistic ratios, not live vendor
pricing), keeping everything on the standard tier costs 75,200 GB times $0.02 per GB-month, or
$1,504 per month.
A tiered plan instead keeps databases and logs (5,200 GB) on standard, since they need fast
restores: 5,200 times $0.02 is $104 per month. File shares (50,000 GB) move entirely to the cool
tier: 50,000 times $0.01 is $500 per month. VM images split, with roughly the most recent
restore point (about 1,400 GB) staying on standard for fast recovery and the remaining 18,600 GB
on cool: 1,400 times $0.02 is $28, plus 18,600 times $0.01 is $186, for $214 per month.
Total under the tiered plan: 104 plus 500 plus 214, or $818 per month, versus $1,504 per month if
everything stayed on standard, a saving of $686 per month, roughly 46%. Of that $686 in savings,
$500, about 73%, comes purely from moving the file shares to the cool tier. That is the point: file
shares are the largest volume and the lowest per-byte business risk of the four classes, so tiering
them is the single highest-leverage lever, and it is what funds keeping the small, high-value
database and log tiers fast and frequent.
Trade-offs
Cheaper tiers add retrieval latency and sometimes retrieval fees. The transaction logs and the most
recent database and VM restore points must not be pushed to a cold tier even though it is cheaper,
because the entire point of frequent logging and recent-point backups is fast recovery; a
budget-constrained plan protects recovery time and recovery point for the highest-risk classes
first, then applies cost savings to the classes that can genuinely absorb slower restores.
A junior sysadmin asks what daily, weekly, and monthly backup-related tasks they should perform. Provide a prioritized operational checklist covering job status checks, backlog handling, storage capacity monitoring, integrity reports, restore validation, and documentation updates, and explain why each item matters.
Sample Answer
Direct answer
Group the checklist by two things: how cheap and non-disruptive a check is (which determines how
often you can afford to do it) and how directly it proves the data is actually recoverable (which
determines how much it matters). Cheap status checks happen daily, checks that need real time or
disruption happen weekly or monthly, and every item earns its place by catching a specific,
otherwise-silent failure.
Structured elaboration
Daily
- Job status checks. Review every backup job from the previous night, and specifically look
for partial failures and warnings, not only hard failures. A job that logs a warning and still
reports "success" is the most common way a real gap goes unnoticed. This is first because it is
cheap to do and catches problems the same day: if you only find out three weeks later that
Tuesday's job silently skipped a folder, you have had a three-week-wide, unnoticed gap in your
ability to recover that data (your effective recovery point objective, or RPO, the maximum data
loss you can tolerate, has quietly grown far past what anyone signed off on). - Backlog handling. Check whether any job is still running when the next job for that same
resource is due to start (a backup window overrun). A single occurrence might be a one-off, but
a growing backlog usually means data growth is outpacing your backup throughput, and left
unaddressed it eventually causes jobs to be skipped or truncated entirely.
Weekly
- Storage capacity monitoring. Check remaining headroom on backup storage and the trend, not
just the current number, so you can project roughly how many days remain before it fills.
Weekly is enough cadence to catch the trend before it becomes an emergency; if backup storage
fills unexpectedly, new backups can start failing, or the oldest retained copies can get purged
earlier than your retention policy intends, and neither necessarily triggers an obvious alarm. - Integrity reports. Review checksum or hash verification reports (or your backup product's
own verification feature, if it has one). A job scheduler reporting "success" only proves data
was written somewhere; it says nothing about whether that data is intact. This is where you
catch silent corruption from storage hardware issues, software bugs, or bit rot before you ever
need to actually restore something.
Monthly
- Restore validation. Actually restore a sample of backups into a scratch environment and
confirm the result mounts, opens, or runs correctly, rotating through different systems each
month so everything gets tested eventually. This is monthly rather than daily or weekly because
it is genuinely time-consuming to do properly, but it is the only check on this list that tests
the full chain end to end: the backup software, the media, the restore procedure, and whether
the target environment can still actually accept a restore. Checksums alone cannot catch, for
example, a database backup that is byte-for-byte intact but logically broken. - Documentation updates. Review runbooks, escalation contact lists, and any documented
exceptions to the retention policy. Documentation rot is invisible until the one incident where
the runbook references a server that was decommissioned months ago, or lists an on-call contact
who has since left. Monthly is a reasonable cadence to catch that drift without turning
documentation upkeep into its own significant burden.
Why this ordering
Put the cheapest, earliest-warning checks daily, move up to the checks that cost real time or a
live restore as the cadence lengthens, and close with documentation, which does not protect data
directly but protects the team's ability to actually execute the recovery plan under pressure. A
useful mentoring rule for a junior teammate: the more expensive or disruptive a check is, the less
often you can afford to run it, but it should never be skipped entirely just because it is
inconvenient, since the items that are the most work to check are usually also the ones that catch
the failures nothing else would.
A backup job has reported 'success' every night for six months. What would make you confident that backup is actually restorable if you needed it right now, and how would you build that confidence on an ongoing basis?
Sample Answer
Direct answer
A backup job reporting success typically only proves the process ran to completion without an
unhandled error. It says nothing about whether the resulting data is complete, uncorrupted, or
usable in a real restore. Confidence has to come from evidence that recovery actually works, built
both as a right-now check and as an ongoing habit, not from trusting the job log.
Structured elaboration
What would make you confident right now.
- Checksum or hash verification. Confirm the checksum of the data as written matches the
checksum of the data as read from source. This catches corruption in transit or at rest, but not
logical or application-level correctness. - Catalog completeness. Confirm the backup catalog lists the expected number of files, objects,
or databases, not a partial subset. This is what catches a job that technically succeeded but
only captured 80% of the source because of a permissions error on one folder that got logged as a
warning rather than a failure, which the daily job-status review would need to be looking for
specifically. - An actual restore into an isolated, scratch environment, followed by an application-level
check: mount the filesystem, attach the disk, open the database and run a query, or boot the
virtual machine. This is the only step that tests the entire chain at once, the backup software,
the media, the restore procedure, and compatibility with the target environment, and it is the
only one of the three that can catch a failure the other two would both pass.
How to build that confidence on an ongoing basis.
- Scheduled restore testing on a rotation, covering every system on a fixed cadence rather than
testing once and assuming it still holds. Software versions, storage drivers, and licensing all
drift over time, and a restore path that worked a year ago can silently break without any
backup job ever reporting an error. - Automated or synthetic verification where the backup product supports it: many can auto-mount
a backup image in an isolated sandbox and run an automated health check without a human running a
manual restore every time, making frequent, even nightly, verification affordable at scale. Treat
this as a complement to periodic real restore drills, not a full replacement, since it typically
validates the backup software's own read-back rather than a fully independent restore into a
clean target. - Track restore-test results as a trend, not a single pass or fail, so a slow drift, restore
times creeping upward, or an increasing rate of "restore succeeded but the application check
failed", becomes visible before it turns into a crisis. - Trigger an out-of-cycle restore test on any material change: new backup software version,
storage migration, or application upgrade, rather than waiting for the next scheduled test.
Worked scenario
During a scheduled monthly restore drill, a database backup mounts cleanly and its checksum
matches. The application-level check then fails: a stored procedure the application relies on
references a linked server that no longer exists in the restore target. The checksum was correct
and the mount succeeded; only the application-level check caught this. That is exactly the class of
failure a green backup job would never reveal, which is why "restorable" has to mean "passes an
application-level check", not just "the bytes match."
Trade-offs
Full restore drills cost real time and infrastructure, which is why many teams under-invest here.
Synthetic verification is a reasonable, cheaper middle layer for frequent coverage, but it should
never be the only check performed, since it usually cannot catch the kind of environment-specific
or dependency-level failure the worked scenario above describes.
Design a backup and disaster recovery system for 200 TB of production block storage spread across multiple data centers. Requirements: daily incremental backups, weekly full backups, RTO < 4 hours for critical datasets, RPO < 1 hour for highest-priority data, and retention/compliance policies. Detail architecture (snapshot vs block-level copy vs agent), cataloging, verification, restore runbooks, and how SREs should operate and test the system.
Sample Answer
Direct answer
At 200 TB, two things break the naive reading of the requirements and have to be designed around explicitly. First, "weekly full backup" cannot mean literally re-reading and re-copying all 200 TB every week: at a realistic sustained backup throughput of 500 MB/s, copying 200 TB takes roughly 200,000,000 MB / 500 MB/s ≈ 400,000 seconds ≈ 111 hours, well over four days, so a literal weekly full would never finish before the next one starts. The fix is snapshot-based, copy-on-write "synthetic full" backups: a full recovery point that is constructed from an incremental chain without re-reading the whole dataset. Second, RPO < 1 hour (Recovery Point Objective: the maximum acceptable data loss, measured as time) is stated only for the highest-priority subset of data, not the whole 200 TB; daily incrementals alone give an RPO of up to 24 hours, so that highest-priority subset needs a separate, more frequent capture mechanism layered on top of the daily/weekly baseline, not a tighter version of the same schedule applied everywhere.
Structured elaboration
Architecture: snapshot vs block-level copy vs agent, and why a hybrid.
- Storage-level snapshots (copy-on-write snapshots at the SAN, Storage Area Network, a dedicated network of shared block-storage devices, array, or cloud block-storage layer) are fast to create, capture only changed blocks, and are the right mechanism for the frequent, high-priority tier: they don't require reading the whole volume, so an hourly snapshot on a 200 TB estate is cheap regardless of total size. They are typically crash-consistent by default (consistent with an ungraceful power-off) and need an application-aware quiesce step (flushing writes, briefly freezing the filesystem) to be application-consistent for databases.
- Block-level backup/replication (deduplicated, changed-block backup software, or asynchronous block replication to the second data center) is what actually gets data across data centers for disaster recovery, since a local snapshot alone doesn't survive losing the data center it lives in. This is the mechanism that should carry the highest-priority subset's near-real-time copy to the DR site.
- Agent-based, file-level backup (an agent running inside each host or VM that understands the application, e.g. taking an application-consistent dump via a pre-freeze hook) is the most flexible but the slowest to scan at this scale, and shouldn't be the primary mechanism for the bulk of 200 TB. Reserve it for stateful applications (databases, message queues) that need an application-consistent capture the block layer can't provide on its own, layered on top of block-level backup for the rest.
- Recommended hybrid: block-level, copy-on-write snapshots as the default for all volumes (daily, feeding synthetic weekly fulls); asynchronous block-level replication to the second data center for the highest-priority subset, running frequently enough (e.g. every 15 to 30 minutes) to comfortably clear the 1-hour RPO with margin; agent-based, application-consistent backups only for databases and similar stateful services that need a coordinated quiesce, at the same cadence as their tier.
Worked restore-time example (basis: a single critical dataset's volume, not the full 200 TB). Suppose the highest-priority tier is a 10 TB subset. At an aggregate parallel restore throughput of 1 GB/s (achievable by restoring many volumes or shards concurrently rather than serially), restoring 10 TB takes 10,000 GB / 1 GB/s = 10,000 s ≈ 2.8 hours, comfortably inside the 4-hour RTO (Recovery Time Objective: the maximum acceptable downtime) for that dataset. This number is scoped to the 10 TB critical subset; restoring the full 200 TB estate at the same throughput would take roughly 200,000 GB / 1 GB/s ≈ 55.6 hours, which is why the RTO commitment applies per-dataset-tier, not as a promise to restore everything in 4 hours.
Cataloging. Maintain a backup catalog (an index of what was backed up, when, where, and with what checksum) as a small, independently replicated service, not embedded inside the 200 TB of bulk data itself. If the catalog only exists in the data center that just failed, nobody can find anything to restore even though the data may be intact elsewhere; replicate the catalog to every data center that could need to drive a restore.
Verification. Automated, scheduled restore tests: sample a set of volumes weekly, restore them into an isolated environment, and compare checksums against what the catalog recorded at backup time. Separately, run periodic bit-rot scans against the backup storage itself, since 200 TB sitting mostly cold for months can silently degrade without ever being touched by a restore. Neither of these is optional at this scale: an untested backup is a hypothesis, not a backup.
Restore runbooks. Document, per tier: who declares an incident and authorizes a restore, the priority order (highest-priority datasets first, since restore bandwidth is a shared, finite resource across a 200 TB estate and can't restore everything in parallel at full speed), the exact automated restore procedure (scripted, not ad hoc commands typed under pressure), and the rollback point if the restore itself needs to be aborted.
How SREs operate and test it. Track backup success rate, backup duration, and restore-verification pass rate as monitored SLOs (Service Level Objectives), with alerts on any missed window. Run quarterly full DR game days that actually fail a critical dataset over to the second data center and time every runbook phase against the 4-hour and 1-hour targets, rather than trusting the design math alone.
Explain what an air-gapped backup is, why organizations use air gaps as part of a defense-in-depth strategy, and describe two practical ways to implement air-gapped backups in either a cloud or hybrid environment while keeping them usable for restores.
Sample Answer
Direct answer
An air-gapped backup is a copy of data kept physically or logically disconnected from the production network and from anything a production compromise could reach, so an attacker (or a runaway automated process) who has taken over production still cannot delete, encrypt, or tamper with that copy, because there is no live path to it at the time of the attack. Organizations use air gaps as the outermost layer of defense-in-depth because modern ransomware routinely targets backup infrastructure directly, and an air gap is the one layer whose protection does not depend on any other layer (perimeter, endpoint, identity) having held.
Why air gaps matter for defense-in-depth
The classic guidance here is the 3-2-1-1 rule: 3 copies of data, on 2 different media types, with 1 copy offsite, and 1 copy air-gapped or otherwise immutable. Every layer before the air-gapped copy can fail: perimeter defenses can be bypassed, endpoint protection can miss a novel payload, and identity can be compromised via a phished or stolen privileged credential. An attacker who reaches domain-admin-equivalent access in a normally-connected environment can typically also reach and destroy normally-connected backups, which is exactly why real-world ransomware incidents increasingly include the backup repository as a target, not just production. The air gap's value is that it does not rely on any of those defenses continuing to hold; it removes the network path itself.
Two practical implementations
- Logical air gap via immutable, access-isolated object storage. Use object storage with a write-once retention lock (for example, an object-lock feature in compliance mode) so that once written, an object cannot be deleted or modified until its retention period expires, not even by an account with otherwise-broad permissions. Combine this with a credential and account boundary that production's normal operating identities never hold: a separate account or tenant, deny-by-default cross-account access, and a strictly one-way replication path (production can push new backups in, nothing, including a fully compromised production credential, can delete or modify what is already there). This is "logical" rather than physical: there is no literal cable being unplugged, but access is architecturally and cryptographically isolated such that compromising production does not grant a path to alter the vaulted copy.
- Physical or scheduled-connection air gap. Traditional tape or removable-media rotation, still common in hybrid environments, where media is physically disconnected from any network once a write completes. A cloud-native equivalent is a vaulting pattern where a secondary environment is connected only during a scheduled replication window: a nightly job establishes a one-way connection, pushes data across, then the connection and its credentials are torn down or rotated, so for the overwhelming majority of the day there is no live network path at all, minimizing the window an attacker could exploit even if they somehow reached the vault's edge.
Keeping air-gapped backups usable for restores
The practical trap with a true air gap is that "hard to reach for an attacker" often also means "hard to reach quickly during a legitimate emergency." Mitigate this with a documented, drilled break-glass retrieval process (not invented for the first time during an actual incident), retrieval credentials staged in a separate, monitored, multi-factor-gated vault distinct from production's normal credential store, and periodic test restores from the air-gapped copy on the same cadence as regular restore drills, so the air-gapped copy does not quietly become the one backup class nobody has ever actually verified is restorable.
Unlock Full Question Bank
Get access to all Backup and Disaster Recovery interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.