Sail E0 Webinar
Question
If the collection is empty then MongoDB will create the index as part of the ________.
Options:
A .  shardCollectionkey()
B .  shardCollection()
C .  keyCollection()
D .  All of the mentioned
Answer: Option B


MongoDB provides no method to deactivate sharding for a collection after calling shardCollection.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers