第 4 套 · MongoDB DEV

共 50 道题,保留原题序。下方提供短摘要,部分题目公开完整解析;开始学习可逐题作答并查看全部答案。

题目目录与解析

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

作者 · 作品 · 开源

作者与 MongoDB 作品

专注数据平台、MongoDB 迁移同步与云运维产品研发。

有任何 MongoDB 需求,均可联系作者。

联系作者 ↗mlhp123@outlook.com

支持作者

如果题库对您有帮助,欢迎自愿扫码打赏。

支付宝扫码打赏作者打开打赏原图 ↗