MongoDB interview questions part 45

MongoDB interview questions part 45

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

Total Questions: 20

1. MongoDB provides the _________ command to combine contiguous chunk ranges into a single chunk.

Correct Answer is : mergeChunks

2. Use ________ to determine the current chunk ranges across the cluster.

Correct Answer is : sh.status()

3. Point out the wrong statement :

Correct Answer is : None of the mentioned

4. __________ splits the chunk that contains the shard key value specified by the query at the chunk’s median point.

Correct Answer is : sh.splitFind()

5. _________ splits a chunk at the shard key value specified by the query.

Correct Answer is : sh.splitAt

6. sh.splitFind () Splits the chunk that contains the shard key value specified by the query at the chunk’s ______ point.

Correct Answer is : median

7. The mergeChunks command requires at least _______ empty input chunk.

Correct Answer is : one

8. The chunkSize and ________ options, passed at startup to the mongos, do not affect the chunk size after you have initialized the cluster.

Correct Answer is : –chunkSize

9. A sharded cluster can contain __________ query router to divide the client request load.

Correct Answer is : more than 1

10. Point out the correct statement:

Correct Answer is : MongoDB distributes data, or shards, at the collection level

11. ________ servers store the cluster’s metadata.

Correct Answer is : Local

12. The query router uses __________ to target operations to specific shards.

Correct Answer is : metadata

13. Point out the wrong statement :

Correct Answer is : For hash-based sharding, MongoDB divides the data set into ranges determined by the shard key values to provide hash based partitioning

14. Production sharded clusters have exactly ______ config servers.

Correct Answer is : 3

15. A _________ key is either an indexed field or an indexed compound field that exists in every document in the collection.

Correct Answer is : shard

16. To divide the shard key values into chunks, MongoDB uses _____ based partitioning.

Correct Answer is : range

17. With hash based partitioning, two documents with _____ shard key values are unlikely to be part of the same chunk.

Correct Answer is : close

18. _______ based partitioning, by contrast, ensures an even distribution of data at the expense of efficient range queries.

Correct Answer is : Range

19. MongoDB uses _________ to support deployments with very large data sets and high throughput operations.

Correct Answer is : sharding

20. Point out the correct statement:

Correct Answer is : High query rates can exhaust the CPU capacity of the server

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon