Question
a.
The unique constraint on indexes ensures that only one document can have a value for a field in a collection
b.
MongoDB support creating new unique indexes in sharded collections
c.
If you use a compound shard key, you cannot enforce uniqueness on the combination of component keys in the shard key
d.
All of the mentioned
Posted under MongoDB
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Point out the correct statement.
Similar Questions
Discover Related MCQs
Q. ________ tests to see if the mongo shell is connected to a mongos instance.
View solution
Q. _______ reports on the active balancer lock, if it exists.
View solution
Q. Point out the wrong statement.
View solution
Q. _________ reports on the last chunk migration.
View solution
Q. _________ removes an association between a range shard keys and a shard tag.
View solution
Q. _________ disable balancing on a single collection in a sharded database.
View solution
Q. _______ activates the sharded collection balancer process if previously disabled using sh.disableBalancing().
View solution
Q. ________ returns a boolean to report if the balancer is currently enabled.
View solution
Q. _______ enables the balancer and waits for balancing to start.
View solution
Q. Point out the correct statement.
View solution
Q. _________ waits for a change in ping state from one of the mongos in the sharded cluster.
View solution
Q. _______ forces an update to the cluster metadata cached by a mongos.
View solution
Q. Point out the wrong statement.
View solution
Q. Which of the following command that validates index on shard key?
View solution
Q. Which of the following command is used to determine split points?
View solution
Q. You can only issue listShards against the ________ database.
View solution
Q. _________ is an internal command that supports the sharding functionality.
View solution
Q. ________ command verifies that a process is a mongos.
View solution
Suggested Topics
Are you eager to expand your knowledge beyond MongoDB? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!