Which option should be used to update all the documents with the specified condition in the MongoDB query?
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?
Addding the index {a:l} can potentially decrease the speed of which of the following operations? Check all that apply.
You have a replicated cluster with 1 primary, 3 secondary, 1 arbiter. One of the secondary is hidden. What is the replication factor of this replicated cluster?
Which of the following needs to be performed prior to initiate backup on a sharded cluster?
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 is the output of following two commands in MongoDB: db. posts. insert({n_id":l}) db.posts.insert({"_id":l})
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?
Consider the following documents:
You perform the following query;
How many documents will be updated by the query?
In which of the following scenarios is sharding not the correct option. Select all that apply.
Consider that you have a collection called population which has fields state and city. Which of the following query will calculate the population grouped by state and city?
Which features of relational database management systems were deliberately omitted in MongoDB and help us to obtain horizontal scalability? Check all that apply.