MongoDB MongoDB Question #6893
Single Choice Easy

QWhat is lock yielding in MongoDB?

ID: #6893 MongoDB 119 views
Question Info
#6893Q ID
EasyDifficulty
MongoDBTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A A mechanism to prevent concurrent writes to the same document
  • B A feature that allows multiple database instances to synchronize data
  • C A strategy to increase concurrency by temporarily releasing locks
  • D A mechanism to prevent data corruption during power outages
Correct Answer

Explanation

Answer: C Explanation: Lock yielding is a strategy used by MongoDB to increase concurrency by temporarily releasing locks. When MongoDB predicts that a page is unlikely to be in memory, operations will yield their lock while the pages load . Lock yielding was greatly expanded in version 2.2 of MongoDB .

Share This Question

Challenge a friend or share with your study group.