| Snaprecruit.com

| Snaprecruit.com

Interview question based on skill :

Take as many assements as you can to improve your validate your skill rating

Total Questions: 20

1. ________ returns a document that reports on the status of the replica set.

Correct Answer is : replSetGetStatus

2. __________ enables or disables a maintenance mode, which puts a secondary node in a RECOVERING state.

Correct Answer is : replSetMaintenance

3. Point out the correct statement :

Correct Answer is : If you run rs.syncFrom() during initial sync, MongoDB produces no error messages

4. When enabled replSetMaintenance: true, the member enters the ________ state.

Correct Answer is : RECOVERING

5. ________ applies a new configuration to an existing replica set.

Correct Answer is : replSetReconfig

6. Which of the command is for master-slave replication only ?

Correct Answer is : resync

7. _______ is an internal command that applies oplog entries to the current data set.

Correct Answer is : applyOps

8. __________ explicitly override the default logic for selecting a member to replicate from.

Correct Answer is : replSetSyncFrom

9. The preferred way to clear the _________ flag from a chunk is to attempt to split the chunk.

Correct Answer is : jumbo

10. Point out the correct statement:

Correct Answer is : In some instances, MongoDB cannot split the no-longer jumbo chunk, such as a chunk with a range of single shard key value

11. _________ is used to remove tags from a particular shard.

Correct Answer is : sh.removeShardTag()

12. ________ associates a shard with a tag or identifier.

Correct Answer is : sh.addShardTag

13. Point out the wrong statement :

Correct Answer is : The mongod provides a helper for removing a tag range

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

Correct Answer is : sh.addTagRange()

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

Correct Answer is : namespace

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

Correct Answer is : minimum

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

Correct Answer is : sh.addShardTag()

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

Correct Answer is : shard

19. To view a role’s information, you must be explicitly granted the role or must have the _________ action on the role’s database.

Correct Answer is : viewRole

20. Point out the correct statement :

Correct Answer is : All of the mentioned