Courseiva

C100DBA · topic practice

Server Administration practice questions

Server Administration on C100DBA covers running, monitoring, and recovering MongoDB deployments: replica set topology and elections, storage engine failures, node addition and sync, and configuration inspection. Questions are scenario-based, asking for the immediate or correct administrative action, the consequence of a given topology, or the command that reveals replica set state and member health.

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: Server Administration

What the exam tests

What to know about Server Administration

Be able to diagnose replica set health and act on failures: read rs.status() and rs.conf(), explain election and majority requirements, and know how a new member syncs before voting. The single most important thing is knowing when a replica set can and cannot elect a primary.

Restoring service after a storage engine crash, including mongod startup and recovery options

Replica set elections, voting members, arbiters, and how new members catch up before participating

Consequences of two-node replica sets without an arbiter, including loss of automatic failover

Using rs.status(), rs.conf(), and db.serverStatus() to inspect replica set and server state

Watch out for

Common Server Administration exam traps

  • ▸Assuming a two-node replica set without an arbiter can still elect a primary after one node fails; it cannot, since a majority is required.
  • ▸Believing a newly added member can vote immediately; it must complete initial sync and reach a healthy state first.
  • ▸Treating a storage engine crash as recoverable by simply restarting mongod without checking logs and repair or recovery options.

Practice set

Server Administration questions

20 questions · select your answer, then reveal the explanation

Refer to the exhibit. Based on the provided YAML configuration snippet, what will be the behavior of the mongod instance regarding memory allocation on a host with 16GB of total system RAM?

Exhibit

storage:
  dbPath: /var/lib/mongodb
  wiredTiger:
    engineConfig:
      cacheSizeGB: 2

A production environment requires point-in-time recovery for a 2TB database. Which TWO strategies are most appropriate for minimizing recovery time while ensuring data consistency?

When performing a rolling upgrade of a MongoDB replica set from version 5.0 to 6.0, which TWO steps are mandatory to ensure cluster stability and compatibility?

A database administrator notices that the WiredTiger cache is frequently reaching its maximum size, causing excessive eviction. Which configuration change is the most appropriate to manage memory pressure in a standalone node?

An administrator is planning a backup strategy for a replica set. Which TWO of the following methods allow for consistent backups without stopping the MongoDB service?

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

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

Which MongoDB process utility is specifically used to verify the integrity of the data files and the WiredTiger engine metadata?

An administrator needs to rotate the logs without stopping the MongoDB service. Which approach is the most effective?

A MongoDB replica set has three members: Primary, Secondary1, and Secondary2. Secondary1 is in a different data center with 50 ms latency. You notice that write concern 'majority' is taking longer than expected. Which factor is most likely causing the increased latency for majority writes?

You are managing a MongoDB replica set and need to perform maintenance on the primary node. You want to step down the primary gracefully to allow a secondary to take over. Which two commands or methods can you use to achieve this? (Choose two.)

A MongoDB DBA needs to restart a mongod process that was started with `--auth` and `--port 27017`, but the original configuration file is unavailable. The DBA must ensure the restarted instance uses the same storage engine (WiredTiger), listens on port 27017, and enforces authentication. Which command will correctly restart the mongod process?

You are the DBA for a MongoDB 6.0 replica set that runs on Linux servers with a three-member configuration: one primary and two secondaries. The application team reports that a nightly batch job occasionally fails with a 'not primary' error during an automatic failover. You want to reduce the time that clients experience write errors during a primary election without changing the replica set topology. Which server administration action should you take?

A MongoDB 6.0 standalone server is used for development. The server has been running for several months without a restart. A DBA observes that the resident memory reported by the operating system is much higher than the WiredTiger cache size, and the server occasionally becomes unresponsive under load. The DBA wants to reduce memory pressure without changing the hardware. Which administrative action is most appropriate?

A MongoDB DBA is configuring a new replica set with three members. The DBA wants to ensure that the replica set can tolerate the failure of one member without losing the ability to elect a primary. Which configuration setting must be applied to the members to achieve this?

A DBA needs to add a new member to an existing replica set. The new member must be configured as a hidden member with a priority of 0 and a delay of 3600 seconds to serve as a delayed backup. Which sequence of commands should the DBA use?

A DBA is planning to upgrade a sharded cluster from MongoDB 4.4 to 5.0. The cluster has three shards, each a three-member replica set, and two config servers (also a replica set). The DBA must ensure a smooth upgrade with minimal downtime. Which two prerequisites must be met before starting the upgrade? (Choose two.)

A DBA is configuring a new MongoDB 6.0 replica set for a production environment. The security policy requires that all client connections use TLS/SSL and that the replica set members authenticate each other using x.509 certificates. The DBA has already obtained valid certificates for each server and the clients. Which TWO mongod configuration options are required to enable both TLS for client connections and internal x.509 authentication? (Choose two.)

A MongoDB DBA is investigating a replica set where the primary is experiencing high write latency. The DBA suspects that the write concern is causing delays. Which TWO of the following write concerns would require acknowledgment from a majority of voting members before returning success? (Choose two.)

A DBA needs to automate log rotation on a Linux-based MongoDB server without restarting the mongod process. Which signal or command should be used to ensure the current log file is archived and a new one is started?

Free account

Track your progress over time

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

Focused Server Administration sessions

Start a Server Administration only practice session

Every question in these sessions is drawn from the Server 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 Server Administration?
Be able to diagnose replica set health and act on failures: read rs.status() and rs.conf(), explain election and majority requirements, and know how a new member syncs before voting. The single most important thing is knowing when a replica set can and cannot elect a primary.
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 Server Administration questions in a focused session?
Yes — the session launcher on this page draws every question from the Server 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.