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 40 Discussion

Posted by Evangelina on May 03, 2022 at 07:20 AM

Consider a collection posts which has fields: Jd, post_text, post_author, post_timestamp, post_tags etc. Which of the following query retrieves ONLY the key named post_text from the first document retrieved?

Suggested Answer: A

Get Premium C100DBA Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
14 comments · newest first
SE
Serina 11 months ago
Wait, can you really use finOne? That sounds off.
AR
Arthur 12 months ago
D is definitely wrong, looks like a mess!
LO
Lorean 12 months ago
C has a typo, it should be _id: 0 instead of _id:Of.
NI
Nickole 12 months ago
I think B looks right too, but it’s not for retrieving only one document.
SH
Shantell 1 year ago
A is the correct syntax for MongoDB.
MY
My 1 year ago
I’m pretty sure option D has a typo with "finOne" and "l" instead of "1". That can't be right!
MA
Marti 1 year ago
Option C seems off to me; I don't think you can use "Of" like that in a query.
BR
Brunilda 1 year ago
I remember practicing with similar queries, and I feel like findOne should be used, but I can't recall the exact syntax for it.
RI
Rikki 1 year ago
I think option A looks familiar, but I'm not entirely sure if it retrieves only post_text correctly.
PE
Pearly 1 year ago
Okay, let me see. Reports and widgets - that makes sense. I remember learning about those in the dashboard module. I think I've got this one figured out.
EM
Emmanuel 1 year ago
And the SBC is likely providing an edge proxy function, acting as the entry and exit point for the provider's network. That makes sense given its role as the source and destination.
MO
Mona 1 year ago
I'm not sure about this one. I'll need to think it through carefully.
ES
Essie 1 year ago
Hmm, I'm not totally sure about this one. The ipconfig command is related to network settings, but I'm not sure if it's specifically for displaying a client's address. I might need to think about this one a bit more.
IL
Iluminada 1 year ago
Okay, let me see here. Gavin is performing a website security audit, and the question is asking about the tool he's most likely using. I'm thinking Nikto or Nmap are the best bets, but I'll have to double-check the details of each tool to make sure I'm choosing the right one.
0/2000 characters

Save Cancel