Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

MongoDB Exam C100DBA Topic 1 Question 91 Discussion

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

Which of the following operator can be used to control the number of items of an array that a query returns?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Malcolm
1 months ago
Wait, what? I thought MongoDB could do anything. D) must be a trick question. There's no way they'd take away our ability to fetch parts of an array.
upvoted 0 times
Zachary
27 days ago
B) $slice
upvoted 0 times
...
Toi
29 days ago
A) $elemMatch
upvoted 0 times
...
...
Yoko
1 months ago
Hmm, I'm leaning towards B) $slice. It sounds like the kind of operator that would let you do partial retrieval from an array.
upvoted 0 times
...
Desire
1 months ago
Haha, I bet the correct answer is C) $. It's always the weird one that gets you! Just kidding, I know that's not it.
upvoted 0 times
Talia
3 days ago
D) MongoDB does not support partial retrieval of items from an array
upvoted 0 times
...
Timmy
13 days ago
C) $
upvoted 0 times
...
Timothy
18 days ago
B) $slice
upvoted 0 times
...
Ronnie
21 days ago
A) $elemMatch
upvoted 0 times
...
...
Robt
3 months ago
I'm pretty sure it's D) MongoDB does not support partial retrieval of items from an array. I remember reading that in the documentation.
upvoted 0 times
Romana
2 months ago
I believe it's A) $elemMatch
upvoted 0 times
...
Dana
2 months ago
I think it's B) $slice
upvoted 0 times
...
...
Lilli
3 months ago
I'm not sure, but I think MongoDB does not support partial retrieval of items from an array, so maybe the answer is D).
upvoted 0 times
...
Vincent
3 months ago
I agree with Abraham, $slice is the correct operator for controlling the number of items returned from an array.
upvoted 0 times
...
Abraham
3 months ago
I think the answer is B) $slice because it allows you to control the number of items returned from an array.
upvoted 0 times
...
Jospeh
3 months ago
I think B) $slice is the correct answer. It allows you to control the number of items returned from an array.
upvoted 0 times
Freida
1 months ago
I'm pretty sure it's D) MongoDB does not support partial retrieval of items from an array.
upvoted 0 times
...
Cordelia
1 months ago
No, it's C) $.
upvoted 0 times
...
Ronnie
1 months ago
I think it's A) $elemMatch actually.
upvoted 0 times
...
Catalina
1 months ago
I agree, B) $slice is the correct answer.
upvoted 0 times
...
...

Save Cancel