MongoDB Certified DBA Associate Exam (Based on MongoDB 4.4) C100DBA Question # 23 Topic 3 Discussion

MongoDB Certified DBA Associate Exam (Based on MongoDB 4.4) C100DBA Question # 23 Topic 3 Discussion

C100DBA Exam Topic 3 Question 23 Discussion:
Question #: 23
Topic #: 3

Which command can be used to rebuild the indexes on a collection in MongoDB?


A.

db.collection.createlndex({relndex:l})


B.

db.collection.reIndex({author:l})


C.

db.collection.relndexQ


D.

db.collection.createIndex({author:l}).reIndex()


Get Premium C100DBA Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.