1.

When the TTL thread is active, you will see _______ operations in the output of db.currentOp().(a) delete(b) update(c) insert(d) none of the mentionedI have been asked this question in final exam.I would like to ask this question from Index Properties topic in division Index/Indexing Concepts of MongoDB

Answer»

Right answer is (a) delete

For explanation I WOULD say: A BACKGROUND THREAD in mongod reads the values in the index and removes EXPIRED documents from the collection.



Discussion

No Comment Found

Related InterviewSolutions