0% found this document useful (0 votes)
138 views6 pages

sample-questions-for-mongodb-c100dba-exam-by-craig

This document contains sample multiple-choice questions for the MongoDB C100DBA exam, shared by Craig. It includes questions on replica set configurations, document operations, SQL equivalencies, and query handling in MongoDB. Answers to each question are provided, along with links for additional resources and premium files for exam preparation.

Uploaded by

Pankaj Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
138 views6 pages

sample-questions-for-mongodb-c100dba-exam-by-craig

This document contains sample multiple-choice questions for the MongoDB C100DBA exam, shared by Craig. It includes questions on replica set configurations, document operations, SQL equivalencies, and query handling in MongoDB. Answers to each question are provided, along with links for additional resources and premium files for exam preparation.

Uploaded by

Pankaj Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Sample Questions for MongoDB C100DBA Exam By Craig - Page 1

Free Questions for C100DBA


Shared by Craig on 04-10-2024
For More Free Questions and Preparation Resources

Check the Links on Last Page


Sample Questions for MongoDB C100DBA Exam By Craig - Page 2

Question 1
Question Type: MultipleChoice

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

Options:
A- netLatency
B- secondaryPreferred
C- nearest
D- primaryPreferred

Answer:
C

Question 2
Question Type: MultipleChoice

Which operations add new documents to a collection?

Options:
A- Create
B- update
C- insert
D- delete

Answer:
A, C

Question 3
Question Type: MultipleChoice

A collection and a document in MongoDB is equivalent to which of the SQL concepts respectively?
Sample Questions for MongoDB C100DBA Exam By Craig - Page 3

Options:
A- Column and Row
B- Table and Row
C- Database and Table
D- Table and Column

Answer:
B

Question 4
Question Type: MultipleChoice

The MongoDB explain() method does not support which of the following verbosity mode:

Options:
A- executionStats
B- queryPlanner
C- customExecutionStats
D- allPlansExecution

Answer:
C

Question 5
Question Type: MultipleChoice

Consider the following example document:

"_id": Objectld("5360c0a0a655a60674680bbe"),

"user"

"login": "irOn"

"description": "Made of steel"


Sample Questions for MongoDB C100DBA Exam By Craig - Page 4

"date": ISODate("2014-04-30T09:16:45.836Z"),

>

and index creation command:

db.users.createlndex( { "user.login": 1, "user.date": -1 }, "mylndex" )

When performing the following query:

db.users.find( { "user.login": /Air.*/ },

{ "user":1, "_id":0 > ).sort( { "user.date":1 > )

which of the following statements correctly describe how MongoDB will handle the query? Check
all that apply.

Options:
A- As an optimized sort query (scanAndOrder = false) using 'mylndex' because we are sorting on
an indexed field
B- As an indexed query using 'mylndex' because field 'user.login' is indexed
C- MongoDB will need to do a table/collection scan to find matching documents
D- None of the above
E- As a covered query using 'mylndex' because we are filtering out '_id' and only returning
'user.login'

Answer:
B

Question 6
Question Type: MultipleChoice

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?

Options:
A- missing operations will need to be manually re-performed
Sample Questions for MongoDB C100DBA Exam By Craig - Page 5

B- the secondary with the most current oplog will be elected primary
C- reads will be stale until the primary comes back up
D- the primary may roll back the operations once it recovers
E- the most current secondary will roll back the operations following the election

Answer:
B
Sample Questions for MongoDB C100DBA Exam By Craig - Page 6

To Get Premium Files for C100DBA Visit


https://www.p2pexams.com/products/c100dba

For More Free Questions Visit


https://www.p2pexams.com/mongodb/pdf/c100dba

You might also like