Download Latest C100DBA Dumps with Authentic Real Exam QA's [Q76-Q100]

Share

Download Latest C100DBA Dumps with Authentic Real Exam Questions

Authentic C100DBA Exam Dumps PDF - Dec-2024 Updated


To prepare for the MongoDB C100DBA exam, candidates can take advantage of various resources, including online courses, study guides, and practice exams. MongoDB also offers official training courses that cover the exam material in detail. These courses are taught by experienced instructors who provide hands-on training and real-world scenarios to help candidates prepare for the exam.

 

NEW QUESTION # 76
Suposse tou have the following collection with only 2 documents:

If you run an aggregation query and use { $unwind: "$traits" } as the first stage, how many documents will be passed to the next stage of the aggregation pipeline?

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

Answer: C


NEW QUESTION # 77
Mongodb does provide high availability via which option?

  • A. Journaling
  • B. Sharding
  • C. Replication
  • D. Indexing

Answer: C


NEW QUESTION # 78
Which of the following is correct about MongoDB?

  • A. MongoDB uses JSON format to represent documents
  • B. MongoDB supports some of the SQL functions
  • C. MongoDB supports geospatial indexes
  • D. MongoDB supports collection joins

Answer: C


NEW QUESTION # 79
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. Skip and limit nullify each other. Hence returning the first five documents.
  • C. Skips the first five documents and returns the next five
  • D. Skips the first five documents and returns the sixth document five times

Answer: C


NEW QUESTION # 80
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 # 81
When should we consider representing a one-to-many relationship in an embedded collection instead of separate collection?

  • A. Never
  • B. When the many is very large
  • C. Always
  • D. When the many is not very large

Answer: D


NEW QUESTION # 82
You have the following index on the toys collection:
{
"manufacturer" : 1,
"name" : 1,
"date" : -1
}
Which of the following is able to use the index for the query? Check all that apply.

  • A. db.toys.find( { name : "Big Rig Truck", date : "2013-02-01", manufacturer : "Tanko"
  • B. db.toys.find( { date : "2015-03-01", manufacturer : "Loggo", name : "Brick Set" } )
  • C. db.toys.find( { manufacturer : "Matteo", name : "Barbara", date : "2014-07-02" } )

Answer: A,B,C


NEW QUESTION # 83
MongoDB is

  • A. Document-oriented DBMS
  • B. None of the above
  • C. Relational DBMS
  • D. Object-oriented DBMS

Answer: A


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

Answer: A,C,E,H,I


NEW QUESTION # 85
You perform the following operation in the shell: db.foo.insert( { } ); What gets inserted?

  • A. An empty document
  • B. No document will be inserted; an error will be raised
  • C. A document with an _id assigned to be an Objectld
  • D. A document will be inserted with the same _id as the last document inserted
  • E. A document that matches the collection's existing schema, but with null fields

Answer: C


NEW QUESTION # 86
Which command can be used to rebuild the indexes on a collection in MongoDB?

  • A. db.collection.relndexQ
  • B. db.collection.createIndex({author:l}).reIndex()
  • C. db.collection.createlndex({relndex:l})
  • D. db.collection.reIndex({author:l})

Answer: A


NEW QUESTION # 87
The________operator can be used to identify an element in the array to be updated without explicitly specifying the position of the element.

  • A. Updating an array field without knowing its index is not possible.
  • B. $ elemMatch
  • C. $slice
  • D. $

Answer: D


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

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

Answer: A


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

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

Answer: C


NEW QUESTION # 90
You have designed a web application with mongoDB. You have configured replication. The replica set is in place and function properly. What happens in case of failure?

  • A. Failover happens automatically
  • B. Switchover happens automatically
  • C. Failover needs to be done manually
  • D. Switchover needs to be done manually

Answer: A


NEW QUESTION # 91
What is the output of following two commands in MongoDB: db. posts. insert({n_id":l}) db.posts.insert({"_id":l})

  • A. It will insert two documents and throw a warning to the user
  • B. Two documents will be inserted with _id as 1
  • C. This will throw a duplicate key error
  • D. MongoDB will automatically increment the _id of the second document as 2

Answer: C


NEW QUESTION # 92
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" :1});
  • B. db.posts.createIndex({^commerits.author";-!});
  • C. db.posts.createIndex({^comments.$.author":-l});

Answer: B


NEW QUESTION # 93
If you have created a compound index on (A,B, C) which of the following access pattern will not be able to utilize the index?

  • A. A
  • B. A, B
  • C. A, B, C
  • D. B, C

Answer: D


NEW QUESTION # 94
Which of the following commands finds all the documents in the posts collection with post timestamp field as null?

  • A. db.posts.find( { post_timestamp: { $type: null } } )
  • B. db.posts.find( { post_timestamp : { $type; 10 > > )
  • C. db.posts.find( { post_timestamp: { $fieldtype: 10 } } )
  • D. db.posts.find( { post_timestamp: { $fieldtype: null } } )

Answer: B


NEW QUESTION # 95
Which of the following commands will return all the posts with number of likes greater than 100 and less than
200, both inclusive?

  • A. db.posts.find({ likes : { $gt : 100, $lt : 200 > > );
  • B. db.posts.find({ likes : { $gte : 100, $lt : 200 } } );
  • C. db.posts.find({ likes : { $gte : 100 , $lte : 200 } } );
  • D. db.posts.find({ likes : { $gt : 100 , $lte : 200 } } );

Answer: C


NEW QUESTION # 96
Consider the following posts document:

Which of the following queries will return the documents but with only the first two tags in the tags array?

  • A. db.posts.find({author:"Tom"}.limit($slice:{tags:2>)
  • B. db.posts.find({author:"Tom"}.limit({tags:2})
  • C. Both "db.posts.find({author:"Tom"},{tags:{$slice:2}})" and
    "db.posts.find({author:"Tom"}).limit($slice: {tags:2})" are valid. $slice works both with projection and limit.
  • D. db.posts.find({author:"Tom">,{tags:{$slice:2})

Answer: D


NEW QUESTION # 97
Which operations add new documents to a collection?

  • A. delete
  • B. update
  • C. Create
  • D. insert

Answer: C,D


NEW QUESTION # 98
The following aggregation option is used to specify the specific fields that needs to be passed to the next stage of the aggregation pipeline:

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

Answer: C


NEW QUESTION # 99
Which of the following operator can be used to limit the number of documents in an array field of a document after an update is performed?

  • A. None of the above
  • B. $push along with $each, $sort and $slice
  • C. $removeFromSet
  • D. $arrayLimit

Answer: B


NEW QUESTION # 100
......


MongoDB C100DBA certification exam is a widely recognized and respected certification for professionals seeking to validate their expertise and knowledge in MongoDB database administration. C100DBA exam is designed to test the skills and abilities of candidates in various aspects of MongoDB 4.4 database administration, including installation and configuration, performance tuning and optimization, security, backup and recovery, and monitoring and maintenance.

 

C100DBA Dumps for success in Actual Exam: https://examcollection.dumpsvalid.com/C100DBA-brain-dumps.html