Paper 19 · 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. 1.Which of the following are reasons to use normalized data in documents instead o…
  2. 2.What information will be returned by rs.status() when it is run on a replica set…
  3. 3.Consider the following documents in a collection called tastes { "favorite_foods…
  4. 4.Which of the following documents in the people collection would be modified by t…
  5. 5.Consider the following set of commands executed in the mongo shell: > db.books.d…
  6. 6.onsider a collection called coll which contains only the following documents: { …
  7. 7.Which of the following documents below from the sample collection will be return…
  8. 8.Which of the following is/are true of single field indexes? Check all that apply…
  9. 9.Consider a collection called coll where you have built indexes with the followin…
  10. 10.Consider the following index in the buildings collection: { height: 1 } Which of…
  11. 11.Which of the following listed below are valid query plans stages which are seen …
  12. 12.what side of the index will grow when an indexed field grows monotonically (e.g.…
  13. 13.which of the following scenarios below are when the hint() is recommended for us…
  14. 14.You have the following document in a collection: { "_id": ObjectId("570c04a4ad23…
  15. 15.When an index is created on the "name" field in the "friends" collection, which …
  16. 16.When using explain or creating an Explainable object, what is the default mode? …
  17. 17.Consider a collection called routes with the following index: { "dst_airport": 1…
  18. 18.Consider the collection called travel that contains only the following 2 documen…
  19. 19.Which of the following is true about the $match Aggregation Framework stage? Che…
  20. 20.Which of the following is true about the auth and the bind_ipsettings in MongoDB…
  21. 21.Consider the following mongod configuration file: storage: dbPath: /data/db syst…
  22. 22.Consider the following set of commands in the mongo shell: use admin db.setLogLe…
  23. 23.Which of the following mongod command line arguments will impact how data and in…
  24. 24.Which of the following applies to the localhost exception? Choose the best answe…
  25. 25.Which of the following are examples of authentication? Check all that apply:
  26. 26.Which of the following are true of the first user created for an Atlas cluster? …
  27. 27.Which of the following are true of the MongoDB's built-in roles? Check all that …
  28. 28.Which of the following are best practices that system administrators should enfo…
  29. 29.You have identified a potential vulnerability with MongoDB. What should you incl…
  30. 30.Which of the following commands are data definition language (DDL) operations? C…
  31. 31.Data manipulation language (DML) operations include: Choose the best answer:
  32. 32.When configuring a mongod process to use internal x.509 authentication, which of…
  33. 33.Which of the following are supported client authentication mechanisms in MongoDB…
  34. 34.When configuring a replica set to use internal keyfile authentication, which of …
  35. 35.You need to inspect a custom role called sales to determine which privileges hav…
  36. 36.Consider the following existing user definition: use admin db.getUser('yulia') {…
  37. 37.which of the following statements are true about roles in MongoDB? Check all tha…
  38. 38.Which of the following commands will successfully create the user "dsj" and give…
  39. 39.Regarding MongoDB transport encryption, which algorithm is used for client-serve…
  40. 40.Given the following commands that are run on the same machine and represent a re…
  41. 41.Which of the following read preferences ensure that the data being read is fresh…
  42. 42.Which command do you use to immediately add a member to a deployed replica set w…
  43. 43.Which of the following is/are true when configuring a voting member in a replica…
  44. 44.Which of the following are valid purposes for a hidden node in your replica set?…
  45. 45.Consider a replica set with 3 healthy data bearing nodes of equal priority and n…
  46. 46.Which of the following are the recommended settings when adding a new hidden nod…
  47. 47.Which of the following read concerns return data committed to the majority of re…
  48. 48.In the event of a server failure, how does MongoDB guarantee availability in a r…
  49. 49.Under which circumstances is it wise to use delayed replica set members? Choose …
  50. 50.Consider the following scenarios for reconfiguration of a replica set and indica…
  51. 51.In order to route requests to the correct shards, mongos must know where each of…
  52. 52.Consider the following aggregation pipeline: use services db.restaurants.aggrega…
  53. 53.Hashed shard keys can be used to: Check all that apply:
  54. 54.Consider a collection students that has been sharded using the following key: { …
  55. 55.Given the following query: find({"genre": "action"}).sort({"year": 1}).skip(100)…
  56. 56.Consider a collection called reviews which consists of documents with the follow…
  57. 57.Which of the following are factors for fields that should influence a shard key …
  58. 58.Which of the following are true for MongoDB's concept of a chunk in a sharded cl…
  59. 59.Consider a sharded collection that uses a hashed shard key. Which of the followi…

AUTHOR · PROJECTS · OPEN SOURCE

Author & MongoDB projects

Building data platforms, MongoDB migration and sync tools, and cloud operations products.

Contact the author for any MongoDB needs.

Contact the author ↗mlhp123@outlook.com

Support the author

If this question bank helps you, optional donations are welcome.

Scan with Alipay to support the authorOpen full-size donation image ↗