NoSQL and database choice interview questions

Document, key-value, wide-column, search, time-series and graph stores, JSONB in PostgreSQL, and how to choose.

6 quick facts

– interview-ready · 10 questions in this topic

– of 10 tried

Saved on this device. Interview-ready means you got it right on two different days. Guesses and hints count for less.

Questions

  1. Document store or relational database?Pick the fix
  2. JSONB in PostgreSQLPredict
  3. Partition keys in DynamoDB-style storesPick the fix
  4. Wide-column stores like CassandraPick the fix
  5. Search with Elasticsearch or OpenSearchPredict
  6. Storing time-series dataPredict
  7. When a graph database helpsPredict
  8. Embedding vs referencing in MongoDBPick the fix
  9. Choosing a database for a new serviceOrder the steps
  10. Object storage for filesPick the fix

Practise this topic

Flashcards · 16

Flip, then say if you knew it. Needs JavaScript; every answer is also on its question page.

Quick quiz · 10 questions

One exercise per question, checked as you go. Needs JavaScript.

Mock interview · 2 sets

Timed, out loud, then tick what you covered. Needs JavaScript.

Quick facts

Recall the answer first, then tap Show to check.

Sources: Topic outline informed by System Design Primer by Donne Martin and the Zalando RESTful API Guidelines, both licensed under CC BY 4.0. Every question and answer is written by Best Latest Apps. Credits and license