1.

Clients can set a __________ value as part of a replica acknowledged write concern.(a) timeout(b) wtimeout(c) waittimeout(d) none of the mentionedThis question was addressed to me in a job interview.The doubt is from Write operations topic in portion MongoDB CRUD Concepts and Operation of MongoDB

Answer»

Correct choice is (b) wtimeout

Easiest explanation: If the write concern is not SATISFIED in the specified interval, the operation returns an ERROR, even if the write concern will EVENTUALLY SUCCEED.



Discussion

No Comment Found

Related InterviewSolutions