next
Round
Technologies
Experiences
Contribute
Login
next
Round
Technologies
Experiences
Contribute
Login
Question Loading...
CRUD
1. How to Connect to MongoDB server from Node.js application?
Level: Expert | Frequency: High
2. How to create/ insert a record in MongoDB via Node.js?
Level: Expert | Frequency: High
3. How to read records in MongoDB via Node.js?
Level: Expert | Frequency: High
4. What is Query Selectors/Query Operators?
Level: Expert | Frequency: High
5. What is Projection Operators?
Level: Expert | Frequency: High
6. How can we modify documents?
Level: Expert | Frequency: High
7. How do we update arrays in the MongoDB documents?
Level: Expert | Frequency: High
8. How do we Insert or Update in a Single Operation?
Level: Expert | Frequency: High
9. How do we delete documents in a collection?
Level: Expert | Frequency: High
10. How would you handle a 'Bulk Write' failure mid-way through 10,000 documents?
Level: Expert | Frequency: High
11. Explain the impact of an 'Upsert' on a high-write collection with multiple indexes.
Level: Expert | Frequency: High
12. How does MongoDB handle Write Concern (w: 1 vs w: majority) and what are the latency trade-offs?
Level: Expert | Frequency: High
13. What is a 'Covered Query' and how do you design one using Projection?
Level: Expert | Frequency: High
14. How does the WiredTiger engine handle concurrency during a massive updateMany operation?
Level: Expert | Frequency: High
15. What is the difference between replaceOne and updateOne with $set in terms of performance and BSON size?
Level: Expert | Frequency: High
16. How do you update an element inside a deeply nested array using Array Filters (arrayFilters)?
Level: Expert | Frequency: High
17. What are the operational risks of running a deleteMany({}) on a collection with millions of records?
Level: Expert | Frequency: High
18. Is data truly removed from the disk immediately after a delete?
Level: Expert | Frequency: High
19. You are scraping 1 million products per day using Puppeteer. If a product price changes, you need to update it, but if it's new, you must insert it. You also need to track the 'Last Seen' timestamp. How would you structure this CRUD operation to be most efficient?
Level: Expert | Frequency: High
All Topics
Basics
CRUD
Bulk Operations
Indexing
Data Modelling
Replication
Sharding
Transactions
Aggregation