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?
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?
You perform the following operation in the shell: db.foo.insert( { } ); What gets inserted?
Which of the following commands finds all the documents in the posts collection with post timestamp field as null?
The oplog (operations log) is a special capped collection that keeps a rolling record of all operations that modify the data stored in your databases. All the replica set members contain a copy of the oplog in the following collection:
In which of the following scenarios is sharding not the correct option. Select all that apply.
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?
In order to ensure that you can maintain high availability in the face of server failure, you should implement which of the following?