MongoDB MongoDB MCQ Details
MCQ Practice Single Best Answer Topic: MongoDB

Q Which of the following method is used to create Index in MongoDB?

Question ID
#6244
Subchapter
MongoDB
Action
Choose one option below

Choose Your Answer

Click an option to check whether your answer is correct.

  • A db.initateIndex()
  • B db.getIndexes()
  • C db.ensureIndex()
  • D All the Options
Correct Answer: C

Explanation

db.ensureIndex()

Share This Question

Share this MCQ with your friends or study group.