To check the replica set configuration, issue the command rs.conf().
1. TRUE
2.FALSE
3. Can be true or false
4.Can not say
Answer:1
Posted Date:-2022-01-27 01:41:41
1.all write operations
2. all read operations
3.all read and write operation
4. None of the above
Answer 21.10 Nodes
2.12 Nodes
3.8 Nodes
4.Infinite Nodes
Answer 21.This is a filtering operation and thus this can reduce the amount of documents that are given as input to the next stage.
2.This does the actual aggregation
3.Sorts the documents
4.none of the above
Answer 21. Query routers are basically mongo instances, interface with client applications and direct operations to the appropriate shard.
2.The query router processes and targets the operations to shards and then returns results to the clients.
3.A sharded cluster can contain more than one query router to divide the client request load.
4.All of the above
Answer 41.serverStatus
2. currentQueue
3. currentQu
4.clientStatus
Answer 11. dropIndexes()
2. dropIndex()
3. Both A and B can be used
4. getIndexes()
Answer 11. In replication, all writes go to master node
2.Memory can't be large enough when active dataset is big
3.Vertical scaling is too expensive
4.All of the above
Answer 41.cluster
2.failover
3.mongod
4.Consensus
Answer 31.less
2.more
3.equal
4.Can not say
Answer 11.index()
2.createIndex()
3.putIndex()
4.getIndex()
Answer 21.TRUE
2.FALSE
3.Can be true or false
4.Can not say
Answer 21.rs.initiate()
2. rs.conf()
3.rs.status()
4.none of the above
Answer 11.Collection
2.Document
3. Field
4.RowSet Interface
Answer 21.2
2.3
3. 4
4.5
Answer 21. Embedded Documents
2.Default key _id
3.mongod
4. mongofiles
Answer 21.High query rates can exhaust the CPU capacity of the server
2. Database systems with small data sets and high throughput applications can challenge the capacity of a single server
3.Smaller data sets exceed the storage capacity of a single machine
4.none of the above
Answer 11. For read-heavy applications, deploy sharding and add one or more shards to a sharded cluster to distribute load among mongod instances
2.Spikes in the number of available connections can also be the result of application or driver errors
3.For read-heavy applications, increase the size of your replica set and distribute read operations to secondary members
4.All of the above
Answer 31. TRUE
2. FALSE
3.Can be true or false
4. Can not say
Answer 11. keep your data safe
2. Low availability of data
3.Disaster recovery
4.Read scaling
Answer 21.db.COLLECTION_NAME.aggregate ({key:1})
2.db.COLLECTION_NAME.aggregation (AGGREGATE_OPERATION)
3.db.COLLECTION_NAME.aggregate (AGGREGATE_OPERATION)
4.aggregate (AGGREGATE_OPERATION)
Answer 31.TRUE
2.FALSE
3.0
4.1
Answer 21.Mongo
2.DB
3.Mongod
4.English
Answer 41.<database>.ns size
2.<document>.ns size
3.<field>.ns size
4.. <row>.ns size
Answer 11.999
2. 9999
3.99999
4.99
Answer 31. 4 MB
2. 8 MB
3.16 MB
4.32 MB
Answer 31. TRUE
2.FALSE
3. Can be true or false
4.Can not say
Answer 11.TRUE
2.FALSE
3.Can be true or false
4.Can not say
Answer 21.1
2. 0
3. -1
4.infinite
Answer 31.Boolean
2. string
3.integer
4.Documentation
Answer 11. Boolean
2. string
3. integer
4.Document
Answer 41.This is a filtering operation and thus this can reduce the amount of documents that are given as input to the next stage.
2.This limits the amount of documents to look at, by the given number starting from the current positions.
3.With this, it is possible to skip forward in the list of documents for a given amount of documents.
4.none of the above
Answer 31. It is used to unwind document that are using arrays.
2.When using an array, the data is kind of pre-joined and this operation will be undone with this to have individual documents again.
3. This stage we will increase the amount of documents for the next stage.
4. All of the above
Answer 41. Replication is the process of synchronizing data across multiple servers.
2. Replication provides redundancy and increases data availability with multiple copies of data on different database servers.
3.Replication protects a database from the loss of a single server.
4.All of the above
Answer 41.putIndexes()
2. setIndexes()
3. getIndexes()
4.All of the above
Answer 31. $sum
2.$avg
3.$min
4.$maximum
Answer 21. $addToSet
2. $first
3.$push
4. $last
Answer 21.$sum
2.$push
3.$min
4. $max
Answer 41. $addToSet
2. $first
3.$push
4.$last
Answer 31.db.COLLECTION_NAME.createIndex({KEY:1})
2.COLLECTION_NAME.createIndex({KEY:1})
3. db.COLLECTION_NAME.createIndex
4.db.createIndex({KEY:1})
Answer 11.db.add(HOST_NAME:PORT)
2. rs.add(HOST_NAME:PORT)
3.rs.isMaster(HOST_NAME:PORT)
4.db.isMaster(HOST_NAME:PORT)
Answer 21.Automatic failover
2. Automatic recovery
3.Consensus election of primary
4.A cluster of only one nodes
Answer 41. fastOpThresholdMs
2.slowOpThresholdZs
3. slowOpThresholdMs
4.slowOpThresholdGs
Answer 31.$limit
2.$match
3.Both A and B can be used
4.none of the above
Answer 21. $project
2.$group
3.$limit
4. $unwind
Answer 11.MMAPv2
2. MMAPv1
3. WiredTiger
4. All of the above
Answer 21.cursor.explain()
2.tablescan.explain()
3.server.explain()
4.client.explain()
Answer 11. db.explain()
2.db.collection.explain()
3.collection.explain()
4.explain()
Answer 21.repairDatabase
2.dataFS
3.fileFS
4.GridFS
Answer 41.Sharding
2.Config Servers
3.Query Routers
4.Projection
Answer 11.Horizontal
2.Vertical
3.Partition
4.All of the above
Answer 2