Explanation:The locks collection stores a distributed lock. 8. If the collection is empty then MongoDB will create the index as part of the ________.
A. shardCollectionkey()
B. shardCollection()
C. keyCollection()
D. All of the mentioned
Answer:A
Explanation:The locks collection stores a distributed lock. 8. If the collection is empty then MongoDB will create the index as part of the ________.
A. shardCollectionkey() B. shardCollection() C. keyCollection() D. All of the mentioned
Explanation:MongoDB provides no method to deactivate sharding for a collection after calling shardCollection. 9. Changing the _______ option will change the port that mongod listens for incoming connections on.