[Q45-Q63] Use the best ways of preparing for C100DBA Exam Dumps with PassReview MongoDB C100DBA PDF Dumps [2021]

Share

Use the best ways of preparing for C100DBA Exam Dumps with PassReview MongoDB C100DBA dump PDF [2021]

MongoDB C100DBA exam candidates will surely pass the Exam if they consider the C100DBA dumps learning material presented by PassReview.

NEW QUESTION 45
Which of the following does MongoDB use to provide High Availability and fault tolerance?

  • A. Indexing
  • B. Sharding
  • C. Write Concern
  • D. Replication

Answer: D

 

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

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

Answer: D

 

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

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

Answer: D

 

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

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

Answer: C

 

NEW QUESTION 49
In which of the following scenarios is sharding not the correct option. Select all that apply.

  • A. The write operations on the collection are low
  • B. The write operations on the collection are very high
  • C. The collection is a read intensive collection with less working set
  • D. The working set in the collection is expected to grow very large in size

Answer: A,C

 

NEW QUESTION 50
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({tags:2})
  • B. db.posts.find({author:"Tom"}.limit($slice:{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 51
Consider the following example document from the sample collection. All documents in this collection have the same schema.

Which of the following queries will replace this with the document.

  • A. db.sample.update( { "_id" : 3 > , { "_id" : 7 , "c" : 4 > )
  • B. db.sample.update( { "_id" : 3 > , { "_id" : 7 , "c" : 4 > , { "justOne" : true > ) / This operation cannot be done with a single query.
  • C. db.sample.update( { "_id" : 3 } , { "$set" : { "_id" : 7 , "c" : 4 > > )
  • D. db.sample.update( { "_id" : 3 > , { "_id" : 7 , "c" : 4 , { "$unset" : [ "a" , "b" ] } } )

Answer: D

 

NEW QUESTION 52
Which is the correct order (lowest to highest) in which MongoDB compares the BSON types?

  • A. Null, Number, Object and String
  • B. Null, Number, String and Object
  • C. String, Null, Number and Object
  • D. Number, Null, String and Object

Answer: B

 

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

Answer: A,B,D,E,J

 

NEW QUESTION 54
'mongoimport' command is used for

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

Answer: D

 

NEW QUESTION 55
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 {all: true} as the third parameter of update command
  • D. specify {multi : true} as the third parameter of update command

Answer: D

 

NEW QUESTION 56
When should we consider representing a one-to-many relationship in an embedded collection instead of separate collection?

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

Answer: B

 

NEW QUESTION 57
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.finOne({},{_id:0, post_text:1})
  • B. db.posts.finOne{},{post_text:l})
  • C. db.posts.find({},{_id:Of post_text:1})
  • D. db.posts.findOne({post_text: 1})

Answer: A

 

NEW QUESTION 58
Which of the following is supported by MongoDB?

  • A. Transaction Management
  • B. Relationships between Collections (Primary Key Foreign Key)
  • C. ACID Transactions
  • D. Journaling

Answer: D

 

NEW QUESTION 59
What tool do you use if you want to extract a CSV from mongo?

Answer:

Explanation:
mongoexport

 

NEW QUESTION 60
Which of the following does MongoDB use to provide High Scalability?

  • A. Replication
  • B. Indexing
  • C. Write Concern
  • D. Sharding

Answer: D

 

NEW QUESTION 61
To add a new user and enable authentication in MongoDB, which of the following steps need be executed?

  • A. update users collection and restart mongodb
  • B. update users collection and run db.enableAuthenticationQ
  • C. All of the above
  • D. update users collection and restart mongodb with -auth option

Answer: D

 

NEW QUESTION 62
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. ORS2
  • B. ORS3
  • C. O arbiter
  • D. ORS1
  • E. RSO

Answer: D

 

NEW QUESTION 63
......

Full C100DBA Practice Test and 123 unique questions with explanations waiting just for you, get it now: https://drive.google.com/open?id=1IABOln-Q0GxwPmYZYREpCH_YYChV5xOA

Accurate & Verified Answers As Seen in the Real Exam here: https://www.passreview.com/C100DBA_exam-braindumps.html