Get May-2024 updated C100DBA Certification Exam Sample Questions [Q57-Q76] | DumpsMaterials

Get May-2024 updated C100DBA Certification Exam Sample Questions [Q57-Q76]

Share

Get May-2024 updated C100DBA Certification Exam Sample Questions

C100DBA Study Guide Cover to Cover as Literally


MongoDB C100DBA exam is a challenging and comprehensive test that covers various topics related to MongoDB database administration. C100DBA exam covers topics such as MongoDB architecture, installation and configuration, data management, security, backup and recovery, and performance tuning. C100DBA exam consists of 60 multiple-choice questions and has a time limit of 90 minutes. Candidates must score at least 65% to pass the exam and earn the MongoDB Certified DBA Associate certification.


MongoDB Certified DBA Associate Exam (C100DBA) is a certification exam designed for database administrators who work with MongoDB 4.4. C100DBA exam focuses on evaluating the knowledge and skills of candidates related to designing, deploying, maintaining, and securing MongoDB databases. C100DBA exam is conducted online and consists of 60 multiple-choice questions that need to be answered within 90 minutes. C100DBA exam is available in English and costs $150.


The MongoDB C100DBA exam consists of 60 multiple-choice questions and has a duration of 90 minutes. It is proctored online, making it accessible to individuals from anywhere in the world. C100DBA exam is designed to test a candidate's ability to perform real-world tasks and solve problems that are commonly encountered in MongoDB database administration.

 

NEW QUESTION # 57
Which of the following is a valid insert statement in mongodb? Select all valid.

  • A. db.test.insert({x:2},{y:"apple"})
  • B. db.test.push({x:2,y:"apple"})
  • C. db.test.insert({x:2,y:"apple"})
  • D. db.test.insert({"x":2, "y":"apple"})

Answer: C,D


NEW QUESTION # 58
Which of the following command is used to get all the indexes on a collection?

  • A. db.showIndexes()
  • B. db.collection.getlndexesQ
  • C. db.collection.findlndexes()
  • D. db.collection.showIndexes()

Answer: B


NEW QUESTION # 59
What is the defau size of a GridFS chunk?

  • A. 2 MB
  • B. 16 MB
  • C. 255 K
  • D. 1 MB

Answer: C


NEW QUESTION # 60
In a collection that contains 100 post documents, what does the following command do? db. posts. find().skip(5).limit(5)

  • A. Limits the first five documents and then return them in reverse order
  • B. Skips the first five documents and returns the sixth document five times
  • C. Skip and limit nullify each other. Hence returning the first five documents.
  • D. Skips the first five documents and returns the next five

Answer: D


NEW QUESTION # 61
Which of the following command inside aggregate command is used in MongoDB aggregation to filter the documents to pass only the documents that match the specified condition(s) to the next pipeline stage.

  • A. $match
  • B. $sum
  • C. $group
  • D. $aggregate

Answer: A


NEW QUESTION # 62
Which command is used to determine storage capacity of specific database?

  • A. mongotop
  • B. dbstats
  • C. mongostat
  • D. constats

Answer: B


NEW QUESTION # 63
What does the output x of the following MongoDB aggregation query result into; db.posts.aggregate( [ {
$group: { _id; "$author", x: { $sum: $likes } } } ] )

  • A. Number of posts by an author
  • B. Sum of likes on all the posts by an author, grouped by author
  • C. Sum of likes on all the posts by all the authors
  • D. Average of likes on all the posts of an author, grouped by author

Answer: B


NEW QUESTION # 64
Consider the following document from the products collection:

What does the following query using $elemMatch return? db.products.find( { product_code: "345678" }, { variations: { $elemMatch: { size: ^L^ } } } )

  • A. Returns the document but with only one element in the variations array (corresponding to size L)
  • B. Returns the complete document but retrieves only the size field from the array and also with only one element in the variations array (corresponding to size L)
  • C. Returns the complete document since MongoDB does not support partial array retrieval
  • D. Returns the complete document but retrieves only the size field from the array

Answer: A


NEW QUESTION # 65
What tool do you use if you want to extract a CSV from mongo?

Answer:

Explanation:
mongoexport


NEW QUESTION # 66
Which option should be used to update all the documents with the specified condition in the MongoDB query?

  • A. specify {multi : true} as the third parameter of update command
  • B. updateAII instead of update
  • C. specify {updateAII: true} as the third parameter of update command
  • D. specify {all: true} as the third parameter of update command

Answer: A


NEW QUESTION # 67
Consider the following example document:
{
"_id": Objectld("5360c0a0a655a60674680bbe"),
"user"
"login": "irOn"
"description": "Made of steel"
"date": ISODate("2014-04-30T09:16:45.836Z"),
}
>
and index creation command:
db.users.createlndex( { "user.login": 1, "user.date": -1 }, "mylndex" )
When performing the following query:
db.users.find( { "user.login": /Air.*/ }, { "user":1, "_id":0 } ).sort( { "user.date":1 } )
which of the following statements correctly describe how MongoDB will handle the query? Check all that apply.

  • A. None of the above
  • B. As an optimized sort query (scanAndOrder = false) using "mylndex" because we are sorting on an indexed field
  • C. As a covered query using "mylndex" because we are filtering out "_id" and only returning "user.login"
  • D. As an indexed query using "mylndex" because field "user.login" is indexed
  • E. MongoDB will need to do a table/collection scan to find matching documents

Answer: D


NEW QUESTION # 68
What is the replication factor for a replicated cluster with 1 primary, 3 secondaries with one of them hidden. The set also has an arbiter?

  • A. None of the above
  • B. 0
  • C. 1
  • D. 2

Answer: B


NEW QUESTION # 69
In a replicated cluster, which of the following node would only be used during an election?

  • A. arbiter
  • B. secondary
  • C. hidden
  • D. primary

Answer: A


NEW QUESTION # 70
Which of the documents below will be retrieved by the following query? Assume the documents are stored in a collection called "sample". Check all that apply.
db.sample.find( { "$or" : [ { "a" : { "$in" : [ 3, 10] > }, { "b" : { "$lt" : 2 > > ] > )

  • A. { ''\ Jd" : 9, "a" : 17, "c" : 1, "b" : 1}
  • B. {''_ Jd" : 7, "a" : 8, "c" : 1, "b" : 7}
  • C. {". Jd" : : 5, "a" : 3, "c" : : 0, "b" : 12}
  • D. {". Jd" : : 8, "a" : 11, "c" : 1, "b" : 0}
  • E. {''_ _id" : 3, "a" : 4, "c" : 0, "b" : 14}
  • F. {". Jd" : : 2, "a" : 2, "c" : : 0, "b" : 1}
  • G. {". Jd" : 6, "a" : 1, "c" : 1, "b" : 5}
  • H. {". Jd" : : 1, "a" : 0, "c" : : 0, "b" : 2}
  • I. {". Jd" : : 4, "a" : 5, "c" : : 0, "b" : 17}
  • J. { \ Jd" : 10,"a" : 3, "c" : 1, "b" : 1}

Answer: A,C,D,F,J


NEW QUESTION # 71
Which of the following aggregation commands in MongoDB does not support sharded collections?

  • A. All of the above
  • B. group
  • C. aggregate
  • D. mapReduce

Answer: B


NEW QUESTION # 72
You are in a sharded cluster. What will you do prior to initiating backup in sharded cluster?

  • A. sh.stopBalancer()
  • B. db.stopserver()
  • C. sh.stopserverQ
  • D. db.stopBalancer()

Answer: A


NEW QUESTION # 73
What does the following $slice query return using the following command? db.posts.find( {}, { comments: { $slice: [ -10, 5 ] } } )

  • A. Returns 10 comments, beginning with the last
  • B. Returns 5 comments, beginning with the first 10 items
  • C. Returns 10 comments, beginning with the first
  • D. Returns 5 comments, beginning with the last 10 items

Answer: D


NEW QUESTION # 74
In a sharded replica set environment, the w Option provides ability for write concern and j Option provides ability for the data to be written on disk journal. Consider that we have a seven member replica set and we want to assure that the writes are committed to journal. What should be the value of j?

  • A. 0
  • B. 1
  • C. 2
  • D. 3

Answer: C


NEW QUESTION # 75
Which of the following does MongoDB use to provide High Availability and fault tolerance?

  • A. Write Concern
  • B. Sharding
  • C. Replication
  • D. Indexing

Answer: C


NEW QUESTION # 76
......

100% Real & Accurate C100DBA Questions and Answers with Free and Fast Updates: https://braindumps2go.dumpsmaterials.com/C100DBA-real-torrent.html