adplus-dvertising
frame-decoration

Question

Point out the wrong statement.

a.

sort() modifier sorts the results by age in ascending order

b.

Queries in MongoDB return all fields in all matching documents by default

c.

To scale the amount of data that MongoDB sends to applications, include a projection in the queries.

d.

None of the mentioned

Posted under MongoDB

Answer: (c).To scale the amount of data that MongoDB sends to applications, include a projection in the queries.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Point out the wrong statement.

Similar Questions

Discover Related MCQs

Q. Which of the following is the second argument to projection?

Q. Which of the following query selects documents in the records collection that match the condition { “user_id”: { $lt: 42 } }?

Q. Which of the following functionality is used for aggregation framework?

Q. To suppress the _id field from the result set, specify _________ in the projection document.

Q. Which of the following is not a projection operator?

Q. Which of the following flag can be set by mongo shell?

Q. Point out the correct statement.

Q. Which of the following will display complete list of available cursor flags?

Q. To describe the message structure, a ________ like struct is used.

Q. Point out the wrong statement.

Q. ______________ specifies the number of documents to return in each batch of the response from the MongoDB instance.

Q. The __________ method returns a document that includes a metrics field.

Q. ____________ is a client or database-generated identifier that uniquely identifies this message.

Q. Which of the following operator is not very selective?

Q. An index cannot cover a query on a _______ collection when run against a mongos if the index does not contain the shard key.

Q. ___________ concern describes the guarantee that MongoDB provides when reporting on the success of a write operation.

Q. Point out the correct statement.

Q. When inserts, updates and deletes have a _________ write concern, write operations return quickly.

Q. The mongo shell and the MongoDB drivers use __________ as the default write concern.

Q. Point out the wrong statement.