adplus-dvertising
frame-decoration

Question

After starting the mongo shell, your session will use the ________ database by default.

a.

mongo

b.

master

c.

test

d.

primary

Answer: (c).test

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. After starting the mongo shell, your session will use the ________ database by default.

Similar Questions

Discover Related MCQs

Q. Point out the wrong statement.

Q. ___________ command display the list of databases.

Q. Which of the following operation is used to switch to new database mydb?

Q. Which of the following also returns a list of databases?

Q. Command to check existence of collection is _____________

Q. Which of the following method is used to query documents in collections?

Q. When you query a collection, MongoDB returns a ________ object that contains the results of the query.

Q. Point out the correct statement.

Q. Which of the following method returns true if the cursor has documents?

Q. ____________ method renders the document in a JSON-like format.

Q. Point out the wrong statement.

Q. Which of the following method is called while accessing documents using the array index notation?

Q. The mongo shell and the drivers provide several cursor methods that call on the cursor returned by the _______ method to modify its behavior.

Q. Which of the following method corresponds to Order by clause in SQL?

Q. The __________ method limits the number of documents in the result set.

Q. Which of the following line skips the first 5 documents in the bios collection and returns all remaining documents?

Q. Which of the following will implicitly create the collection testData?

Q. Point out the correct statement.

Q. Which of the following method returns a cursor?

Q. Which of the following function is valid for creation of new data inside MongoDB Shell?