Paper 25 · MongoDB DEV
50 questions in their original order. Browse short previews and selected public explanations, or start learning to answer every question and review its explanation.
Questions and explanations
- 1.Which of the documents below from the people collection will be affected by the …
- 2.Consider a collection called coll which contains only the following documents: {…
- 3.Consider the following update command: var updateDocument = ... db.books.updateO…
- 4.Consider a collection called stuff which only contains the following documents: …
- 5.Consider a collection called coll which contains only the following documents: {…
- 6.Given a collection "coll" composed of only these documents: { "_id": 1 , "a": 1 …
- 7.Consider the following query: db.movies.find( {"countries.0": "France", "genres.…
- 8.How would the following query change if we set { upsert: true } as the third par…
- 9.Consider a collection called numbers where the following updateOne is run: db.nu…
- 10.Which of the following are true of the _id key in MongoDB documents? Check all t…
- 11.Consider a collection called products. Which of the following documents from the…
- 12.Your organization has decided to remove all emails from the last century stored …
- 13.Which documents will be returned by the following query? db.cars.find({ "miles":…
- 14.Consider a collection called sample which contains the following document: { "_i…
- 15.Consider the query: db.sample.find({ "b": { "$gte": 4, "$lte": 6 } }) Assuming a…
- 16.Consider a collection grades where all documents contain the following fields: {…
- 17.Consider a collection called pet_owners where every document contains the follow…
- 18.Consider a collection where all documents have the following fields: { "_id": Ob…
- 19.Consider a collection people where every document has the following fields: { "_…
- 20.Aggregation: Question 5 Which of the following Aggregation queries will only ret…
- 21.Aggregation: Question 6 Suppose you wanted to perform an aggregation operation o…
- 22.Consider a people collection with the following documents: { "_id": 1, "lastName…
- 23.Consider a collection people that contains the two following documents: { "_id" …
- 24.Aggregation: Question 9 Consider a collection called pianoTuners where every doc…
- 25.Aggregation: Question 10 Consider a collection places that only contains the fol…
- 26.Aggregation: Question 11 Consider a collection called agencies that only contain…
- 27.Aggregation: Question 12 Which of the following are true of the allowDiskUse opt…
- 28.Indexes and Performance: Question 1 What happens to a document in a TTL index wh…
- 29.Indexes and Performance: Question 2 Consider a collection called routes with the…
- 30.Indexes and Performance: Question 3 You have created the following index on the …
- 31.Which of the following types of data are stored in the Config DB? Check all that…
- 32.In a sharded cluster, which of the following require unique values? Check all th…
- 33.Which of the following is/are true when refining an existing shard key? Check al…
- 34.In a sharded collection, which of the following is true of the primary shard? Ch…
- 35.Which of the following are true of the configuration for this replica set? Choos…
- 36.Which of the following is/are true when you deploy a geographically redundant re…
- 37.Which of the following is/are true when configuring a voting member in a replica…
- 38.Which of the following are benefits of using a replica set? Check all that apply…
- 39.Consider stores that sell many products and products being sold in many stores. …
- 40.Consider a one-to-many relationship observed between a county and the cities in …
- 41.Which of the following would be the best order of steps to model a schema for Mo…
- 42.MongoDB documents having a flexible schema means that: Check all that apply:
- 43.Which of the following would rank as the least significant concern when creating…
- 44.Consider an entity containing a user and another entity containing the shipping …
- 45.Which of the following situations is most suited for choosing to model your data…
- 46.Which of the following are valid configuration files for the WiredTiger storage …
- 47.Which of the following statements about the WiredTiger storage engine are true? …
- 48.Compared with a single-field index, a compound index: Check all that apply:
- 49.Which of the following are true for MongoDB's compound indexes? Check all that a…
- 50.What happens to a document in a TTL index when it expires? Choose the best answe…