5questions
IntermediateNext.js
5 subjects
1 easy3 medium1 hard
How would you give the marketing pages and the signed-in dashboard different root layouts without changing any URLs?
Start practising4 easy9 medium5 hard
// 18 of 18 questions · 18 subjects
When is MongoDB a better fit than PostgreSQL, and when is it the wrong choice?
easySQL vs NoSQLAtlas
How do you decide between embedding and referencing, and which BSON type should store money?
mediumEmbeddingBSON types
What is the BSON `Timestamp` type for, and why should you not use it for application dates?
mediumBSON typesTimestamp
When can a `$regex` query use an index, and what should you use for real text search?
medium$regexIndexes
easyProjection$slice
How do you order the fields of a compound index, and what is the ESR rule?
mediumCompound indexesESR
A query got slow in production. Walk through how you diagnose it.
hardexplainProfiling
mediumPipelines$lookup
hardWrite concernTransactions
mediummongodumpChange streams
How do you choose a shard key, and why is a monotonically increasing key like `createdAt` a bad one?
hardShardingReplica sets
How would you lock down a MongoDB deployment that an app, an analytics team and a DBA all use?
mediumRBACAuditing
hardCSFLEQueryable Encryption
5questions
Intermediate5 subjects
1 easy3 medium1 hard
How would you give the marketing pages and the signed-in dashboard different root layouts without changing any URLs?
Start practising26questions
Intermediate26 subjects
4 easy13 medium9 hard
Walk through what happens between typing a URL into the browser and your backend handler running.
Start practising29questions
Intermediate29 subjects
7 easy15 medium7 hard
How does an AI engineer's job differ from an ML engineer's?
Start practising