[UPDATED 2022] MongoDB C100DBA Questions Prepare with Free Demo of PDF [Q28-Q44]

Share

[UPDATED 2022] MongoDB C100DBA Questions Prepare with Free Demo of PDF

NEW 2022 Certification Sample Questions C100DBA Dumps & Practice Exam

NEW QUESTION 28
Addding the index {a:l} can potentially decrease the speed of which of the following operations? Check all that apply.

  • A. db.collection.insert( { a:341})
  • B. db.collection.update({b:456>, {$inc: {a:l> })
  • C. db.collection.find( {a : 232} )

Answer: A,B

 

NEW QUESTION 29
What is the use of mongodump and mongorestore tools?

  • A. audit mongodb deployment
  • B. backup mongodb deployment
  • C. performance tune mongodb deployment
  • D. replicate mongodb deployments

Answer: B

 

NEW QUESTION 30
Aggregation Pipelines have a limit of:

  • A. No limit on document and 100 MB RAM
  • B. 2 MB document and 100 MB RAM
  • C. 2 MB document and no limit on RAM
  • D. 16 MB document and 100 MB RAM

Answer: D

 

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

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

Answer: C

 

NEW QUESTION 32
Consider a collection posts which has fields: Jd, post_text, post_author, post_timestamp, post_tags etc. Which of the following query retrieves ONLY the key named post_text from the first document retrieved?

  • A. db.posts.find({},{_id:Of post_text:1})
  • B. db.posts.finOne({},{_id:0, post_text:1})
  • C. db.posts.findOne({post_text: 1})
  • D. db.posts.finOne{},{post_text:l})

Answer: B

 

NEW QUESTION 33
In what format does mongodump creates backup files?

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

Answer: B

 

NEW QUESTION 34
What is the maximum size of Index Key Limit and Number of Indexes per collection?

  • A. 1024 bytes and unlimited indexes
  • B. 64 bytes and 1024 indexes
  • C. 1024 bytes and 64 indexes
  • D. 12 mega bytes and 64 indexes

Answer: C

 

NEW QUESTION 35
Which of the following node is used during election in a replication cluster?

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

Answer: C

 

NEW QUESTION 36
What does the totalKeysExamined field returned by the explain method indicate?

  • A. Number of index entries scanned
  • B. Details the completed execution of the winning plan as a tree of stages
  • C. Number of documents that match the query condition
  • D. Number of documents scanned

Answer: A

 

NEW QUESTION 37
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. $aggregate
  • B. $match
  • C. $group
  • D. $sum

Answer: B

 

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

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

Answer: A

 

NEW QUESTION 39
Which of the tags in a replica set configuration specify the operations to be read from the node with the least network latency?

  • A. nearest
  • B. netLatency
  • C. primaryPreferred
  • D. secondaryPreferred

Answer: A

 

NEW QUESTION 40
Which option can be used with update command so that a new document gets created if no matching document is found based on the query condition?

  • A. upsert command instead of update command
  • B. {update: true, insert: true} as the third parameter of update command
  • C. This has to be handled in application code (Node.js, PHP, JAVA, C#, etc.) and cannot be handled in mongo shell query
  • D. Specify {upsert : true } as the third parameter of update command

Answer: D

 

NEW QUESTION 41
'mongoimport' command is used for

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

Answer: D

 

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

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

Answer: D

 

NEW QUESTION 43
Which mongodb tool is used to report details on number of database operations in MongoDB?

  • A. mongorestore
  • B. mongodump
  • C. mongostat
  • D. mongotop

Answer: C

 

NEW QUESTION 44
......

C100DBA Deluxe Study Guide with Online Test Engine: https://pass4itsure.passleadervce.com/MongoDB-Certified-DBA-Associate/reliable-C100DBA-exam-learning-guide.html