Data that fights back · Technical round · Standard
How would you decide between a relational database, a document store, a warehouse and a cache for a customer workload?
A classic SA trade-off question, usually disguised as 'how would you store this?'. The panel wants the deciding questions, not the names of products.
Asked for: Solutions Architect, Forward-Deployed Engineer, Technical Consultant.
A worked answer
Answer with the questions that decide it, then map five workloads.
- The deciding questions: what's the access pattern (by key, by query, by aggregate), what's the consistency need, what's the write/read ratio, how much does the schema change, and who operates it.
- Transactions with relationships and invariants → relational. Flexible documents with key access → document store. Aggregates over history → warehouse. Repeated reads of the same hot data with tolerance for staleness → cache in front of one of the above.
- The failure mode of the wrong choice: a document store asked to do joins; a warehouse asked to serve a web request; a cache treated as a source of truth.
Then anchor to the customer: 'Your platform team runs Postgres today, so the default is Postgres until a workload proves it needs something else — a second database is a second thing to operate.' Panels rate the bias toward the fewest moving parts.
The follow-ups
- When would you add a search index?
- The customer wants everything in one system — what do you say?
What loses the round
- Product names without deciding questions.
- Recommending the most sophisticated option.
- Ignoring who operates it.
Build this on the roadmap
- Choose and justify a data store · ~4h
- Declare the grain and keep history when the business changes its mind · ~5h
Rehearse the answer with a coach
A worked answer tells you what good looks like. Saying it out loud under questioning, with someone who has run the round, is what gets you the offer.
Apply now