Which method inserts a single document into a collection?
Select an option, then click Submit answer.
- ○ insertMany() batch method
- ○ addDoc() collection method
- ○ insertOne() shell/driver method
- ○ createOne() document method
Loading demo links...
Showing 1–12 of 12 questions
Which method inserts a single document into a collection?
Select an option, then click Submit answer.
What does the $set update operator do?
Select an option, then click Submit answer.
Which operator matches values greater than a specified number?
Select an option, then click Submit answer.
What is an upsert in MongoDB updates?
Select an option, then click Submit answer.
Which method removes all documents matching a filter?
Select an option, then click Submit answer.
What does a projection do in a find query?
Select an option, then click Submit answer.
Which TWO are logical query operators? (Choose two.)
Select all that apply, then click Submit answer.
Which TWO statements about find() are true? (Choose two.)
Select all that apply, then click Submit answer.
Which TWO are array query/update operators? (Choose two.)
Select all that apply, then click Submit answer.
DRAG DROP
Match each CRUD method to its action.
Items to match: insertMany(), findOne(), updateMany(), deleteOne().

Answer is in the explanation below.
CORRECT TEXT
The update option that inserts when no document matches is ______.
Answer is in the explanation below.
DRAG DROP
Match each stage to its job.
Items to match: $match, $group, $lookup, $unwind.

Answer is in the explanation below.