Which of the following statement(s) is/are the responsibility of the learner in this course? Check all that apply.
Blog
The following statements are correct regarding all lecture e…
The following statements are correct regarding all lecture exams. (Choose all that apply)
There are no extra credit assignments for this course.
There are no extra credit assignments for this course.
Which command is used to drop a collection in MongoDB?
Which command is used to drop a collection in MongoDB?
Given the following upsert operation: db.inventory.updateOn…
Given the following upsert operation: db.inventory.updateOne( {item: “pencil”}, {$set: {qty: 50, price: 0.99}}, {upsert: true}) What happens if no document with item: “pencil” exists in the collection?
Given the following index creation and query: db.users.cre…
Given the following index creation and query: db.users.createIndex({gender: 1, user_name: 1}) db.users.find({gender: “M”}, {user_name: 1, _id: 0}) What is the most important reason this query is considered a covered query?
Which of the following commands will limit the number of doc…
Which of the following commands will limit the number of documents displayed to 2?
Which of the following options best describes how MongoDB en…
Which of the following options best describes how MongoDB ensures data consistency across a sharded cluster?
Consider the following query: db.books.find({$nor: [{“public…
Consider the following query: db.books.find({$nor: [{“publication year” : “2016”}, {“title” : “MongoDB”}]}).pretty() What does this query return?
When using the $group stage in MongoDB’s aggregation framewo…
When using the $group stage in MongoDB’s aggregation framework, which of the following fields is mandatory?