Paper 9 · MongoDB DBA

32 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 true of how data should be structured in a MongoDB do…
  2. 2.Consider the following commands run in the mongo shell: db.createCollection( "si…
  3. 3.Which of the following is true about the $group Aggregation Framework stage? Che…
  4. 4.Consider the following set of commands in the mongo shell: use admin db.setLogLe…
  5. 5.To ensure that write operations are not lost in the event of a server failure, W…
  6. 6.Command Consider the following rs.printReplicationInfo() output: configured oplo…
  7. 7.Which of the following are valid purposes for a hidden node in your replica set?…
  8. 8.Which of the following types of data are stored in the Config DB? Check all that…
  9. 9.Consider the following aggregation pipeline: use services db.movies.aggregate([ …
  10. 10.Which of the following are factors for fields that should influence a shard key …
  11. 11.Your company is planning to deploy 500 million internet connected temperature se…
  12. 12.1Consider a collection called reviews which consists of documents with the follo…
  13. 13.Which of the following are reasons to use normalized data in documents instead o…
  14. 14.Hashed shard keys can be used to: Check all that apply:
  15. 15.Which of the following is/are true when configuring a voting member in a replica…
  16. 16.Given the following commands that are run on the same machine and represent a re…
  17. 17.Consider the following set of commands in the mongo shell: use admin db.setLogLe…
  18. 18.How would the following query change if we set { upsert: true } as the third par…
  19. 19.Which of the following mongod command line arguments will impact how data and in…
  20. 20.Which of the following methods can be used to add additional privileges to an ex…
  21. 21.When querying a sharded cluster, which component of the cluster routes the query…
  22. 22.Consider a collection called travel where every document contains the following …
  23. 23.Which of the following operations benefit from having more available RAM in a de…
  24. 24.Consider a collection called sample which is sharded using the following shard k…
  25. 25.Which of the following types of data are stored in the Config DB? Check all that…
  26. 26.Consider a collection called coll which contains only the following documents: {…
  27. 27.Consider the following rs.printReplicationInfo() output: configured oplog size '…
  28. 28.Which of the following are true for MongoDB's concept of a chunk in a sharded cl…
  29. 29.Assuming all _id values are generated using ObjectId(), which of the following i…
  30. 30.Given the following query: find({"genre": "action"}).sort({"year": 1}).skip(100)…
  31. 31.Which of the following are valid configuration files for the WiredTiger storage …
  32. 32.How does MongoDB drop multiple indexes, specifically with the dropIndexes comman…

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 ↗