Design Immutable Backup Storage That Survives a Compromised Admin
Last updated: November 29, 2026
Quick Overview
Design a backup storage layer where data, once written, cannot be modified, encrypted or deleted before its retention expires, even by an attacker holding admin credentials or root on a single node.
Rubrik
November 29, 20260
0
0 solved
Design a backup storage layer where data, once written, cannot be modified, encrypted or deleted before its retention expires, even by an attacker holding admin credentials or root on a single node.
Immutability is the core of Rubrik's ransomware pitch: attackers now target backups first. The interviewer pushes on where the trust boundary really is (API, filesystem, node OS, cloud account) and how retention, deletion and clock changes are protected.
What the Interviewer Expects
- Define the threat model: stolen admin password, root on one node, rogue insider
- Make the storage append-only below the API, not just a UI setting
- Protect retention from clock tampering and policy downgrades
- Require multi-party approval for destructive changes
- Cover replicated and cloud archive copies (object lock)
- Detect and alert on attempts, not only block them
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- How do you let a customer legitimately shorten retention without opening an attack path?
- An attacker sets the cluster NTP server to 2040. What happens to your retention checks?
- How do you prove to an auditor that nothing was deleted early?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
Functional: write snapshots, read and restore them, expire them only after retention. Security: no API, CLI or admin role can overwrite or delete unexpired data; root on one node cannot destroy data; ...
High-Level Design
A scale-out cluster with a distributed append-only filesystem. Clients never get a mount: data enters only through the backup protocol. Each chunk is written once, erasure-coded across nodes, and addr...