When should we consider representing a one-to-many relationship in an embedded collection instead of separate collection?
Which mongodb tools allow us to work with our data in a human readable format?
Which of the following is true about sharding?
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.
Which of the following are common uses of the mongo shell? Check all that apply
JSON stands for
Mongodb does provide high availability via which option?
Consider a collection posts which has fields: Jd, post_text, post_author, post_timestamp, post_tags etc. Which of the following query retrieves ONLY the key named post_text from the first document retrieved?
What is the output of the following program?
Which of the following command is used to get all the indexes on a collection?
Which option should be used to update all the documents with the specified condition in the MongoDB query?
Which is the correct order (lowest to highest) in which MongoDB compares the BSON types?
Which of the following is incorrect statement about find and findOne operations in MongoDB?
You are comparing values of different BSON types in mongodb. You want to compare from lowest to highest. Which comparison order is used?
What is the defau size of a GridFS chunk?
Consider the following documents:
You perform the following query;
How many documents will be updated by the query?
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.
Aggregation Pipelines have a limit of:
In a sharded replica set environment, the w Option provides ability for write concern and j Option provides ability for the data to be written on disk journal. Consider that we have a seven member replica set and we want to assure that the writes are committed to journal. What should be the value of j?