第 24 套 · MongoDB DEV

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

题目目录与解析

  1. 1.Consider the query: db.sample.find({ "b": { "$gte": 4, "$lte": 6 } }) Assuming a…
  2. 2.Consider the following update command: var updateDocument = ... db.books.updateO…
  3. 3.Consider the following query: db.movies.find( {"countries.0": "France", "genres.…
  4. 4.Consider the following query against the items collection: db.items.updateMany( …
  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 against the sample collection: db.sample.updateMany…
  8. 8.Consider the following document: { "_id": 12, "a": [] } Which of the following c…
  9. 9.Consider a collection called cities where the following updateMany is run: db.ci…
  10. 10.Which of the documents below from the people collection will be affected by the …
  11. 11.Which documents from the buildings collection would be modified by the following…
  12. 12.Your organization has decided to remove all emails from the last century stored …
  13. 13.Consider a collection called sample where you created an indexes with the follow…
  14. 14.Consider the following query: db.teams.find({ "championships_won": { "$eq": 2 } …
  15. 15.Consider a collection called agencies that only contains the following documents…
  16. 16.Consider a collection people where every document has the following fields: { "_…
  17. 17.Which of the following are true of the allowDiskUse option in the Aggregation Fr…
  18. 18.Suppose you have a collection named alpha that contains only the following docum…
  19. 19.Consider a collection people that contains the two following documents: { "_id" …
  20. 20.Consider a collection places that only contains the following documents: { "_id"…
  21. 21.Your collection, foo, contains the following documents: { "_id": ObjectId("5579a…
  22. 22.Consider the collection letters which only contains the following 3 documents: {…
  23. 23.The travel collection contains the following documents: { "_id" : ObjectId("5ab0…
  24. 24.Which of the following Aggregation stages will output the results of the Aggrega…
  25. 25.Consider a collection called stuff which contains only the following documents: …
  26. 26.Consider a collection called pet_owners where every document contains the follow…
  27. 27.Consider a collection called users where all documents contain the following fie…
  28. 28.How does MongoDB drop multiple indexes, specifically with the dropIndexes comman…
  29. 29.You have created the following index on a collection called people: db.people.cr…
  30. 30.Consider a collection called travel with the following index: { "name": 1, "age"…
  31. 31.Indexes are created to optimize the execution of certain operations, but they ca…
  32. 32.Which of the following are true for MongoDB's compound indexes? Check all that a…
  33. 33.In MongoDB, Multikey Indexes are used to index a field that holds an array value…
  34. 34.Which of the following operations may be faster after adding an index? Check all…
  35. 35.What happens to a document in a TTL index when it expires? Choose the best answe…
  36. 36.Which of the following are valid configuration files for the WiredTiger storage …
  37. 37.Which of the following storage engines are supported by MongoDB 4.4 Enterprise? …
  38. 38.Which of the following is the default period before the WiredTiger storage engin…
  39. 39.Which of the following statements about the WiredTiger storage engine are true? …
  40. 40.Consider an entity containing a user and another entity containing the shipping …
  41. 41.MongoDB documents having a flexible schema means that: Check all that apply:
  42. 42.Which of the following should be considered when estimating a working set for yo…
  43. 43.By default, documents in a MongoDB collection must contain: Check all that apply…
  44. 44.Consider a one-to-many relationship observed between a county and the cities in …
  45. 45.Consider stores that sell many products and products being sold in many stores. …
  46. 46.Which of the following would rank as the least significant concern when creating…
  47. 47.Consider a replica set with 3 healthy data bearing nodes of equal priority and n…
  48. 48.Which of the following are the recommended settings when first adding a brand ne…
  49. 49.Which of the following is/are true when you deploy a geographically redundant re…
  50. 50.Which of the following MongoDB features can help you to minimize downtime due to…
  51. 51.Which of the following are benefits of using a replica set? Check all that apply…
  52. 52.Consider a collection called people that only contains the following documents: …
  53. 53.Consider a collection called reviews which consists of documents with the follow…
  54. 54.Consider a sharded cluster where shards are limited by their heavy read workload…
  55. 55.Consider a collection students that has been sharded using the following key: { …
  56. 56.In a sharded cluster, which of the following require unique values? Check all th…
  57. 57.Which of the following are true of a jumbo chunk in a MongoDB sharded cluster? C…

作者 · 作品 · 开源

作者与 MongoDB 作品

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

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

联系作者 ↗mlhp123@outlook.com

支持作者

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

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