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

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

Dada una coleccion, cuales devuelve con la siguiente query db.coleccion.find({nombre:"ruben",apellido:"gomez"},{nombre:l,apellido:l,aficion:l});

Show Suggested Answer Hide Answer
Suggested Answer: A, D

Contribute your Thoughts:

0/2000 characters
Jaclyn
4 months ago
Is it just me, or does option C seem off?
upvoted 0 times
...
Goldie
4 months ago
Definitely not B, wrong nombre!
upvoted 0 times
...
Regenia
4 months ago
Wait, why is there an "aficion" field in A? That's weird.
upvoted 0 times
...
Arlette
4 months ago
I think it's actually option D, it fits the query perfectly.
upvoted 0 times
...
Merissa
5 months ago
Option A looks correct, matches both nombre and apellido.
upvoted 0 times
...
Leila
5 months ago
I’m leaning towards option D, but I’m a bit confused about the ObjectId format in the answers.
upvoted 0 times
...
Stephen
5 months ago
I feel like option A is close, but I can't recall if the 'apellido' should match exactly.
upvoted 0 times
...
Felicia
5 months ago
I remember practicing a similar question, and I think the fields in the projection part matter a lot.
upvoted 0 times
...
Jillian
5 months ago
I think the query is looking for a specific document, but I'm not sure if it returns the correct fields.
upvoted 0 times
...
My
5 months ago
I've got a good strategy for this. I'll start by extending the SalesLineType class and then add the new method that returns the day of the week. Hopefully, that will do the trick!
upvoted 0 times
...
Francesco
5 months ago
Okay, so we need to automatically delete the fields when importing the updated solution. I'm pretty sure "Upgrade" is the correct choice, but I'll review the options just to be sure.
upvoted 0 times
...
Erasmo
5 months ago
I guess it could be A since it's about low risk, but I've seen other questions where that didn't apply. Need to think this one through!
upvoted 0 times
...

Save Cancel