You perform the following operation in the shell: db.foo.insert( { } ); What gets inserted?
Suggested Answer: C
Get Premium C100DBA Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
11 comments · newest first
TA
Tambra
11 months ago
Nope, it’s just an empty document, nothing fancy!
BE
Beckie
12 months ago
I think it just gets an auto-generated _id.
LA
Larae
12 months ago
Wait, really? I thought it would raise an error.
BU
Buck
12 months ago
Definitely D! That's how it works.
FR
Freeman
1 year ago
An empty document gets inserted.
JA
Jamal
1 year ago
I feel like the answer is A, but I also remember something about ObjectId being assigned automatically.
DE
Delsie
1 year ago
I’m a bit confused; I thought the insert would create a new document with a unique _id, but I can't recall the exact details.
DO
Donte
1 year ago
I think an empty document gets inserted, but I'm not entirely sure if it will have an _id or not.
RE
Rebbecca
1 year ago
I remember practicing a question where an empty document was inserted, so I’m leaning towards option D.
BR
Britt
1 year ago
I'm feeling pretty confident about this one. The scenario clearly outlines the customer data issues, like duplication and lack of synchronization, that an MDM tool is designed to solve. I'll select data duplication, data accuracy/quality, and data completeness.
CE
Celeste
1 year ago
Okay, let me see. I know tags can make data more understandable, so I'm leaning towards C.