adplus-dvertising
frame-decoration

Question

Which of the following command that validates index on shard key?

a.

checkShardingIndex

b.

checkSIndex

c.

enableSharding

d.

all of the mentioned

Posted under MongoDB

Answer: (a).checkShardingIndex

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following command that validates index on shard key?

Similar Questions

Discover Related MCQs

Q. Point out the wrong statement.

Q. _______ forces an update to the cluster metadata cached by a mongos.

Q. _________ waits for a change in ping state from one of the mongos in the sharded cluster.

Q. Point out the correct statement.

Q. _______ enables the balancer and waits for balancing to start.

Q. ________ returns a boolean to report if the balancer is currently enabled.

Q. _______ activates the sharded collection balancer process if previously disabled using sh.disableBalancing().

Q. _________ disable balancing on a single collection in a sharded database.

Q. _________ removes an association between a range shard keys and a shard tag.

Q. _________ reports on the last chunk migration.

Q. Point out the wrong statement.

Q. _______ reports on the active balancer lock, if it exists.

Q. ________ tests to see if the mongo shell is connected to a mongos instance.

Q. Point out the correct statement.

Q. _______ runs a database command against the admin database of a mongos instance.

Q. Which of the following parameter denotes name of the shard from which to remove a tag?

Q. Use ________ to ensure that the balancer migrates documents that exist within the specified range to a specific shard.

Q. Which of the following parameter represents minimum value of the shard key range to include in the tag?

Q. Each document in the tags holds the ________ of the sharded collection and a minimum shard key value.

Q. To assign a tag to a range of shard keys use the _________ method when connected to a mongos instance.