Courseiva
← Back to MongoDB Certified DBA Associate questions

Scenario-based practice

Hard Difficulty Questions

Practise MongoDB Certified DBA Associate practice questions — original exam-style scenarios covering every exam domain, with detailed explanations, wrong-answer analysis, and common exam traps.

20
scenario questions
C100DBA
exam code
MongoDB
vendor

Scenario guide

How to approach hard difficulty questions

These are the questions most candidates get wrong. They require connecting multiple concepts, reading tricky output, or knowing edge-case behaviour that isn't on most study cards. Practising them trains you to operate under uncertainty — a necessary skill on the real exam.

Quick answer

Hard Difficulty Questions questions test whether you can apply the concept in context, not just recognise a definition.

How the topic appears in realistic exam-style scenarios.

Which detail in the question changes the correct answer.

How to eliminate plausible but wrong options.

How to connect the question back to the wider exam objective.

Related practice questions

Related C100DBA topic practice pages

Scenario questions usually connect to one or more exam topics. Use these links to review the underlying concepts behind the scenario.

Practice set

Practice scenarios

Question 1hardmultiple choice
Full question →

Why does MongoDB choose the BSON format over JSON for storage?

Question 2hardmulti select
Full question →

Which THREE of the following are core tenets of the MongoDB philosophy regarding data modeling?

Question 3hardmultiple choice
Full question →

Refer to the exhibit. What will be the result of this query?

Exhibit

db.users.find({ status: 'active' }, { name: 1, _id: 0 })
Question 4hardmulti select
Full question →

A high-throughput collection in a MongoDB cluster experiences degraded write performance due to a heavily fragmented compound index. Which TWO administrative actions safely resolve index fragmentation without downtime? (Choose TWO)

Question 5hardmulti select
Full question →

Which THREE of the following are valid ways to modify an array field in a document?

Question 6hardmultiple choice
Full question →

Refer to the exhibit. A query filters on field 'a'. Which index will the optimizer choose?

Exhibit

db.collection.getIndexes() 
[ { 'v': 2, 'key': { 'a': 1, 'b': 1 } }, { 'v': 2, 'key': { 'a': 1 } } ]
Question 7hardmultiple choice
Full question →

Which THREE operations would require a write lock on the entire collection in older MongoDB versions (pre-WiredTiger) or affect performance significantly?

Question 8hardmultiple choice
Full question →

Refer to the exhibit. The MongoDB process has crashed due to a storage engine error. What is the most immediate administrative action required to restore service?

Exhibit

2023-10-27T10:00:00.000Z I STORAGE [conn12] WiredTiger (28) No space left on device
2023-10-27T10:00:01.000Z F STORAGE [conn12] Failed to write record to storage engine
Question 9hardmulti select
Full question →

Which THREE of the following actions are standard steps when decommissioning a MongoDB node from a replica set?

Question 10hardmultiple choice
Full question →

What happens when a $sort operation cannot be satisfied by an index?

Question 11hardmultiple choice
Full question →

What is the effect of setting 'writeConcern' to '{ w: "majority" }' on an application's write operations?

Question 12hardmultiple choice
Full question →

Refer to the exhibit. Why might this geospatial query be underperforming?

Exhibit

db.collection.createIndex({location: "2dsphere"})
db.collection.find({location: { $near: { $geometry: { type: "Point", coordinates: [...] }, $maxDistance: 1000 } }})
Question 13hardmulti select
Full question →

A developer is optimizing queries for an e-commerce application. Which TWO of the following strategies are best for reducing the impact of large result sets on the application server memory?

Question 14hardmultiple choice
Full question →

Refer to the exhibit. If node 0 (the current primary) goes offline, which node will be elected as the new primary?

Exhibit

rs.conf() output:
{ "_id": "mySet", "members": [
  { "_id": 0, "host": "n0:27017", "priority": 2 },
  { "_id": 1, "host": "n1:27017", "priority": 1 },
  { "_id": 2, "host": "n2:27017", "priority": 0 }
] }
Question 15hardmulti select
Full question →

Which TWO actions should a database administrator perform before executing the shardCollection command on an existing populated MongoDB collection? Choose 2 answers.

Question 16hardmulti select
Full question →

Which THREE statements are true regarding the behavior and mechanics of the MongoDB cluster balancer? Choose 3 answers.

Question 17hardmulti select
Full question →

Which TWO of the following are essential for maintaining performance in a sharded cluster?

Question 18hardmultiple choice
Full question →

Which capability of MongoDB's document model most significantly distinguishes it from key-value stores?

Question 19hardmultiple choice
Full question →

Refer to the exhibit. An administrator attempts to execute the shardCollection command but receives the displayed error message. What is the root cause of this failure?

Exhibit

{ "ok" : 0, "errmsg" : "a sharded collection must have an index starting with the shard key", "code" : 85, "codeName" : "ShardKeyNotFound"levant }
Question 20hardmultiple choice
Full question →

A sharded cluster experiences poor query performance because a targeted query targeting a specific shard key still results in a scatter-gather operation across all shards. What is the root cause?

These C100DBA practice questions are part of Courseiva's free MongoDB certification practice question bank. Courseiva provides original exam-style C100DBA questions with detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics.