nerdexam
MongoDB

C100DBA · Question #116

Which of the documents below will be retrieved by the following query? Assume the documents are stored in a collection called "sample". Check all that apply. db.sample.find( { "$or" : [ { "a" : { "$in

Sign in or unlock C100DBA to reveal the answer and full explanation for question #116. The question stem and answer options stay visible for context.

MongoDB Fundamentals

Question

Which of the documents below will be retrieved by the following query? Assume the documents are stored in a collection called "sample". Check all that apply. db.sample.find( { "$or" : [ { "a" : { "$in" : [ 3, 10] > }, { "b" : { "$lt" : 2 > > ] > )

Options

  • A{''_
  • B{''_
  • C{".
  • D{ ''\
  • E{ \
  • F{".
  • G{".
  • H{".
  • I{".
  • J{".

Unlock C100DBA to see the answer

You've previewed enough free C100DBA questions. Unlock C100DBA for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#$or operator#$in operator#query operators#logical operators
Full C100DBA Practice