C100DBA Exam Questions Dumps, Selling MongoDB Products [Q37-Q57]

Share

C100DBA Exam Questions Dumps, Selling MongoDB Products

C100DBA Cert Guide PDF 100% Cover Real Exam Questions


To prepare for the C100DBA exam, MongoDB offers a variety of resources, including an exam study guide, online courses, and practice exams. C100DBA exam study guide covers all the topics included in the exam and provides sample questions and answers. MongoDB University offers several online courses, including MongoDB Basics, MongoDB for DBAs, and MongoDB for Developers, which cover the topics included in the exam. MongoDB also provides practice exams to help candidates assess their readiness for the actual exam.


MongoDB Certified DBA Associate Exam (C100DBA) is an excellent opportunity for individuals who want to validate their skills in managing MongoDB databases. C100DBA exam covers a wide range of topics and evaluates your skills in real-world scenarios. MongoDB Certified DBA Associate Exam (Based on MongoDB 4.4) certification is essential for individuals who want to pursue a career as a MongoDB DBA and enhances their resume to stand out from other candidates in the job market.

 

NEW QUESTION # 37
Write the command(s) are correct to enable sharding on a database "testdb" and shard a collection "testCollection" with _id as shard key.

Answer:

Explanation:
sh.enableSharding("testdb") & sh.shardCollection("testdb.testCollection", {_id : 1 }, true )


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

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

Answer: A


NEW QUESTION # 39
What tool would you use if you want to save a gif file in mongo?

Answer:

Explanation:
mongofile


NEW QUESTION # 40
Given a collection posts as shown below having a document array comments, which of the following command will create an index on the comment author descending?

  • A. db.posts.createIndex({comments.$.author": {$desc:l>});
  • B. db.posts.createIndex({commerits.$.author":-l});
  • C. db.posts.createIndex({comments.author":-l});

Answer: C


NEW QUESTION # 41
'mongoimport' command is used for

  • A. Multiple command insertion
  • B. Batch data insertion
  • C. Multiple command import
  • D. None of the above

Answer: B


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

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

Answer: B


NEW QUESTION # 43
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" :: 8, "a": 11, "c": 1, "b": 0}
  • B. {".Jd" :: 1, "a": 0, "c" :: 0, "b": 2}
  • C. {".Jd" :: 4, "a": 5, "c" :: 0, "b": 17}
  • D. {''_Jd" :7, "a": 8, "c" :1, "b" :7}
  • E. { ''\Jd" :9, "a": 17, "c": 1, "b": 1}
  • F. {".Jd" :6, "a": 1, "c" :1, "b" :5}
  • G. { \Jd" :10,"a": 3, "c": 1, "b": 1}
  • H. {''__id" :3, "a": 4, "c" :0, "b" :14}
  • I. {".Jd" :: 2, "a": 2, "c" :: 0, "b": 1}
  • J. {".Jd" :: 5, "a": 3, "c" :: 0, "b": 12}

Answer: A,E,G,I,J


NEW QUESTION # 44
In what format does mongodump creates backup files?

  • A. JSON
  • B. SOAP
  • C. BSON
  • D. XML

Answer: C


NEW QUESTION # 45
Which of the following statements are true about the $match pipeline operator? Check all that apply.

  • A. You should use it early as possible in the pipeline
  • B. It has a sintax similar to findQ commands.
  • C. It can be used as many time as needed.

Answer: A,B,C


NEW QUESTION # 46
In a replica set, a_________number of members ensures that the replica set is always able to select a primary.

  • A. 0
  • B. Even
  • C. Depends on the application architecture
  • D. Odd

Answer: D


NEW QUESTION # 47
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. 0
  • B. 1
  • C. 2
  • D. None of the above

Answer: A


NEW QUESTION # 48
You are comparing values of different BSON types in mongodb. You want to compare from lowest to highest.
Which comparison order is used?

  • A. MinKey, Null, Numbers,Object,Array,BinData,Symbol, String
  • B. Objec^Array^inData,Symbol, String,MinKey, Null, Numbers
  • C. MinKey, Null, Numbers,Symbol, String,Object,Array,BinData
  • D. Object/Array^inData/Symbol,MinKey, Null, Numbers,String

Answer: C


NEW QUESTION # 49
Which of the following collections stores authentication credentials in MongoDB?

  • A. system.users
  • B. users.users
  • C. test.users
  • D. local.users

Answer: A


NEW QUESTION # 50
Which of the following needs to be performed prior to initiate backup on a sharded cluster?

  • A. sh.stopBalancer( )
  • B. db.stopBalancer( )
  • C. db.stopServer( )
  • D. sh.stopServer( )

Answer: A


NEW QUESTION # 51
Update If Correct is an approach for which of the following concepts in MongoDB:

  • A. Transaction Management
  • B. Atomicity
  • C. Performance Management
  • D. Concurrency Control

Answer: D


NEW QUESTION # 52
Below is a sample document in a given collection test.
{ a : 5, b : 3, c: 2, d : 1 >
Given a compound index { a: 1, b:l, c:l, d:l}, Which of the below query will not use in-memory sorting? Select all valid.

  • A. db.test.find( { a: 5, b: 3 } ).sort( { a: 1, b: 1, c: 1 > )
  • B. db.test.find( { a: 5, b: 3 } ).sort( { c: 1, d : 1 } )
  • C. db.test.find( { a: 5, b: 3 } ).sort( {c: 1 } )
  • D. db.test.find( { a: 5, b: 3 } ).sort( { a: 1} )

Answer: B,C


NEW QUESTION # 53
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: B


NEW QUESTION # 54
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 # 55
You are comparing values of different BSON types in mongodb. You want to compare from lowest to highest. Which comparison order is used?

  • A. MinKey, Null, Numbers,Object,Array,BinData,Symbol, String
  • B. Objec^Array^inData,Symbol, String,MinKey, Null, Numbers
  • C. MinKey, Null, Numbers,Symbol, String,Object,Array,BinData
  • D. Object/Array^inData/Symbol,MinKey, Null, Numbers,String

Answer: C


NEW QUESTION # 56
Below is a sample document of "orders" collection

  • A. $sort

Answer: A


NEW QUESTION # 57
......

Pass C100DBA Exam - Real Questions and Answers: https://www.actualcollection.com/C100DBA-exam-questions.html