CheatsheetKit

Stack Bundle · Mid

MongoDB Developer Pack

Document modelling, indexes, aggregation, replication and sharding.

MongoDB: schema design, aggregation pipelines, indexing and scaling questions.

Questions
360
Topics
20
Pages
249

Get the MongoDB Developer Pack — $9 One-off. Delivered as a PDF by email the moment payment clears.

Prices shown are a USD base. Your local-market price is calculated at checkout in your own currency, plus any local sales tax.

What is inside

20 chapters, in the order the interviews tend to ask them:

  1. The document model and collections
  2. Embedding versus referencing
  3. BSON types and value semantics
  4. Query selectors and the query language
  5. Projection, sorting and cursors
  6. Index structure and single field indexes
  7. Compound indexes and index strategy
  8. Aggregation pipeline stages
  9. Advanced pipelines and writing results back
  10. Schema validation with JSON Schema
  11. Write concern and durability
  12. Read concern, isolation and read preference
  13. Transactions and multi document atomicity
  14. Replication, elections and the oplog
  15. Sharding, shard keys and the balancer
  16. Connection strings and connection pooling
  17. Driver or ODM, and how the driver works
  18. Schema evolution and data migrations
  19. Explain plans and performance work
  20. Backup and restore

How the answers are built

Each chapter opens with the checklist the question is really testing. A few from this pack:

Questions this pack covers

  1. At the byte level, what does a MongoDB document actually contain?
  2. How does MongoDB generate the mandatory _id field, and what does an ObjectId encode?
  3. What actually decides whether you embed a relationship or reference it?
  4. How many documents should ever live inside one embedded array?
  5. Which BSON type does a JavaScript number become when the driver writes it?
  6. Why does mixing integers and doubles cause trouble with equality tests?
  7. How do you express a conjunction of several conditions in one filter?
  8. What does dot notation reach inside an embedded document?

Each one is answered in full in the pack, with the reasoning written out rather than a bullet list.

Related packs

About this pack

How many questions?
360, spread across 20 topics, written out in full across 249 pages.
Do the answers just list keywords?
No. Each answer is written as prose, because that is what you have to reproduce when someone asks you the question.
How do I get it?
Pay once and the PDF arrives by email immediately, with a signed download link.
Can I get it refunded?
Yes, if it is not what you expected. See the refund policy.