MongoDB
C100DBA · Question #123
C100DBA Question #123: Real Exam Question with Answer & Explanation
Sign in or unlock C100DBA to reveal the answer and full explanation for question #123. The question stem and answer options stay visible for context.
Question
Which of the following is a valid insert statement in mongodb? Select all valid.
Options
- Adb.test.push({x:2,y:"apple"})
- Bdb.test.insert«"x":2, "y":"apple"})
- Cdb.test.insert({x:2,y:"apple"})
- Ddb.test.insert({x:2},{y:"apple"})
Unlock C100DBA to see the answer
You've previewed enough free C100DBA questions. Unlock C100DBA for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.