 
			 
			MCQOPTIONS
 Saved Bookmarks
				This section includes 11 Mcqs, each offering curated multiple-choice questions to sharpen your Mongodb knowledge and support exam preparation. Choose a topic below to get started.
| 1. | ________ returns a boolean to report if the balancer is currently enabled. | 
| A. | sh.getBalancerHost() | 
| B. | sh.enableBalancing() | 
| C. | sh.getBalancerState() | 
| D. | none of the mentioned | 
| Answer» D. none of the mentioned | |
| 2. | _______ activates the sharded collection balancer process if previously disabled using sh.disableBalancing(). | 
| A. | sh.getBalancerHost() | 
| B. | sh.enableBalancing() | 
| C. | sh.enableSharding() | 
| D. | all of the mentioned | 
| Answer» B. sh.enableBalancing() | |
| 3. | _________ disable balancing on a single collection in a sharded database. | 
| A. | sh.removeTagRange() | 
| B. | sh._checkMongos() | 
| C. | sh.disableBalancing() | 
| D. | none of the mentioned | 
| Answer» D. none of the mentioned | |
| 4. | ________ACTIVATES_THE_SHARDED_COLLECTION_BALANCER_PROCESS_IF_PREVIOUSLY_DISABLED_USING_SH.DISABLEBALANCING().?$ | 
| A. | sh.getBalancerHost() | 
| B. | sh.enableBalancing() | 
| C. | sh.enableSharding() | 
| D. | all of the mentioned | 
| Answer» B. sh.enableBalancing() | |
| 5. | _________returns_a_boolean_to_report_if_the_balancer_is_currently_enabled.$ | 
| A. | sh.getBalancerHost() | 
| B. | sh.enableBalancing() | 
| C. | sh.getBalancerState() | 
| D. | none of the mentioned | 
| Answer» D. none of the mentioned | |
| 6. | _________ disable balancing on a single collection in a sharded database? | 
| A. | sh.removeTagRange() | 
| B. | sh._checkMongos() | 
| C. | sh.disableBalancing() | 
| D. | none of the mentioned | 
| Answer» D. none of the mentioned | |
| 7. | _________ removes an association between a range shard keys and a shard tag. | 
| A. | sh.removeTagRange() | 
| B. | sh._checkMongos() | 
| C. | sh.disableBalancing() | 
| D. | none of the mentioned | 
| Answer» B. sh._checkMongos() | |
| 8. | _________ reports on the last chunk migration. | 
| A. | sh._checkMongos() | 
| B. | sh.addShard() | 
| C. | sh._lastMigration() | 
| D. | all of the mentioned | 
| Answer» D. all of the mentioned | |
| 9. | _______ reports on the active balancer lock, if it exists. | 
| A. | sh._checkFullName() | 
| B. | sh._adminCommand() | 
| C. | sh.getBalancerLockDetails() | 
| D. | all of the mentioned | 
| Answer» D. all of the mentioned | |
| 10. | ________ tests to see if the mongo shell is connected to a mongos instance. | 
| A. | sh._checkMongos() | 
| B. | sh.addShard() | 
| C. | sh._lastMigration() | 
| D. | all of the mentioned | 
| Answer» B. sh.addShard() | |
| 11. | _______ runs a database command against the admin database of a mongos instance. | 
| A. | sh._checkFullName() | 
| B. | sh._adminCommand() | 
| C. | sh.getBalancerLockDetails() | 
| D. | all of the mentioned | 
| Answer» C. sh.getBalancerLockDetails() | |