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