Give Push to your Success with MongoDB Certified DBA Associate C100DBA Exam Questions [Q76-Q99]

Share

Give Push to your Success with MongoDB Certified DBA Associate C100DBA Exam Questions

C100DBA 100% Guarantee Download C100DBA Exam PDF Q&A


Where to take MongoDB C100DBA Exam

This certification exam can be taken at the test center or online.


Earning the MongoDB Certified DBA Associate certification demonstrates that an individual has the necessary knowledge and skills to manage MongoDB databases effectively. It also helps professionals differentiate themselves from their peers and improve their career prospects. MongoDB Certified DBA Associate Exam (Based on MongoDB 4.4) certification is recognized globally and is highly valued by organizations that use MongoDB databases. Therefore, passing the MongoDB C100DBA exam is an excellent way to enhance one's career in database administration.


Earning the MongoDB Certified DBA Associate certification can be a valuable asset for individuals who are looking to advance their careers in database administration. It can also benefit organizations that use MongoDB by ensuring that their DBAs have the necessary skills and knowledge to manage their databases effectively.

 

NEW QUESTION # 76
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.find( { $array : {tags: "tutorial") > );
  • C. db.posts.findInArray( { tags : "tutorial" > );
  • D. db.posts.find( { tags : "tutorial" } );

Answer: D


NEW QUESTION # 77
In a replica set, a_________number of members ensures that the replica set is always able to select a primary.

  • A. Depends on the application architecture
  • B. 0
  • C. Even
  • D. Odd

Answer: D


NEW QUESTION # 78
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 # 79
You are in a sharded cluster. What will you do prior to initiating backup in sharded cluster?

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

Answer: B


NEW QUESTION # 80
Which of the following is a valid insert statement in mongodb? Select all valid.

  • A. db.test.push({x:2,y:"apple"})
  • B. db.test.insert({x:2,y:"apple"})
  • C. db.test.insert({x:2},{y:"apple"})
  • D. db.test.insert{"x":2, "y":"apple"})

Answer: B,D


NEW QUESTION # 81
What tool would you use if you want to save a gif file in mongo?

Answer:

Explanation:
mongofile


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

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

Answer: C


NEW QUESTION # 83
Which type of indexes does MongoDB support?

  • A. Compound Indexes
  • B. Geospatial Indexes
  • C. All of the above
  • D. Multikey Indexes

Answer: C


NEW QUESTION # 84
You are comparing values of different BSON types in mongodb. You want to compare from lowest to highest.
Which comparison order is used?

  • A. Object/Array^inData/Symbol,MinKey, Null, Numbers,String
  • B. Objec^Array^inData,Symbol, String,MinKey, Null, Numbers
  • C. MinKey, Null, Numbers,Object,Array,BinData,Symbol, String
  • D. MinKey, Null, Numbers,Symbol, String,Object,Array,BinData

Answer: D


NEW QUESTION # 85
Which of the following operators is used to updated a document partially?

  • A. $set
  • B. $modify
  • C. $update
  • D. $project

Answer: A


NEW QUESTION # 86
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 all the authors
  • 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 an author, grouped by author

Answer: D


NEW QUESTION # 87
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 # 88
You are comparing values of different BSON types in mongodb. You want to compare from lowest to highest. Which comparison order is used?

  • A. Object/Array^inData/Symbol,MinKey, Null, Numbers,String
  • B. Objec^Array^inData,Symbol, String,MinKey, Null, Numbers
  • C. MinKey, Null, Numbers,Object,Array,BinData,Symbol, String
  • D. MinKey, Null, Numbers,Symbol, String,Object,Array,BinData

Answer: D


NEW QUESTION # 89
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 # 90
Which of the following collections stores authentication credentials in MongoDB?

  • A. system.users
  • B. users.users
  • C. test.users
  • D. local.users

Answer: A


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

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

Answer: D


NEW QUESTION # 92
JSON stands for

  • A. JavaScript Object Notice
  • B. JavaScript Object Naming
  • C. None of the above
  • D. JavaScript Object Notation

Answer: D


NEW QUESTION # 93
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" : "ruben", "apellido" : "gomez" >
  • B. { "-id" : Objectld("580a42b5dfblb5al7427d302"), "nombre" : "ruben", "apellido" : "gomez", "aficion" :
    v u "flipar" }
  • C. { "_id" : Objectld("580a42acdfblb5al7427d301"), "nombre" : "ruben", "apellido" : "Pablo" , "aficion" : u
    "flipar"}
  • D. { "_id" : Objectld("580a42acdfblb5al7427d301"), "nombre" : "Luis", "apellido" : "gomez", "aficion" : u
    "flipar" }

Answer: A,B


NEW QUESTION # 94
Aggregation Pipelines have a limit of:

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

Answer: A


NEW QUESTION # 95
What does the following aggregate query perform?

  • A. Fetches the posts with likes between 100 and 200, sets the _id of the first document as null and then increments it 1 every time
  • B. Calculates the number of posts with likes between 100 and 200
  • C. Fetches the posts with likes between 100 and 200 and sets their _id as null
  • D. Groups the posts by number of likes (101, 102, 103.) by adding 1 every time

Answer: B


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

Answer:

Explanation:
mongoexport


NEW QUESTION # 97
Which of the following aggregate commands in MongoDB uses a pipeline approach with the goals of improving the aggregation performance?

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

Answer: D


NEW QUESTION # 98
Consider that you have a collection called population which has fields state and city. Which of the following query will calculate the population grouped by state and city?

  • A. db.population.aggregate( [{ $group: { _id: { state: "$state", city; "$city" },pop: { $sum: 1 > > >] )
  • B. db.population.aggregate( [{ $group: { _id: { city: "$city" },pop: { $sum: "$pop" } } }] )Multi Document Transaction is not supported by MongoDB
  • C. db.population.aggregate( [{ $group: { _id: { state: Estate", city: n$city" },pop: { $sum: "$pop" } } }] )
  • D. db.population.aggregate( [{ $group: { _id: { state: Estate", city: "$city" },pop: { $pop: 1 } } }] )

Answer: C


NEW QUESTION # 99
......

Get C100DBA Actual Free Exam Q&As to Prepare Certification: https://www.prep4sureexam.com/C100DBA-dumps-torrent.html

MongoDB Actual Free Exam Questions And Answers: https://drive.google.com/open?id=1WQgIvVNJJEfmNY4ho3XQfMX6d8MIt5mB