第 16 套 · MongoDB DBA
共 59 道题,保留原题序。下方提供短摘要,部分题目公开完整解析;开始学习可逐题作答并查看全部答案。
题目目录与解析
- 1.Which of the following are reasons to use normalized data in documents instead o…
- 2.What information will be returned by rs.status() when it is run on a replica set…
- 3.Consider a collection called cities where the following updateMany is run: db.ci…
- 4.Consider a collection called numbers where the following updateOne is run: db.nu…
- 5.Which of the following below is true with regard to covering a query in MongoDB?…
- 6.Consider a collection called people where every document contains the following …
- 7.Consider the following query: db.teams.find({ "championships_won": { "$eq": 2 } …
- 8.The cached query plan is evicted from cache when: Check all that apply:
- 9.Consider the collection called travel that contains only the following 2 documen…
- 10.Consider the following index in the buildings collection: { height: 1 } Which of…
- 11.Compared with a single-field index, a compound index: Check all that apply:
- 12.When an index is created on the "name" field in the "friends" collection, which …
- 13.Which of the following index types are a valid index type in MongoDB? Check all …
- 14.Consider a collection called coll where you have built indexes with the followin…
- 15.Consider a collection called users where all documents contain the following fie…
- 16.Indexes are created to optimize the execution of certain operations, but they ca…
- 17.17,Here is the an example document in our comments collection: { _id: ObjectId("…
- 18.Consider a collection called coll which contains only the following documents: {…
- 19.Consider the following document from the system.profile collection: { "op": "ins…
- 20.Which of the following choices is the preferred method for stopping a running mo…
- 21.Which of the following factors have significant effects on query performance? Ch…
- 22.Consider the following mongod configuration file: storage: dbPath: /data/db syst…
- 23.Which of the following are valid configuration files for the WiredTiger storage …
- 24.Which of the following are examples of authentication? Check all that apply:
- 25.Which of the following are true of the MongoDB's built-in roles? Check all that …
- 26.Which of the following are true of the MongoDB's built-in role, dbAdmin? Check a…
- 27.With respect to system security, which of the following are authorization concer…
- 28.You have identified a potential vulnerability with MongoDB. What should you incl…
- 29.Which of the following are true of the MongoDB's built-in role, userAdmin? Check…
- 30.Which of the following commands are data definition language (DDL) operations? C…
- 31.Consider a mongod process configured to use auditing. The following set of comma…
- 32.Which of the following are supported client authentication mechanisms in MongoDB…
- 33.Which of the following are supported client authentication mechanisms? Check all…
- 34.When configuring a mongod process to use internal x.509 authentication, which of…
- 35.Consider the following role: use admin db.createRole({ "role": "customRole", "pr…
- 36.Consider a privilege with the following resource: { "db": "", "collection": "pro…
- 37.Which of the following statements about role-based access control are true? Chec…
- 38.You are tasked with creating a new user responsible for cluster administration. …
- 39.Which option verifies the identity of an incoming client connection on mongod? C…
- 40.Given the following commands that are run on the same machine and represent a re…
- 41.Consider the following db.serverStatus()['repl'] output: { topologyVersion: { pr…
- 42.Consider the following rs.status() output: members: [ { _id: 0, name: 'localhost…
- 43.Suppose you have a one node replica set with the following replication configura…
- 44.In the event of a server failure, how does MongoDB guarantee availability in a r…
- 45.Which replica set node member type requires the priority to be 0? Check all that…
- 46.Which of the following MongoDB features can help you to minimize downtime due to…
- 47.Which of the following MongoDB deployment types support using a write concern? C…
- 48.Which of the following read concerns return data committed to the majority of re…
- 49.Consider the following scenarios for reconfiguration of a replica set and indica…
- 50.Which of the following is true about Read Preferences in MongoDB? Check all that…
- 51.In MongoDB, the shard key: Check all that apply:
- 52.Which of the following are true for MongoDB's Config Database? Check all that ap…
- 53.Consider the following read commands that are sent to your sharded cluster: Quer…
- 54.Given the following query: find({"genre": "action"}).sort({"year": 1}).skip(100)…
- 55.Consider a sharded collection products that contains 4 total chunks. At some poi…
- 56.Hashed shard keys can be used to: Check all that apply:
- 57.Which of the following types of data are stored in the Config DB? Check all that…
- 58.Take the following into consideration: You currently have a replica set with thr…
- 59.In a sharded collection, which of the following is true of the primary shard? Ch…