nerdexam
MongoDB

C100DBA · Question #116

C100DBA Question #116: Real Exam Question with Answer & Explanation

See the full explanation below for the reasoning.

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{".

Community Discussion

No community discussion yet for this question.

Full C100DBA Practice