Correct Answer: Db.persons.find().sort({lastName: 1}}
Explanation:
Note: This Question is unanswered, help us to find answer for this one
MongoDB Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More MongoDB MCQ Questions
What is NOT a standard role in MongoDB?
Which MongoDB shell command deletes a single document?
Using the MongoDB shell, how do you remove the customer collection and its indexes?
By default, applications direct their read operations to which member of the replica set?
You need to get the names of all the indexes on your current collection. What is the best way to accomplish this?
In MongoDB V2.4, what type of JavaScript engine is used to execute all JavaScript on Mongo shell ?
MongoDB uses GridFS to:
Which statement of the followings could NOT drop an index?
Which feature of mongoDB is used to balance load among multiple machines?
Indexes in mongodb are NOT good for: