InterviewStack.io LogoInterviewStack.io

Storage Systems and Infrastructure Questions

The physical and infrastructure layer beneath databases: disk and volume management, storage redundancy and RAID levels, storage services, and how storage architecture affects durability and performance. Covers matching storage configuration to reliability and throughput requirements. Serves infrastructure and systems roles that own the hardware substrate.

MediumSystem Design
60 practiced

Design a graceful degradation strategy for a web service that depends on several backend databases and caches when one or more downstream systems become slow or unavailable. Prioritize user-facing functionality, detail circuit-breaker behavior, fallback caches, degraded UX, and how to communicate status to users and internal stakeholders.

MediumTechnical
77 practiced

Write a Python program that reads simplified MySQL binlog events from stdin where each line is a JSON object such as {"type": "query", "sql": "ALTER TABLE users ADD COLUMN age int"}. The program should detect and alert (print to stdout) when a DDL statement affects any table in a monitored list and be resilient to duplicate events and temporary restarts.

MediumSystem Design
86 practiced

Design a backup and restore strategy for a distributed NoSQL store such as Cassandra to meet RPO of 15 minutes and RTO of 1 hour. Discuss snapshots, incremental backups, commit-log (or WAL) archiving, cross-region replication, restore verification, and testing your restore process.

HardTechnical
64 practiced

Explain LSM compaction strategies (levelled vs tiered). For a write-heavy workload, describe how compaction affects read amplification, write amplification, and space amplification. Propose tuning knobs and operational processes to reduce compaction impact while maintaining acceptable read latency.

HardTechnical
65 practiced

Heavy ad-hoc analytics queries from data teams cause cascade failures in production by saturating the primary OLTP database. Design isolation mechanisms to prevent this class of failure: options include separate analytic cluster with CDC, resource groups/QoS, query governors, admission control, and incentives/policy. Choose an approach and detail rollout steps.

Unlock Full Question Bank

Get access to all Storage Systems and Infrastructure interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.