Month End Sale Special Limited Time 75% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: CFsave75

MongoDB Associate Database Administrator(Based on MongoDB 6.0 and 7.0+) C100DBA Question # 49 Topic 5 Discussion

MongoDB Associate Database Administrator(Based on MongoDB 6.0 and 7.0+) C100DBA Question # 49 Topic 5 Discussion

C100DBA Exam Topic 5 Question 49 Discussion:
Question #: 49
Topic #: 5

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 > > ] > )


A.

{ ' ' __id " :3, " a " : 4, " c " :0, " b " :14}


B.

{ ' ' _Jd " :7, " a " : 8, " c " :1, " b " :7}


C.

{ " .Jd " :6, " a " : 1, " c " :1, " b " :5}


D.

{ ' ' \Jd " :9, " a " : 17, " c " : 1, " b " : 1}


E.

{ \Jd " :10, " a " : 3, " c " : 1, " b " : 1}


F.

{ " .Jd " :: 2, " a " : 2, " c " :: 0, " b " : 1}


G.

{ " .Jd " :: 4, " a " : 5, " c " :: 0, " b " : 17}


Get Premium C100DBA Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.