Which of the following is true of the mechanics of replication in MongoDB? Check all that apply.
Consider that the posts collection contains an array called ratings which contains ratings given to the post by various users in the following format:
Which of the following query will return all the documents where the ratings array contains elements that in some combination satisfy the query conditions?
Which of the following command inside aggregate command is used in MongoDB aggregation to filter the documents to pass only the documents that match the specified condition(s) to the next pipeline stage.
In what format does mongodump creates backup files?
Which of the following is true about sharding?
Below is a sample document of "orders" collection
What is the maximum size of Index Key Limit and Number of Indexes per collection?
You are in a sharded cluster. What will you do prior to initiating backup in sharded cluster?
Which mongodb tools allow us to work with our data in a human readable format?
As per the aggregation pipeline optimization concepts, if you have a $sort followed by a $match:
What is the defau size of a GridFS chunk?
Which of the following is a valid Replica Set configuration if you want:
1-Have 3 copies of everything
2- That RS3 is never primary
2- That RSI and RS2 can be primary?
You had to see the different configurations, RS3 could be hidden or priority 0 (But not a referee because we need
3 replicas), while RSI and RS2 could NOT have priority 0 or be hidden or anything like that
In a 4-member RS RSO , RSI, RS2 and RS3 + Referee, RSO (primary) falls after some write operations that have
replicated RSI and RS2 (but NOT RS3), who can get up as the new primary?
The configuration comes and in it we see that RS2 has a hidden: true (or a priority: 0, (I don't remember)
Below is a sample document in a given collection test.
{ a : 5, b : 3, c: 2, d : 1 >
Given a compound index { a: 1, b:l, c:l, d:l}, Which of the below query will not use in-memory sorting? Select
all valid.
You perform the following operation in the shell: db.foo.insert( { } ); What gets inserted?
Which of the following commands can cause the database to be locked?
You have the following index on the toys collection:
{
"manufacturer" : 1,
"name" : 1,
"date" : -1
}
Which of the following is able to use the index for the query? Check all that apply.
The________operator can be used to identify an element in the array to be updated without explicitly specifying
the position of the element.
What tool do you use to see if you have a problem in the consumption of disk I / 0?
Which of the following aggregate commands in MongoDB uses a pipeline approach with the goals of improving the aggregation performance?