Which command can be used to rebuild the indexes on a collection in MongoDB?
Suggested Answer: C
Get Premium C100DBA Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
12 comments · newest first
KI
Kirk
11 months ago
I remember using createIndex for something similar, though.
GE
Georgiana
12 months ago
I agree, reIndex is the right command!
ER
Erick
12 months ago
Wait, are we sure about that? Seems off.
CR
Crista
12 months ago
I thought it was createIndex, but I guess not.
YU
Yuki
1 year ago
It's definitely db.collection.reIndex({author:l})!
EL
Elbert
1 year ago
I want to say it's "db.collection.reIndex()" but I'm not completely confident about the parameters.
RE
Reta
1 year ago
I practiced a question like this, and I remember that "createIndex" is used for creating indexes, but rebuilding might be different.
RE
Renay
1 year ago
I feel like "reIndex" is definitely part of the command, but I'm not sure if it's used with "db.collection" or something else.
ME
Merilyn
1 year ago
I think the command for rebuilding indexes is similar to creating them, but I can't remember the exact syntax.
MA
Marg
1 year ago
Okay, let me think this through. If there's no way to link the email to an existing case or incident, then creating a new one makes sense. I'll go with option D - a new case is created.
MY
Myra
1 year ago
This seems like a tricky one. I'll have to think carefully about which attribute would be responsible for de-duplication.
LE
Leonora
1 year ago
I've got this! For unicast, the source sends a single copy to a single receiver. Broadcast is when the source sends a single copy that is delivered to all receivers on the network. Anycast is when the source sends a single copy that is delivered to the nearest receiver.