New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

MongoDB C100DBA Exam - Topic 1 Question 8 Discussion

Actual exam question for MongoDB's C100DBA exam
Question #: 8
Topic #: 1
[All C100DBA Questions]

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

Show Suggested Answer Hide Answer
Suggested Answer: D, E, F, I, J

Contribute your Thoughts:

0/2000 characters
Chun
4 months ago
Just to clarify, A is definitely in, but E is a bit tricky.
upvoted 0 times
...
Willard
4 months ago
B and D don't fit at all.
upvoted 0 times
...
Sunshine
4 months ago
Wait, are you sure about E? I thought it had to be less than 2 for b.
upvoted 0 times
...
Agustin
5 months ago
Totally agree, A and E are the only ones!
upvoted 0 times
...
Domitila
5 months ago
A and E match the query.
upvoted 0 times
...
Tresa
5 months ago
I feel like I’ve seen this structure before. I think options A and E should be correct because they fit the criteria, but I’m not 100% sure about the others.
upvoted 0 times
...
Florencia
5 months ago
I’m a bit lost with the operators. Does the $in operator mean it will only match if 'a' is exactly 3 or 10? I hope I got that right.
upvoted 0 times
...
Tish
5 months ago
I remember practicing a similar question where we had to check conditions using $or. I think options E and H might match the query.
upvoted 0 times
...
Vallie
5 months ago
I think the query is looking for documents where 'a' is either 3 or 10, or where 'b' is less than 2. I’m not entirely sure about the syntax though.
upvoted 0 times
...
Marvel
5 months ago
I'm feeling confident about this one. Present value is the current value of holdings, not the future value or how it will grow. It's just the value of what you have right now.
upvoted 0 times
...
Otis
5 months ago
Hmm, I'm a bit unsure about this one. The question mentions "competitive analysis" which makes me think a longer planning period might be needed. I'm torn between A and C, but I'll have to think it through a bit more.
upvoted 0 times
...
Peggie
5 months ago
This looks like a tricky question on contract accounting. I'll need to carefully review the details of each contract to determine which ones use cost of sales as the balancing figure.
upvoted 0 times
...
Antione
5 months ago
I remember a similar practice question where we had to determine if the model captured seasonality correctly. I think it was option A, but I'm a bit confused here.
upvoted 0 times
...

Save Cancel