Black Friday Reward - Upto 75% off - Ends in 0d 00h 00m 00s - Coupon code: CFsave75

MongoDB Associate Database Administrator(Based on MongoDB 6.0 and 7.0+) C100DBA Question # 24 Topic 3 Discussion

MongoDB Associate Database Administrator(Based on MongoDB 6.0 and 7.0+) C100DBA Question # 24 Topic 3 Discussion

C100DBA Exam Topic 3 Question 24 Discussion:
Question #: 24
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.