JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
MongoDB interview questions part 46
MongoDB interview questions part 46
Back
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 ?
A. 1
B. 2
C. 3
D. All of the mentioned
Show Correct Answer
Correct Answer is :
2
2. _______ scaling adds more CPU and storage resources to increase capacity.
A. Horizontal
B. Vertical
C. Partition
D. All of the mentioned
Show Correct Answer
Correct Answer is :
Vertical
3. Point out the wrong statement :
A. Scaling by adding capacity do not have limitations.
B. cloud-based providers may only allow users to provision smaller instances
C. There is a practical maximum capability for vertical scaling
D. All of the mentioned
Show Correct Answer
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.
A. Vertical
B. Sharding
C. Partition
D. All of the mentioned
Show Correct Answer
Correct Answer is :
Sharding
5. MongoDB supports sharding through the configuration of a sharded ______
A. shapes
B. clusters
C. sets
D. all of the mentioned
Show Correct Answer
Correct Answer is :
clusters
6. How many components are present in sharded cluster ?
A. 1
B. 2
C. 3
D. 4
Show Correct Answer
Correct Answer is :
2
7. To provide high availability and data consistency, in a production sharded cluster, each shard is a :
A. replica set
B. cluster
C. partition
D. all of the mentioned
Show Correct Answer
Correct Answer is :
replica set
8. _________ interface with client applications and direct operations to the appropriate shard or shards.
A. Query Parsers
B. Query Routers
C. Query Executors
D. None of the mentioned
Show Correct Answer
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.
A. Balancer
B. Sharder
C. Replicator
D. All of the mentioned
Show Correct Answer
Correct Answer is :
Balancer
10. Point out the correct statement:
A. Splitting is the process MongoDB uses to distribute data of a sharded collection evenly across a sharded cluster
B. Any mongos instance in the cluster can start a balancing round
C. When a shard has too many of a sharded collection’s chunks compared to other shards, MongoDB splits balances the chunks across the shards
D. All of the mentioned
Show Correct Answer
Correct Answer is :
Any mongos instance in the cluster can start a balancing round
11. Use _______ migration to distribute data during bulk inserts.
A. automatic
B. manual
C. temporary
D. all of the mentioned
Show Correct Answer
Correct Answer is :
manual
12. The balancer process sends the _______ command to the source shard.
A. moveChunkShard
B. migChunk
C. moveChunk
D. all of the mentioned
Show Correct Answer
Correct Answer is :
moveChunk
13. Point out the wrong statement :
A. When fully synchronized, the destination shard connects to the config database and updates the cluster metadata with the new location for the chunk
B. The destination shard builds any indexes required by the source that do not exist on the destination
C. The destination shard begins requesting documents in the chunk and starts receiving copies of the data
D. None of the mentioned
Show Correct Answer
Correct Answer is :
None of the mentioned
14. The source shard is responsible for incoming ______ operations for the chunk.
A. read
B. write
C. read-write
D. all of the mentioned
Show Correct Answer
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.
A. _waitForUpdate
B. _waitForDelete
C. _waitForInsert
D. All of the mentioned
Show Correct Answer
Correct Answer is :
_waitForDelete
16. The default value _________ becomes true for all chunk migrations.
A. secThrottle
B. secondaryThrottle
C. primaryThrottle
D. all of the mentioned
Show Correct Answer
Correct Answer is :
secondaryThrottle
17. You can set the _________ option on the balancer configuration to set different write concern semantics.
A. writeConcern
B. updateConcern
C. readConcern
D. all of the mentioned
Show Correct Answer
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.
A. sharding.archiveChunks
B. sharding.archiveMovedChunks
C. shard.archiveMovedChunks
D. none of the mentioned
Show Correct Answer
Correct Answer is :
sharding.archiveMovedChunks
19. __________ references the root document, i.e. the top-level document, currently being processed in the aggregation pipeline stage.
A. CURRENT
B. ROOT
C. PRUNE
D. All of the mentioned
Show Correct Answer
Correct Answer is :
ROOT
20. Point out the wrong statement :
A. Variables can hold any BSON type data
B. Aggregation expressions can use both user-defined and system variables
C. To access the value of the variable, use a string with the variable name prefixed with double dollar signs ($$)
D. None of the mentioned
Show Correct Answer
Correct Answer is :
None of the mentioned
Similar Interview Questions
Search for latest jobs
Find Jobs