Valid MongoDB Certified DBA Associate C100DBA Dumps Ensure Your Passing
C100DBA Dumps Real Exam Questions Test Engine Dumps Training
NEW QUESTION 47
What tool would you use if you want to save a gif file in mongo?
Answer:
Explanation:
mongofile
NEW QUESTION 48
Given a replica set with five data-bearing members, suppose the primary goes down with operations in its oplog that have been copied from the primary to only one secondary. Assuming no other problems occur, which of the following describes what is most likely to happen?
- A. missing operations will need to be manually re-performed
- B. reads will be stale until the primary comes back up
- C. the most current secondary will roll back the operations following the election
- D. the secondary with the most current oplog will be elected primary
- E. the primary may roll back the operations once it recovers
Answer: D
NEW QUESTION 49
What tool do you use to see if you have a problem in the consumption of disk I / 0?
Answer:
Explanation:
Mongoperf
NEW QUESTION 50
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. $sum
- C. $group
- D. $match
Answer: D
NEW QUESTION 51
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">,{tags:{$slice:2})
- B. 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. - C. db.posts.find({author:"Tom"}.limit({tags:2})
- D. db.posts.find({author:"Tom"}.limit($slice:{tags:2>)
Answer: A
NEW QUESTION 52
Mongodb does provide high availability via which option?
- A. Journaling
- B. Indexing
- C. Sharding
- D. Replication
Answer: D
NEW QUESTION 53
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. $removeFromSet
- B. None of the above
- C. $arrayLimit
- D. $push along with $each, $sort and $slice
Answer: D
NEW QUESTION 54
In a replicated cluster, which of the following node would only be used during an election?
- A. secondary
- B. primary
- C. arbiter
- D. hidden
Answer: C
NEW QUESTION 55
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: A
NEW QUESTION 56
Which option should be used to update all the documents with the specified condition in the MongoDB query?
- A. specify {updateAII: true} as the third parameter of update command
- B. updateAII instead of update
- C. specify {multi : true} as the third parameter of update command
- D. specify {all: true} as the third parameter of update command
Answer: C
NEW QUESTION 57
Which format/standard is used by MongoDB internally to store documents?
- A. JSON - Extended
- B. B+ Trees
- C. JSON
- D. BSON
Answer: C
NEW QUESTION 58
Which of the following about Capped Collections is correct?
- A. Only "Fixed Size" and "High-throughput operations that insert and retrieve documents based on insertion order"
- B. High-throughput operations that insert and retrieve documents based on insertion order
- C. Fixed Size
- D. If the allocated space for a capped collection exceeds, it stops inserting new documents
Answer: A
NEW QUESTION 59
Which features of relational database management systems were deliberately omitted in MongoDB and help us to obtain horizontal scalability? Check all that apply.
- A. Multi-statement transactions
- B. Joins
- C. Authentication
Answer: A,B
NEW QUESTION 60
Which of the following does MongoDB use to provide High Availability and fault tolerance?
- A. Indexing
- B. Write Concern
- C. Sharding
- D. Replication
Answer: D
NEW QUESTION 61
Dada una coleccion, cuales devuelve con la siguiente query
db.coleccion.find({nombre:"ruben",apellido:"gomez"},{nombre:l,apellido:l,aficion:l});
- A. { "_id" : Objectld("580a42acdfblb5al7427d301"), "nombre" : "Luis", "apellido" : "gomez", "aficion" : u
"flipar" } - B. { "_id" : Objectld("580a42acdfblb5al7427d301"), "nombre" : "ruben", "apellido" : "gomez" >
- C. { "-id" : Objectld("580a42b5dfblb5al7427d302"), "nombre" : "ruben", "apellido" : "gomez", "aficion" :
v u "flipar" } - D. { "_id" : Objectld("580a42acdfblb5al7427d301"), "nombre" : "ruben", "apellido" : "Pablo" , "aficion" : u
"flipar"}
Answer: B,C
NEW QUESTION 62
MongoDB is a schema-less design.
- A. True
- B. False
Answer: A
NEW QUESTION 63
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: A,D
NEW QUESTION 64
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 5 comments, beginning with the first 10 items
- C. Returns 5 comments, beginning with the last 10 items
- D. Returns 10 comments, beginning with the last
Answer: C
NEW QUESTION 65
Which of the following index would be optimum for the query?
Select all valid. db.test.find( { a : 5, c : 2 })
- A. db.test.ensurelndex( { a: 1, b :1, c:l, d:l})
- B. CH db.test.ensurelndex( { a :1, c:l})
- C. db.test.ensurelndex( { a : 1, c: 1, d: 1, b : 1})
- D. db.test.ensurelndex( { c:l, a: 1})
Answer: B,C
NEW QUESTION 66
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. nearest
- C. primaryPreferred
- D. secondaryPreferred
Answer: B
NEW QUESTION 67
What does the totalKeysExamined field returned by the explain method indicate?
- A. Number of documents that match the query condition
- B. Number of documents scanned
- C. Number of index entries scanned
- D. Details the completed execution of the winning plan as a tree of stages
Answer: C
NEW QUESTION 68
Which are the ONLY ways to project portions of an array?
- A. $ elemMatch
- B. All of the above
- C. $
- D. $slice
Answer: B
NEW QUESTION 69
Which node in a replica set does accept write operation?
- A. primary
- B. secondary
- C. hidden
- D. arbiter
Answer: A
NEW QUESTION 70
Update If Correct is an approach for which of the following concepts in MongoDB:
- A. Performance Management
- B. Transaction Management
- C. Atomicity
- D. Concurrency Control
Answer: D
NEW QUESTION 71
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. $aggregate
- B. $group
- C. $match
- D. $project
Answer: D
NEW QUESTION 72
......
MongoDB C100DBA: Selling MongoDB Certified DBA Associate Products and Solutions: https://www.actual4dumps.com/C100DBA-study-material.html
C100DBA exam dumps and online Test Engine: https://drive.google.com/open?id=1IzLV_Uh3oQPUS7k8voRm11nhMDOYl3Bs