MongoDB MongoDB Question #6866
MCQ Single Best Answer Easy

Qtrue about MongoDB indexes?

ID: #6866 MongoDB 109 views
Question Info
#6866Q ID
EasyDifficulty
MongoDBTopic

Choose the Best Option

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

  • A They can only be created on a single field
  • B They can be created on multiple fields
  • C They can only be created on a collection's primary key
  • D They are not supported in MongoDB
Correct Answer: Option B

Explanation

Answer: They can be created on multiple fields Explanation: MongoDB indexes can be created on one or more fields in a collection, similar to indexes in a relational database.

Share This Question

Challenge a friend or share with your study group.