Exam style questions across every C100DBA domain
Last Update 2 days ago
Total Questions : 172
Start with our free C100DBA practice questions, carefully crafted to mirror the domains, phrasing, and difficulty of the real MongoDB Certified DBA Associate exam. Each C100DBA exam question comes with a detailed rationale that explains not just which answer is correct but why the others fall short. That's how concepts stick. Use the free set to benchmark yourself: identify your MongoDB weak domains, see where you're losing marks, and build a focused study plan in minutes.
A MongoDB database administrator needs to improve the performance of the following query:
db.employees.find(
{},
{ name: 1, department: 0, salary: 1 }
).sort({ department: 1, salary: -1 });
What index should the administrator use to achieve this goal?
You have the following index on the toys collection:
{
" manufacturer " : 1,
" name " : 1,
" date " : -1
}
Which of the following is able to use the index for the query? Check all that apply.
What command will successfully start the mongod daemon with all default settings as a background task?
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?
Consider the following document:
> db.c.find()
{ " _id " : 12, b : [ 3, 5, 7, 2, 1, -4, 3, 12 ] }
Which of the following queries on the " c " collection will return only the first five elements of the array in the " b "
field?
E.
g.,Document you want returned by your query:
{ " _id " : 12, " b " : [ 3, 5, 7, 2, 1 ] >
Which of the following does MongoDB use to provide High Availability and fault tolerance?
What command is used to grant a role " customRole1 " to an existing user called " user1 " ?
When should we consider representing a one-to-many relationship in an embedded collection instead of separate collection?
