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 C100DBA Exam - Topic 1 Question 80 Discussion

Posted by Devorah on Jan 23, 2024 at 08:54 PM

You perform the following query on the sayings collection, which has the index

{ quote : "text" }:

Assuming the documents below are in the collection, which ones will the following query return? Check all that

apply.

db.sayings.find( { $text : { $search : "fact find" } } )

Suggested Answer: B, C

Get Premium C100DBA Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
15 comments · newest first
AA
Aaron 11 months ago
Not sure about C, seems too vague for the search.
MA
Margo 11 months ago
Totally agree, B and C are spot on!
GR
Graciela 11 months ago
Wait, does "fact find" really match those quotes?
FL
Flo 11 months ago
I think A is a stretch, not relevant.
PE
Pearly 11 months ago
B and C are definitely in the results.
WY
Wynell 12 months ago
I believe the text search will return documents that contain either word, so I think all three options could potentially match.
CE
Ceola 12 months ago
I'm a bit confused about whether the order of words matters in the search. Does anyone know if "find" needs to come right after "fact"?
BA
Barrett 12 months ago
I remember practicing a similar question, and I think options B and C might be correct since they both mention "fact."
DE
Desmond 1 year ago
I think the query is looking for documents that contain both "fact" and "find," but I'm not entirely sure how the text search works with phrases.
PA
Pamella 1 year ago
I'm a bit unsure about this one. The text search query is a bit tricky, and I want to make sure I understand it fully before selecting the right answer.
ES
Esteban 1 year ago
Okay, let's see. The query is looking for documents where the quote field contains the phrase "fact find". So I'll need to check each option and see if the quote matches that criteria.
AL
Alica 1 year ago
Hmm, this looks like a text search query on the "sayings" collection. I'll need to think carefully about which quotes contain the words "fact" and "find" to determine the correct answer.
MA
Margot 1 year ago
Alright, I think I've got this. The query is looking for documents where the quote field contains both the word "fact" and the word "find". So options B and C should be the correct answers.
CH
Charlette 1 year ago
Ah, I remember learning about this in class. The getExternalFilesDir() method is used to get the directory of the external storage, so the answer is True. Glad I brushed up on this topic before the exam.
NI
Nikita 1 year ago
I think an Rbi analysis is similar to a Hazop study, but I'm not entirely sure if that's right.
0/2000 characters

Save Cancel