Backups, Replication and Disaster Recovery Interview Questions

261 multiple-choice tech interview questions on Backups, Replication and Disaster Recovery: RPO and RTO, full, differential and incremental backups, point-in-time restore, replication, failover, DR strategies. Written for technical phone screens and interview prep, organized by subtopic, with a short explanation for every answer. Learn the 172 key terms with the flashcards first, then test yourself.

Take the practice test · Flashcards · All study tools

What it covers

  1. 11.1 Recovery objectives and backup strategy
  2. 11.2 Backup types and consistency
  3. 11.3 Database backups and point-in-time recovery
  4. 11.4 Restore testing and verification
  5. 11.5 Backup security and ransomware resilience
  6. 11.6 Replication fundamentals
  7. 11.7 Failover and high-availability clusters
  8. 11.8 Disaster recovery strategies and planning
  9. 11.9 Cloud backup and DR services

Key terms

11.1 Recovery objectives and backup strategy

RPO
Recovery point objective: maximum acceptable data loss, measured in time
RTO
Recovery time objective: maximum acceptable time to restore service
3-2-1 rule
Three copies, two kinds of storage, one off-site
Point-in-time restore
Restoring a database to a chosen moment by replaying log backups
Immutable backup
A backup that cannot be changed or deleted during its retention period
MTD
Maximum tolerable downtime
GFS rotation
Daily, weekly, monthly backups
3-2-1-1-0
Adds immutable copy and verified restores
Backup window
Time when backups can run
SaaS backup
Protecting data in hosted apps
Backup tiering
Protection by importance
Backup vs archive
Recovery copy vs long-term store
Cross-system consistency
Matching restore points
Backup catalog
Index of backups
Backup monitoring
Alert on failed or missing runs
Legal hold
Suspends deletion
Deduplication
Store repeated data once
Change rate
Drives incremental size
Sync vs backup
Sync spreads deletions

11.2 Backup types and consistency

Synthetic full
Full built from existing backups
Incremental forever
One full, then merged incrementals
Backup chain
Full plus dependent increments
Logical backup
Rows and schema export
Physical backup
Data file copy
Application-consistent
App quiesced first
fsfreeze
Pause writes for a snapshot
Consistency group
Multi-volume snapshot at one instant
Changed block tracking
Read only changed blocks
Image-level backup
Whole disk or VM
rsync --link-dest
Hard-link snapshots
restic / Borg
Deduplicated encrypted repos
Prune
Remove unreferenced chunks
Hot backup
Taken while running
Reverse incremental
Newest point is full
CDP
Continuous data protection
LTO tape
Cheap offline storage
RAID is not backup
Copies corruption instantly

11.3 Database backups and point-in-time recovery

Continuous archiving
Base backup plus WAL
pg_basebackup
Physical cluster copy
pgBackRest
PostgreSQL backup manager
recovery.signal
Starts targeted recovery
pg_combinebackup
Builds a full from incrementals
pg_restore -j
Parallel restore
pg_dumpall --globals-only
Roles and tablespaces
mysqlbinlog
Replays binary logs
XtraBackup
Hot physical InnoDB backup
util.dumpInstance
Parallel logical dump
Recovery model
SIMPLE, FULL, BULK_LOGGED
Tail-log backup
Captures last log records
COPY_ONLY
Ad-hoc backup outside the chain
NORECOVERY
Keep restoring
STOPAT
Restore to a time
RMAN
Oracle Recovery Manager
mongodump --oplog
Consistent replica set dump
pg_stat_archiver
Archiving status
Timeline
Post-recovery history branch
Restore point
Named recovery target

11.4 Restore testing and verification

Automated restore test
Scheduled real restore and checks
RESTORE VERIFYONLY
Backup set readable
DBCC CHECKDB
Database consistency check
BACKUP WITH CHECKSUM
Verifies pages during backup
pg_verifybackup
Checks a backup against its manifest
pg_amcheck
Detects table and index corruption
Isolated restore
Test without touching production
Item-level restore
Single files or tables
Bit rot
Silent data decay
Restore runbook
Step-by-step recovery guide
Schrödinger's backup
Unknown until restored
GitLab 2017
Failed backups, lost data
Restore order
Dependencies first
Coverage gap
Unprotected new systems
Instant recovery
Run VM from backup storage
Size anomaly alert
Unusual backup size
Canary record
Marker row to verify backups

11.5 Backup security and ransomware resilience

Backup targeting
Attackers hit backups first
Separate identity
Backups outside production AD
Multi-person approval
Required for deletion
Compliance mode
Unbypassable Object Lock retention
Logical air gap
Isolation by access controls
Key escrow
Protected copy of encryption keys
TDE certificate
Needed to restore encrypted DBs
Restore access control
Restores expose data
Dwell time
Time attackers go unnoticed
Clean room recovery
Isolated trusted rebuild
Entropy spike
Sign of mass encryption
Crypto-shredding
Destroy key to erase data
Media sanitization
Wipe or destroy old media
Double extortion
Encrypt and leak
Forest recovery
Rebuilding Active Directory
Chain of custody
Who handled media
Append-only credentials
Can't delete old backups

11.6 Replication fundamentals

Synchronous replication
Writes commit only after the replica confirms, avoiding data loss on failover
Asynchronous replication
Writes commit before replicas apply them, allowing lag and possible data loss
Split brain
Two nodes both acting as primary after a partition
Physical replication
Ships the storage log
Logical replication
Ships row changes
Semi-synchronous
Waits for receipt by one replica
remote_apply
Wait until standby applies
Quorum sync replication
ANY n of standbys
Parallel apply
Multi-threaded replica
Seconds_Behind_Source
MySQL lag metric
Heartbeat table
Measured replication lag
GTID
Global transaction ID
Row-based logging
Replicates row changes
Cascading replication
Replica feeds replicas
Read-after-write wait
Wait for a log position
Storage replication
Block-level copies
Clone plugin
Seeds replicas
super_read_only
Blocks all writes on replicas
Oplog window
How far behind a secondary can fall
Home region
One region owns each record's writes
Relay log
Received events on a replica

11.7 Failover and high-availability clusters

Patroni
PostgreSQL HA manager
Leader lock
Proves the right to be primary
AG listener
Stable name for the primary
Synchronous-commit mode
Needed for automatic AG failover
Read-only routing
Sends read intent to secondaries
FCI
Shared-storage cluster instance
Group Replication
Consensus-based MySQL cluster
STONITH
Power off the suspect node
Failover flapping
Repeated false failovers
target_session_attrs
Find a writable host
Switchover
Planned, lossless role change
pg_rewind
Resync a former primary
maximum_lag_on_failover
Limit promotion candidates
Virtual IP
Address that moves on failover
w: majority
Write concern surviving failover
CloudNativePG
PostgreSQL operator
Hidden member
Non-electable data copy
Arbiter
Voting member without data

11.8 Disaster recovery strategies and planning

Pilot light
DR strategy keeping core data replicated and minimal infrastructure ready to scale
Warm standby
DR strategy running a scaled-down, fully working copy in the recovery region
DR plan
Roles, decisions, contacts, steps
Disaster declaration
Who decides to fail over
Communication plan
Who tells whom, and how
Capacity reservation
Guaranteed DR capacity
Regional service gaps
Services missing in a region
Static stability
No dependency on the failed region
Recovery artifacts
Images, state, secrets replicated
BCP
Business continuity plan
ISO 22301
Business continuity standard
Hot, warm, cold site
Readiness levels
Parallel test
DR systems up alongside production
Reconciliation
Fixing lost or duplicated work
Gray failure
Partial, unclear outage
Multi-cloud DR
Recovery in another provider
Out-of-band communication
Separate channel in a crisis
Digital Operational Resilience Act
EU financial ICT resilience
Geographic separation
Distance between sites
Degraded mode
Partial service during recovery

11.9 Cloud backup and DR services

AWS Backup
Central backup policies
Vault Lock
Undeletable recovery points
Cross-account copy
Backups out of attackers' reach
RDS automated backups
PITR up to 35 days
Aurora Backtrack
In-place rewind
Aurora Global Database
Cross-region storage replication
Aurora storage
Six copies across three AZs
Customer-managed key
Needed to share encrypted snapshots
EBS snapshot
Incremental block copies
Fast Snapshot Restore
No first-read penalty
DynamoDB PITR
35-day restore window
Azure Backup soft delete
14-day recovery of deleted backups
Azure SQL PITR
7 days by default, up to 35
Long-term retention
Backups for up to 10 years
Geo-restore
Restore from geo-replicated backups
Paired regions
Staggered updates, recovery priority
Elastic Disaster Recovery
Block-level server replication
Recovery plan
Ordered failover group
Test failover
Isolated DR drill
Resilience Hub
Resilience assessments
Application Recovery Controller
Routing controls for failover
Cloud SQL HA
Zonal standby

Sample practice questions

  1. What does recovery point objective (RPO) measure?

    1. The longest you can accept for restoring service
    2. The most data loss you can accept, measured in time
    3. The number of backup copies that must be kept
    4. The percentage of uptime promised to customers

    Answer: B. The most data loss you can accept, measured in time An RPO of 15 minutes means you may lose at most the last 15 minutes of data.

  2. How does an incremental backup differ from a differential backup?

    1. Differential: changes since the last incremental; incremental: since the full
    2. An incremental backup always copies everything, just compressed more
    3. Incremental: changes since the last backup; differential: since the last full
    4. They're the same thing, under two vendors' names

    Answer: C. Incremental: changes since the last backup; differential: since the last full Incrementals are smaller to take but a restore needs the full backup plus every incremental; a restore from differential needs just the full plus the latest differential.

  3. How does point-in-time restore (PITR) work for a database?

    1. Every row is restored from its own individual snapshot
    2. The database can only ever be restored to midnight
    3. It reverts the schema to that time, but not the data
    4. A full backup plus log backups replayed up to a chosen moment

    Answer: D. A full backup plus log backups replayed up to a chosen moment Azure SQL Database and Amazon RDS offer automated PITR within a retention window.

  4. What is the only way to be confident a backup works?

    1. Regularly test restores and verify the restored data
    2. Check that the backup job reports success each night
    3. Compare the backup files' sizes over time for changes
    4. Store every backup in at least two separate places

    Answer: A. Regularly test restores and verify the restored data Untested backups often fail when needed because of corruption, missing pieces or unknown restore steps.

  5. Why do ransomware groups often go after backup servers before encrypting anything?

    1. Without working backups, victims are far more likely to pay the ransom
    2. Backup servers are always the fastest machines on the network
    3. Backup servers hold the encryption keys that ransomware needs to run
    4. Encrypting backups first makes the attack harder to detect later

    Answer: A. Without working backups, victims are far more likely to pay the ransom Assume backups are a primary target.

  6. What is the main tradeoff of synchronous replication?

    1. It costs nothing to run, but it loses some data on every failover
    2. It allows any distance between sites with no added write latency
    3. It only replicates schema changes, so data must be copied separately
    4. No committed data lost on failover, but each write waits for the replica

    Answer: D. No committed data lost on failover, but each write waits for the replica Synchronous replication is usually limited to nearby zones; long distances use asynchronous replication.

  7. Why do clusters often use an odd number of voting members or a witness?

    1. An odd number of nodes always replicates data faster than even
    2. So a majority quorum always exists in a partition, avoiding ties
    3. Database licenses require clusters to have an odd number of nodes
    4. Clusters with an even number of nodes can't be backed up at all

    Answer: B. So a majority quorum always exists in a partition, avoiding ties Azure SQL failover clusters and etcd both rely on quorum.

  8. Which disaster recovery strategy has the lowest cost but the longest recovery time?

    1. Pilot light
    2. Backup and restore
    3. Warm standby
    4. Multi-site active-active

    Answer: B. Backup and restore AWS describes four DR strategies in order of increasing cost and decreasing RTO: backup and restore, pilot light, warm standby and multi-site active-active.

  9. What does an Azure SQL Database auto-failover group provide?

    1. Hourly backups of each database written to the same logical server
    2. Read-only access to the primary database for reporting workloads
    3. Automatic scaling of compute up and down based on current load
    4. Geo-replication to another region behind a listener that survives failover

    Answer: D. Geo-replication to another region behind a listener that survives failover Applications connect to the failover group's listener, so connection strings do not change on failover.

  10. What does recovery time objective (RTO) measure?

    1. How much data, in time, you can afford to lose
    2. How long each backup has to be retained
    3. The longest acceptable time to restore service
    4. How often the backup job needs to run

    Answer: C. The longest acceptable time to restore service Lower RTO and RPO targets require more expensive architectures.

Practice all 261 questions

More Storage and Data