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