You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
createDatabase()
useDatabase()
db.createDatabase()
use
The marked "correct answer" is c. db.createDatabase(). That's wrong isn't it?
Presuming this is the full question, it seems implied to be within mongosh (Mongo Shell) like most questions, and that means "use" is correct answer, instead of c. db.createDatabase. Unless I am missing something? But since client.db("newDatabaseName") isn't an option I don't see a better answer than d. use.
The text was updated successfully, but these errors were encountered:
OR maybe the LinkedIn question is the problem -- poorly worded, should have been written as "Which method is used to remove a document from a collection in MongoDB?" 🙄 idk.
Either way, feel free to ignore my suggestions re. corrections for Q97 and Q103, I'm not trying to be argumentative or anything. Thanks for adding the new questions BTW.
@DarrenSem
Thank you for your suggestions. I was not ignoring them, its just that I wasn't able to check them as I was going through my college semester examinations. Sorry for late reply.
Yes, answer to question number 97 is incorrect. I am rectifying it.
Yes, the question number 103 is phrased incorrectly. The option is correct, but the question should have been for singular document. I am rectifying it as well.
I'm submitting an ISSUE: please check one with "x"
Wrong answer from what I can see?
Q97. Which command is used to create a new database in MongoDB?
createDatabase()
useDatabase()
db.createDatabase()
use
The marked "correct answer" is c.
db.createDatabase()
. That's wrong isn't it?Presuming this is the full question, it seems implied to be within
mongosh
(Mongo Shell) like most questions, and that means "use" is correct answer, instead of c.db.createDatabase
. Unless I am missing something? But sinceclient.db("newDatabaseName")
isn't an option I don't see a better answer than d.use
.The text was updated successfully, but these errors were encountered: