| 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. How many types of sharding exist in MongoDB ?

Correct Answer is : 2

2. _______ scaling adds more CPU and storage resources to increase capacity.

Correct Answer is : Vertical

3. Point out the wrong statement :

Correct Answer is : Scaling by adding capacity do not have limitations.

4. _______ divides the data set and distributes the data over multiple servers, or shards.

Correct Answer is : Sharding

5. MongoDB supports sharding through the configuration of a sharded ______

Correct Answer is : clusters

6. How many components are present in sharded cluster ?

Correct Answer is : 2

7. To provide high availability and data consistency, in a production sharded cluster, each shard is a :

Correct Answer is : replica set

8. _________ interface with client applications and direct operations to the appropriate shard or shards.

Correct Answer is : Query Routers

9. The _________ process is responsible for redistributing the chunks of a sharded collection evenly among the shards for every sharded collection.

Correct Answer is : Balancer

10. Point out the correct statement:

Correct Answer is : Any mongos instance in the cluster can start a balancing round

11. Use _______ migration to distribute data during bulk inserts.

Correct Answer is : manual

12. The balancer process sends the _______ command to the source shard.

Correct Answer is : moveChunk

13. Point out the wrong statement :

Correct Answer is : None of the mentioned

14. The source shard is responsible for incoming ______ operations for the chunk.

Correct Answer is : write

15. ________ can alter the behavior so that the delete phase of the current migration blocks the start of the next chunk migration.

Correct Answer is : _waitForDelete

16. The default value _________ becomes true for all chunk migrations.

Correct Answer is : secondaryThrottle

17. You can set the _________ option on the balancer configuration to set different write concern semantics.

Correct Answer is : writeConcern

18. With __________ enabled, the source shard archives the documents in the migrated chunks in a directory named after the collection namespace.

Correct Answer is : sharding.archiveMovedChunks

19. __________ references the root document, i.e. the top-level document, currently being processed in the aggregation pipeline stage.

Correct Answer is : ROOT

20. Point out the wrong statement :

Correct Answer is : None of the mentioned