Courseiva

C100DBA · topic practice

Application Administration practice questions

Application Administration on C100DBA covers how client applications connect to and behave against MongoDB deployments: connection string options, read and write concern, connection pool sizing, and schema patterns that keep documents and indexes healthy under heavy update load. Questions are scenario-based, asking you to pick the option that best preserves consistency, performance, and stability.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Editorial oversight:Johnson Ajibi· MSc IT Security, IEEE Senior Member
20 questionsDomain: Application Administration

What the exam tests

What to know about Application Administration

Be able to read a connection string and choose readPreference, readConcern, writeConcern, and pool sizes that match the application's consistency and load needs. The single most important thing: pick the weakest concern that still satisfies the requirement, and keep documents from growing on update.

Read preference and readConcern settings in the MongoDB connection string for consistent reads

Connection pool sizing via maxPoolSize and minPoolSize in the driver URI

Write concern and update operators that limit document growth and fragmentation

Sharded cluster components: mongos routers, config servers, and shard key choice

Watch out for

Common Application Administration exam traps

  • ▸Choosing readConcern majority or linearizable everywhere, ignoring the latency cost when the application only needs local reads.
  • ▸Setting maxPoolSize far above what the server can handle, causing connection storms instead of reusing pooled connections.
  • ▸Assuming updates never move documents, when growing documents can force relocation and fragment data files.

Practice set

Application Administration questions

20 questions · select your answer, then reveal the explanation

An application is experiencing high latency during bulk inserts. The DBA notices that the application uses a default write concern and acknowledges every write before proceeding. Which strategy should be implemented to improve write throughput while ensuring data safety?

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?

Refer to the exhibit. The query is performing a collection scan despite having an index on the 'status' field. What is the most likely reason for this performance issue?

Exhibit

db.collection.find({status: 'active'}).sort({created: -1}).explain('executionStats')

Which THREE actions should an administrator perform to prepare an application for a seamless transition from a standalone instance to a replica set?

An application is using a compound index on {region: 1, date: -1}. A query filters by 'region' and sorts by 'date'. If the index is not used, what is the most likely cause?

What is the recommended way to handle a 'WiredTiger' cache pressure situation in a production environment?

An application reports that a specific query is occasionally slow. The DBA finds that the query sometimes performs an index scan and other times a collection scan. What is the most likely reason?

An application intermittently fails with 'ExceededTimeLimit' errors during complex aggregation pipelines. Which approach best resolves this issue while maintaining performance?

An application is experiencing latency during bulk write operations. Which TWO of the following adjustments effectively improve performance?

Which THREE actions should be taken when migrating an application to use MongoDB sharding?

Refer to the exhibit. Why is the hint provided in this query beneficial?

Exhibit

{
  "query": { "status": "active" },
  "sort": { "created": 1 },
  "hint": { "status": 1, "created": 1 }
}

An application team reports that their queries against a large collection are timing out after 30 seconds. The database administrator needs to investigate and adjust the timeout setting for the active client sessions without restarting the mongod instances or interrupting current workload processing. Which method should the administrator use to implement this change?

A financial application requires that reads never see uncommitted or rolled-back data, and that once a write is acknowledged, all subsequent reads on the same session see that write. The replica set has three voting members and one analytics secondary. Which read concern should the application use?

A development team is building an application that uses MongoDB transactions. They need to ensure that their transactions are retried automatically on transient errors and that they can read their own writes within the same transaction. Which TWO practices should they implement? (Choose two.)

An application uses a MongoDB connection string with readPreference=secondaryPreferred and readConcern=majority. The application performs reads during a period when the primary is overloaded and secondaries are lagging by 10 seconds. What behavior should the application expect?

An application uses a MongoDB deployment with a replica set and occasionally performs write operations that include a unique index constraint. The application team reports that during a network partition, some write operations fail with duplicate key errors even though the data does not actually duplicate existing documents. Which write concern setting could be causing this behavior?

A database administrator is configuring a MongoDB replica set for a new application that requires high availability and the ability to perform reads from secondary nodes to reduce load on the primary. The application must also ensure that reads from secondaries do not return data that could be rolled back. Which two read preference and read concern combinations should be used? (Choose two.)

A MongoDB application uses a replica set and requires that reads never return data that has not been acknowledged by a majority of replica set members. The application also needs to minimize read latency by reading from secondaries when possible. Which two read concern and read preference combinations satisfy these requirements? (Choose two.)

An application needs to update a user's balance. Which method ensures the operation is atomic for a single document?

Refer to the exhibit. An aggregation pipeline is failing with an error. How can you modify the pipeline to allow it to process the large dataset?

Exhibit

{ "code": 50, "errmsg": "Exceeded memory limit for $group, but didn't allow external sort.", "ok": 0 }

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused Application Administration sessions

Start a Application Administration only practice session

Every question in these sessions is drawn from the Application Administration domain — nothing else.

Related practice questions

Related C100DBA topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the C100DBA exam test about Application Administration?
Be able to read a connection string and choose readPreference, readConcern, writeConcern, and pool sizes that match the application's consistency and load needs. The single most important thing: pick the weakest concern that still satisfies the requirement, and keep documents from growing on update.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just Application Administration questions in a focused session?
Yes — the session launcher on this page draws every question from the Application Administration domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other C100DBA topics?
Use the topic links above to move to related areas, or go back to the C100DBA question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the C100DBA exam covers. They are not copied from any real exam or dump site.