MongoDB/MongoDB Mcq Question Set 17 Sample Test,Sample questions

Question:
 How many background process runs behind balanced cluster?

1.1

2.2

3.3

4.All of the Mentioned


Question:
 Point out the wrong statement.

1.For hash-based sharding, MongoDB divides the data set into ranges determined by the shard key values to provide hash based partitioning

2.Cloud-based providers may only allow users to provision smaller instances

3.For hash based partitioning, MongoDB computes a hash of a field’s value, and then uses these hashes to create chunks

4.All of the Mentioned


Question:
 Point out the wrong statement.

1.To create splits, MongoDB does migrate any data or affect the shards

2.The addition of new data or the addition of new servers can result in data distribution imbalances within the cluster

3.The balancer can run from any of the query routers in a cluster

4. All of the mentioned


Question:
 The default value _________ becomes true for all chunk migrations.

1. secThrottle

2.secondaryThrottle

3.primaryThrottle

4.All of the Mentioned


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

1.read

2. write

3.read-write

4.All of the Mentioned


Question:
 Use _______ migration to distribute data during bulk inserts.

1.automatic

2.manual

3.temporary

4. All of the mentioned


Question:
A shard key that increases monotonically will not hinder performance if most of your write operations are ____ operations.

1. insert()

2. update()

3.delete()

4.All of the Mentioned


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

1.1

2.0

3.more than 1

4. All of the mentioned


Question:
A single sharded cluster must have exclusive use of its _______ servers.

1.local

2.global

3.config

4. none of the mentioned


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

1.cluster

2.shard

3.partition

4.All of the Mentioned


Question:
For most deployments, the default value of chunk is _____ megabytes is ideal.

1.16

2.32

3.64

4.72


Question:
Hashed shard keys use a ________ index of a single field as the shard key to partition data across your sharded cluster.

1.hashed

2. unique

3.multkikey

4.All of the Mentioned


Question:
If the collection is empty then MongoDB will create the index as part of the ________

1. shardCollectionkey()

2.shardCollection()

3. keyCollection()

4.All of the Mentioned


Question:
MongoDB allows administrators to direct the balancing policy using ______ aware sharding.

1. tag

2.replica

3.rack

4.All of the Mentioned


Question:
MongoDB automatically computes the hashes when resolving queries using ______ indexes.

1.hashed

2.unique

3.muiltkey

4.All of the Mentioned


Question:
MongoDB generates _______ values upon document creation to produce a unique identifier for the object.

1.ObjectId

2.CompId

3.DoctId

4.All of the Mentioned


Question:
Point out the correct statement.

1. The local database supports sharded cluster operation

2.The config database is a dependable API, and users should not write data to the config database in the course of normal operation or maintenance

3.Modification of the config database on a functioning system may lead to instability or inconsistent data sets

4.All of the Mentioned


Question:
Point out the correct statement.

1.MongoDB distributes data, or shards, at the collection level

2. To shard a document, you need to select a shard key

3.MongoDB divides the shard key values into replica sets

4.All of the Mentioned


Question:
Point out the correct statement.

1.Use sharded clusters if your data set approaches or exceeds the storage capacity of a single MongoDB instance

2.Use sharded clusters if a single MongoDB instance can meet the demands of your write operations, and all other approaches have not reduced contention

3.Use sharded clusters if the size of your system’s active working set will soon exceed the capacity of your system’s minimum RAM

4.All of the Mentioned


Question:
Point out the correct statement.

1.The shard key determines the distribution of the collection’s documents among the cluster’s shards

2.The shard key is either an indexed field or an indexed compound field that exists in every document in the collection

3.Each range, or chunk, defines a non-overlapping range of shard key values

4. All of the mentioned


Question:
Point out the correct statement.

1.Hashed keys do not work well with fields that increase monotonically like ObjectId values or timestamps

2. If you shard an empty collection using a hashed shard key, MongoDB will automatically create and migrate chunks so that each shard has two chunks

3. Hashed keys work well with ObjectId values only

4.All of the Mentioned


Question:
Point out the correct statement.

1.Splitting is the process MongoDB uses to distribute data of a sharded collection evenly across a sharded cluster

2.Any mongos instance in the cluster can start a balancing round

3.When a shard has too many of a sharded collection’s chunks compared to other shards, MongoDB splits balances the chunks across the shards

4.All of the Mentioned


Question:
Point out the wrong statement.

1.Database servers store the metadata for a sharded cluster

2.Always back up the config database before doing any maintenance on the config server

3. The mongos instances cache metadata and use it to route read and write operations to shards

4.None of the mentioned


Question:
Point out the wrong statement.

1.When fully synchronized, the destination shard connects to the config database and updates the cluster metadata with the new location for the chunk

2.The destination shard builds any indexes required by the source that do not exist on the destination

3.The destination shard begins requesting documents in the chunk and starts receiving copies of the data

4. none of the mentioned


Question:
Production sharded clusters have exactly ______ config servers.

1.1

2.2

3.3

4.4


Question:
Tags are the primary mechanism to control the behavior of the _______ and the distribution of chunks in a cluster.

1.Balancer

2.Collector

3.Compactor

4. All of the mentioned


Question:
The balancer process sends the _______ command to the source shard.

1.moveChunkShard

2.migChunk

3.moveChunk

4.All of the Mentioned


Question:
The index on the shard key cannot be a _________ index.

1.single

2.multkikey

3.unique

4.version.xml


Question:
The mongos provides an interface for applications to interact with sharded clusters that hides the complexity of data ______

1.partitioning

2.replication

3.sharding

4.none of the mentioned


Question:
The query router uses __________ to target operations to specific shards.

1.metadata

2.cluster

3. replica

4. All of the mentioned


Question:
The shards manage _______ migrations as a background operation between an origin shard and a destination shard.

1.cluster

2.shard

3. chunk

4. All of the mentioned


Question:
The ______ instances are the routers for the cluster.

1.mongod

2.mongos

3.collection

4.All of the Mentioned


Question:
The _______ collection keeps track of the active components in the sharded cluster.

1.deploys

2. lockpings

3.locks

4.All of the Mentioned


Question:
The ________ collection stores a document for each change to the metadata of a sharded collection.

1.version

2.changelog

3. settings

4.All of the Mentioned


Question:
The _________ collection stores a document for each sharded collection in the cluster.

1.help

2.shards

3.collections

4.All of the Mentioned


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

1.Balancer

2.Sharder

3. Replicator

4.All of the Mentioned


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

1.range

2.b tree

3.document

4.isMaster


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

1.replica set

2.cluster

3.partition

4.All of the Mentioned


Question:
When a chunk grows beyond the chunk size, MongoDB attempts to split the chunk into smaller chunks, always based on ranges in the _____

1. replica set

2. shard key

3.tag sets

4.All of the Mentioned


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

1. close

2.open

3.partially close

4.All of the Mentioned


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

1. sharding.archiveChunks

2.sharding.archiveMovedChunks

3.shard.archiveMovedChunks

4.None of the mentioned


Question:
You can control how many chunks MongoDB will create with the ___________ parameter.

1.numChunks

2.numInitialChunks

3.numberofchunks

4.All of the Mentioned


Question:
You can return a list of the collections, with the following helper ______

1. show collects

2. show collection

3.show collections

4.All of the Mentioned


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

1.writeConcern

2.updateConcern

3.readConcern

4.All of the Mentioned


Question:
__ based partitioning, by contrast, ensures an even distribution of data at the expense of efficient range queries.

1.Hash

2. Range

3. Table

4.None of the mentioned


Question:
_____ can alter the behavior so that the delete phase of the current migration blocks the start of the next chunk migration.

1._waitForUpdate

2. _waitForDelete

3. _waitForInsert

4.All of the Mentioned


Question:
_____ is a background process that keeps chunks from growing too large.

1.Splitting

2.Balancing

3. Chunking

4.All of the Mentioned


Question:
_____ is a string that holds the address of the client, a mongos instance that initiates this change.

1.config.changelog.serverAddr

2.config.changelog.clientAddr

3.config.changelog.time

4. All of the mentioned


Question:
_____ servers store the cluster’s metadata.

1.Local

2.Config

3.Master

4.All of the Mentioned


Question:
______ interface with client applications and direct operations to the appropriate shard or shards.

1.Query Parsers

2.Query Routers

3.Query Executors

4.None of the mentioned


More MCQS

  1. MongoDB Mcq Question Set 1
  2. MongoDB Mcq Question Set 2
  3. MongoDB Mcq Question Set 3
  4. MongoDB Mcq Question Set 4
  5. MongoDB Mcq Question Set 5
  6. MongoDB Mcq Question Set 6
  7. MongoDB Mcq Question Set 7
  8. MongoDB Mcq Question Set 8
  9. MongoDB Mcq Question Set 9
  10. MongoDB Mcq Question Set 10
  11. MongoDB Mcq Question Set 11
  12. MongoDB Mcq Question Set 12
  13. MongoDB Mcq Question Set 13
  14. MongoDB Mcq Question Set 14
  15. MongoDB Mcq Question Set 15
  16. MongoDB Mcq Question Set 16
  17. MongoDB Mcq Question Set 17
  18. MongoDB Mcq Question Set 18
  19. MongoDB Mcq Question Set 19
  20. MongoDB Mcq Question Set 20
Search
Olete Team
Online Exam TestTop Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on Online Exam Testwebsite is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!