Blog

Your dream job? Lets Git IT.
Interactive technical interview preparation platform designed for modern developers.

XGitHub

Platform

  • Categories

Resources

  • Blog
  • About the app
  • FAQ
  • Feedback

Legal

  • Privacy Policy
  • Terms of Service

© 2025 LetsGit.IT. All rights reserved.

LetsGit.IT/Categories/MongoDB
MongoDBhard

What are MongoDB Change Streams and what do they require?

Tags
#change-streams#oplog#replica-set#events
Back to categoryPractice quiz

Answer

Change Streams let you subscribe to real-time changes (insert/update/delete) in a collection/database. They require a replica set (or sharded cluster) because they rely on the oplog.

Related questions

MongoDB
Replica set elections: what happens during an election?
#mongo#replica-set#election
MongoDB
Read preference in replica sets: what does `primary` vs `secondary` mean?
#mongo#replica-set#read-preference
MongoDB
Change streams: what are they used for?
#mongo#change-streams#cdc
MongoDB
Read concern in MongoDB: `local` vs `majority` - what changes?
#mongo#read-concern#consistency
MongoDB
MongoDB read preference: what does it control (primary vs secondary)?
#mongo#replica-set#read-preference
MongoDB
Write concern `w:1` vs `w:"majority"` — what’s the trade-off?
#write-concern#durability#replica-set