[Dec 30, 2024] Get New C100DBA Certification – Valid Exam Dumps Questions
100% Passing Guarantee - Brilliant C100DBA Exam Questions PDF
MongoDB C100DBA is a certification exam designed for professionals seeking to become certified MongoDB Certified DBA Associates. C100DBA exam is based on MongoDB version 4.4 and tests individuals on their knowledge and skills in various aspects of database administration, including installation, configuration, maintenance, and performance optimization.
NEW QUESTION # 34
Mongodb does provide high availability via which option?
- A. Replication
- B. Journaling
- C. Sharding
- D. Indexing
Answer: A
NEW QUESTION # 35
By default, the MongoDB cursor in mongo shell is configured to return how many documents? To get the next set of documents, which command is used?
- A. 200, more
- B. 20, it
- C. No limit, none
- D. 50, it
Answer: B
NEW QUESTION # 36
Which of the following does MongoDB use to provide High Scalability?
- A. Sharding
- B. Replication
- C. Indexing
- D. Write Concern
Answer: A
NEW QUESTION # 37
Which of the following is a valid Replica Set configuration if you want:
1-Have 3 copies of everything
2- That RS3 is never primary
2- That RSI and RS2 can be primary?
You had to see the different configurations, RS3 could be hidden or priority 0 (But not a referee because we need
3 replicas), while RSI and RS2 could NOT have priority 0 or be hidden or anything like that In a 4-member RS RSO , RSI, RS2 and RS3 + Referee, RSO (primary) falls after some write operations that have replicated RSI and RS2 (but NOT RS3), who can get up as the new primary?
The configuration comes and in it we see that RS2 has a hidden: true (or a priority: 0, (I don't remember)
- A. ORS1
- B. O arbiter
- C. ORS2
- D. ORS3
- E. RSO
Answer: A
NEW QUESTION # 38
What tool do you use if you want to extract a CSV from mongo?
Answer:
Explanation:
mongoexport
NEW QUESTION # 39
Which of the following is true about sharding?
- A. Creating a sharded key automatically creates an index on the collection using that key
- B. We cannot change a shard key directly/automatically once it is set up
- C. Sharding is enabled at the database level
- D. A sharded environment does not support sorting functionality since the documents lie on various mongod instances
Answer: B
NEW QUESTION # 40
Which of the following statements are true about the $match pipeline operator? Check all that apply.
- A. It can be used as many time as needed.
- B. It has a sintax similar to findQ commands.
- C. You should use it early as possible in the pipeline
Answer: A,B,C
NEW QUESTION # 41
Which type of indexes does MongoDB support?
- A. Compound Indexes
- B. Multikey Indexes
- C. Geospatial Indexes
- D. All of the above
Answer: D
NEW QUESTION # 42
'mongoimport' command is used for
- A. Multiple command insertion
- B. None of the above
- C. Batch data insertion
- D. Multiple command import
Answer: C
NEW QUESTION # 43
Which node in a replica set does accept write operation?
- A. secondary
- B. hidden
- C. arbiter
- D. primary
Answer: D
NEW QUESTION # 44
The________operator can be used to identify an element in the array to be updated without explicitly specifying the position of the element.
- A. $slice
- B. Updating an array field without knowing its index is not possible.
- C. $
- D. $ elemMatch
Answer: C
NEW QUESTION # 45
What does the output x of the following MongoDB aggregation query result into; db.posts.aggregate( [ { $group: { _id; "$author", x: { $sum: $likes } } } ] )
- A. Sum of likes on all the posts by an author, grouped by author
- B. Average of likes on all the posts of an author, grouped by author
- C. Number of posts by an author
- D. Sum of likes on all the posts by all the authors
Answer: A
NEW QUESTION # 46
Which of the following is incorrect statement about find and findOne operations in MongoDB?
- A. findQ returns all the documents in a collection while findOne() retrieves only the first one.
- B. findQ and findOneQ returns cursors to the collection documents
- C. findOneQ returns the actual first document retrieved from a collection
- D. find.limit(l) is not the same query as findOne()
Answer: B
NEW QUESTION # 47
Consider the following documents:
You perform the following query;
How many documents will be updated by the query?
- A. 0
- B. 1
- C. 2
- D. 3
- E. 4
Answer: C
NEW QUESTION # 48
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. None of the above
- C. 1
- D. 2
Answer: C
NEW QUESTION # 49
Consider that our posts collection contains an array field called tags that contains tags that the user enters. {
Which of the following commands will find all the posts that have been tagged as tutorial.
- A. db.posts.find( { tags : "tutorial" } );
- B. db.posts.findInArray( { tags : "tutorial" > );
- C. db.posts.find( { $array : {tags: "tutorial") > );
- D. db.posts.find( { tags : ["tutorial"] } );
Answer: A
NEW QUESTION # 50
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 first
- B. Returns 10 comments, beginning with the last
- C. Returns 5 comments, beginning with the first 10 items
- D. Returns 5 comments, beginning with the last 10 items
Answer: D
NEW QUESTION # 51
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 first
- B. Returns 10 comments, beginning with the last
- C. Returns 5 comments, beginning with the first 10 items
- D. Returns 5 comments, beginning with the last 10 items
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( { c: 1, d : 1 } )
- B. db.test.find( { a: 5, b: 3 } ).sort( { a: 1, b: 1, c: 1 } )
- C. db.test.find( { a: 5, b: 3 } ).sort( { a: 1} )
- D. db.test.find( { a: 5, b: 3 } ).sort( {c: 1 } )
Answer: A,D
NEW QUESTION # 53
......
Free C100DBA braindumps download: https://www.pass4guide.com/C100DBA-exam-guide-torrent.html
C100DBA Dumps 2024 - NewMongoDB Exam Questions: https://drive.google.com/open?id=15KWE3mUxfQgICegRbCCb7DKE4NHoD1lH