Paper 3 · MongoDB DBA

60 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 advantages of embedded data in documents when compare…
  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.Consider a collection called coll which contains only the following documents: {…
  5. 5.Which documents from the buildings collection would be modified by the following…
  6. 6.Which of the documents below from the people collection will be affected by the …
  7. 7.Consider a collection called buildings where every document contains the followi…
  8. 8.You have a very large movies collection with the following indexes: [ { "v" : 2,…
  9. 9.What actions must you take on a secondary to use it as a dedicated analytical no…
  10. 10.Consider a collection students with the following index: { "firstname": 1, "last…
  11. 11.Which of the following is/are true of single field indexes? Check all that apply…
  12. 12.Which of the following index types are a valid index type in MongoDB? Check all …
  13. 13.Given the following query: db.clothes.find( { "price": { "$lt": 50.00 }, "catego…
  14. 14.You have created the following index on a collection called people: db.people.cr…
  15. 15.Consider the following index in the products collection: { price: 1, rating: 1, …
  16. 16.Your replica set is regularly under heavy load and your business analysis team w…
  17. 17.Which of the following is/are true of unique indexes? Check all that apply:
  18. 18.Which of the following choices is the preferred method for stopping a running mo…
  19. 19.Which of the following statements are true about queries issued against a sharde…
  20. 20.Which of the following are valid logging levels for database application log fil…
  21. 21.What information will be returned by the following command line tool? mongostat …
  22. 22.Which of the following are valid JSON objects? Check all that apply:
  23. 23.What are the benefits of using a KMIP server when running your mongod instance? …
  24. 24.Which of the following are true of the MongoDB's built-in roles? Check all that …
  25. 25.Which of the following are true of the first user created for an Atlas cluster? …
  26. 26.Which of the following are true of the MongoDB's built-in role, userAdmin? Check…
  27. 27.Which of the following are examples of authentication? Check all that apply:
  28. 28.Which of the following applies to the localhost exception? Choose the best answe…
  29. 29.The following command line options were used to start a mongod process: mongod -…
  30. 30.Consider the following audit log message: { "atype" : "createUser", "ts" : { "$d…
  31. 31.When configuring a replica set to use internal keyfile authentication, which of …
  32. 32.Let's assume an administrator created a user account with the following commands…
  33. 33.Which of the following are supported client authentication mechanisms? Check all…
  34. 34.You are requested to create a database user that is able to perform the followin…
  35. 35.Consider the following existing user definition: db.getUser('yulia') { "_id": "p…
  36. 36.Which of the following statements about role-based access control are true? Chec…
  37. 37.Consider the following user: { "_id" : "admin.daniel", "user" : "daniel", "db" :…
  38. 38.Which of the following are supported methods of key management when using the en…
  39. 39.Given the following commands that are run on the same machine and represent a re…
  40. 40.Consider a collection called people that only contains the following documents: …
  41. 41.Which of the following MongoDB deployment types support using a write concern? C…
  42. 42.Which of the following are benefits of using a replica set? Check all that apply…
  43. 43.Which of the following are true of using a write concern in MongoDB? Check all t…
  44. 44.Consider a replica set with 3 healthy data bearing nodes of equal priority and n…
  45. 45.Consider the following write operation issued to a MongoDB replica set: db.users…
  46. 46.What are the benefits of increasing the size of the oplog of a sync source? Chec…
  47. 47.Which command do you use to immediately add a member to a deployed replica set w…
  48. 48.Consider a replica set with 5 healthy nodes and no arbiters. If the primary node…
  49. 49.Under which circumstances is it wise to use delayed replica set members? Choose …
  50. 50.Your company is planning to deploy 500 million internet connected temperature se…
  51. 51.Which of the following is true when using sh.stopBalancer()? Check all that appl…
  52. 52.In order to route requests to the correct shards, mongos must know where each of…
  53. 53.In a sharded cluster, what is a primary shard responsible for? Choose the best a…
  54. 54.In a sharded collection, which of the following is true of the primary shard? Ch…
  55. 55.Given the following query: find({"genre": "action"}).sort({"year": 1}).skip(100)…
  56. 56.Which of the following are factors for fields that should influence a shard key …
  57. 57.Which of the following statements are always true about shard keys? Check all th…
  58. 58.Consider the following chunk document: use config db.chunks.findOne() { "_id": "…
  59. 59.Consider a sharded collection that uses a hashed shard key. Which of the followi…
  60. 60.Consider a collection called coll which contains only the following documents: {…

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 ↗