In our posts collection, which command can be used to find all the posts whose author names begin lie between “A” and “C” in dictionary order?

In our posts collection, which command can be used to find all the posts whose author names begin lie between “A” and “C” in dictionary order?
db.posts.find( { post_author : { $gte : “A” , $lte : “C” } } );
Well Done. Your Answer is Correct Keep it Up!
db.posts.find( { post_author : { $gte : “C” , $lte : “A” } } );
db.posts.find( { post_author : { $gt : “A” , $lt : “C” } } );
This type of search is not supported by MongoDB. $lt and $gt operators are applicable only for numeric values.

mongoimport command is used to:

mongoimport command is used to:
imports content from an Extended JSON, CSV, or TSV export created by mongoexport
Well Done. Your Answer is Correct Keep it Up!
import all the MongoDB data from one format to another
import all the data from one collection to another
import all the data from one database to another

Which of the following methods can be used on a cursor object?

Which of the following methods can be used on a cursor object?
All options are correct
Well Done. Your Answer is Correct Keep it Up!
cursor.next()
cursor.hasNext()
cursor.forEach()

In a sharded replica set environment, w defines the level and kind of write concern. Which of the following values of w specifies to return success only after a majority of voting members have acknowledged?

In a sharded replica set environment, w defines the level and kind of write concern. Which of the following values of w specifies to return success only after a majority of voting members have acknowledged?
majority
Well Done. Your Answer is Correct Keep it Up!
major
n
m

Which of the following collections are used by MongoDB to store GridFS data?

Which of the following collections are used by MongoDB to store GridFS data?
fs.files and fs.chunks
Well Done. Your Answer is Correct Keep it Up!
fs.grid and fs.chunks
fs.parts and fs.files
fs.chunks and fs.parts

Which is the correct order (lowest to highest) in which MongoDB compares the BSON types?

Which is the correct order (lowest to highest) in which MongoDB compares the BSON types?
Null, Number, String and Object
Well Done. Your Answer is Correct Keep it Up!
Number, Null, String and Object
String, Null, Number and Object
Null, Number, Object and String

Which option should be used with findAndModify() command to return the modified document instead of the pre-modification document?

Which option should be used with findAndModify() command to return the modified document instead of the pre-modification document?
Set {new : true}
Well Done. Your Answer is Correct Keep it Up!
findAndModify by default returns the pre-modification document
Use the POST version of findAndModify called findAndModifyPost
None of the options are correct

Which index is used to index the content stored in arrays?

Which index is used to index the content stored in arrays?
Multikey Index
Well Done. Your Answer is Correct Keep it Up!
Compound Index
Text Index
Sparse Index

The application, that communicates with application MongoDB by way of a client library, is called _________________ .

The application, that communicates with application MongoDB by way of a client library, is called _________________ .
Driver
Well Done. Your Answer is Correct Keep it Up!
Parent
Rank
None of the options are correct
Page 1 of 3
1 2 3