Paper 17 · MongoDB DBA
59 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 following are advantages of embedded data in documents when compare…
- 2.What information will be returned by rs.status() when it is run on a replica set…
- 3.Consider a collection called sample where every document contains the following …
- 4.Consider the following document: { "_id": 12, "a": [] } Which of the following c…
- 5.Consider the following set of commands executed in the mongo shell: > db.product…
- 6.Here is the an example document in our comments collection: { _id: ObjectId("5b7…
- 7.Which documents from the buildings collection would be modified by the following…
- 8.Consider the following index in the products collection: { price: 1, rating: 1, …
- 9.Which of the following are true for MongoDB's compound indexes? Check all that a…
- 10.Given the following query: db.clothes.find( { "price": { "$lt": 50.00 }, "catego…
- 11.Consider a collection which contains the following document and only this type o…
- 12.Indexes may sometimes reduce the throughput of which of the following types of o…
- 13.Which of the following index types are a valid index type in MongoDB? Check all …
- 14.Consider the following commands run in the mongo shell: db.createCollection( "si…
- 15.What happens to a document in a TTL index when it expires? Choose the best answe…
- 16.Which of the following hardware resources are most intensively used by indexing …
- 17.You have created the following index on the travel collection: db.travel.createI…
- 18.Indexes are created to optimize the execution of certain operations, but they ca…
- 19.Which of the following is true about the $group Aggregation Framework stage? Che…
- 20.Which of the following is true about the auth and the bind_ipsettings in MongoDB…
- 21.Which of the following operations benefit from having more available RAM in a de…
- 22.Consider the following mongod configuration file: storage: dbPath: /data/db syst…
- 23.What is the compression algorithm used to store indexes in MongoDB? Choose the b…
- 24.You have identified a potential vulnerability with MongoDB. What should you incl…
- 25.Which of the following are true of the MongoDB's built-in role, dbAdmin? Check a…
- 26.Which of the following applies to the localhost exception? Choose the best answe…
- 27.Which of the following are true of the MongoDB's built-in role, userAdmin? Check…
- 28.Which of the following are examples of authentication? Check all that apply:
- 29.Which of the following are true of the MongoDB's built-in roles? Check all that …
- 30.The following command line options were used to start a mongod process: mongod -…
- 31.Why are CRUD operations not logged by default when auditing is enabled? Check al…
- 32.Let's assume an administrator created a user account with the following commands…
- 33.Which of the following are supported client authentication mechanisms in MongoDB…
- 34.Your organization has decided that database users should authenticate using X509…
- 35.You need to inspect a custom role called sales to determine which privileges hav…
- 36.Consider the following user: { "_id" : "admin.daniel", "user" : "daniel", "db" :…
- 37.You are requested to create a database user that is able to perform the followin…
- 38.When should you create a user-defined role? Check all that apply:
- 39.Which of the following are supported methods of key management when using the en…
- 40.Which option verifies the identity of an incoming client connection on mongod? C…
- 41.Which of the following are valid purposes for a hidden node in your replica set?…
- 42.Which of the following are the recommended settings when first adding a brand ne…
- 43.Consider the following write operation issued against a 3-node replica set: db.p…
- 44.What priority must a hidden node have? Choose the best answer:
- 45.Which of the following are true of using a write concern in MongoDB? Check all t…
- 46.Which of the following read preferences ensure that the data being read is fresh…
- 47.Consider the following scenarios and indicate which are suitable and appropriate…
- 48.Which of the following is/are true of the term field in a replica set configurat…
- 49.Consider a replica set with 3 healthy data bearing nodes of equal priority and n…
- 50.Which of the following are the recommended settings when adding a new hidden nod…
- 51.Which of the following are true for MongoDB's concept of a chunk in a sharded cl…
- 52.Take the following into consideration: You currently have a replica set with thr…
- 53.In a sharded collection, which of the following is true of the primary shard? Ch…
- 54.Which of the following is/are true when refining an existing shard key? Check al…
- 55.Consider the following aggregation pipeline: use services db.movies.aggregate([ …
- 56.Suppose you have a sharded collection called products with the following chunk r…
- 57.Consider the following aggregation pipeline: use services db.restaurants.aggrega…
- 58.Which of the following are true for MongoDB's Config Database? Check all that ap…
- 59.Consider a collection called reviews which consists of documents with the follow…