Which of the following is correct about MongoDB?
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)
Which of the tags in a replica set configuration specify the operations to be read from the node with the least network latency?
A collection and a document in MongoDB is equivalent to which of the SQL concepts respectively?
The difference between $push and $addToSet is:
Which of the following is a valid insert statement in mongodb? Select all valid.
Given a collection posts as shown below having a document array comments, which of the following command will create an index on the comment author descending?
What tool do you use to see if you have a problem in the consumption of disk I / 0?
In what format does mongodump creates backup files?
What read preference should your application use if you want to read from the primary under normal circumstances but allow reads from secondaries when a primary is unavailable?
What does the following aggregate query perform?
What tool would you use if you want to save a gif file in mongo?
Consider the following example document from the sample collection. All documents in this collection have the same schema.
Which of the following queries will replace this with the document.
What does the following $slice query return using the following command? db.posts.find( {}, { comments: { $slice: [ -10, 5 ] } } )
Consider the following documents:
You perform the following query;
How many documents will be updated by the query?
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?
Below is a sample document of "orders" collection
The following aggregation option is used to specify the specific fields that needs to be passed to the next stage of the aggregation pipeline:
Which command is used to determine storage capacity of specific database?