What does the totalCreated field mean in the output of the db.serverStatus().connections command?
> db.serverStatus().connections
{
" current " : 4,
" available " : 51196,
" totalCreated " : 5,
" active " : 2,
" threaded " : 4,
" exhaustIsMaster " : 1,
" exhaustHello " : 0,
" awaitingTopologyChanges " : 1
}
Which of the following is a valid insert statement in mongodb? Select all valid.
What does the output x of the following MongoDB aggregation query result into; db.posts.aggregate( [ { $group: { _id; " $author " , x: { $sum: $likes } } } ] )
Which of the tags in a replica set configuration specify the operations to be read from the node with the least network latency?
In a collection that contains 100 post documents, what does the following command do? db. posts. find().skip(5).limit(5)
A collection named scores includes:
[
{ _id: 1, home_score: 6, away_score: [ 5, 7 ] },
{ _id: 2, home_score: [ 8, 6 ], away_score: 9 },
{ _id: 3, home_score: [ 5, 8 ], away_score: [ 9, 6 ] },
{ _id: 4, home_score: 5, away_score: 10 }
]
Given the following index:
db.scores.createIndex( { home_score: 1, away_score: 1 } )
What document will cause the index to fail?
By default, the MongoDB cursor in mongo shell is configured to return how many documents? To get the next set of documents, which command is used?
What stage of the Winning Plan in an Explain Result identifies the Index Key for the query pattern?
What is a limitation of encryption at rest?
Which is the default mode in which the explain() command runs?