Try 12 MongoDB Associate Database Administrator sample questions on replica sets, sharding, backups, restores, indexes, monitoring, security, and operational troubleshooting.
MongoDB Associate Database Administrator is an operations route for candidates who manage replica sets, sharding, backups, restores, indexes, monitoring, security, and database troubleshooting.
Use this page to preview the kind of administration decisions a MongoDB DBA practice route should test. The questions below are original IT Mastery sample questions, not official MongoDB exam questions.
Topic: replica sets
What is the main purpose of a replica set?
Best answer: C
Explanation: Replica sets maintain copies of data across members and can elect a new primary if the current primary becomes unavailable. They support availability, not automatic query optimization.
Topic: replication lag
Secondaries are falling behind the primary. What should be reviewed?
Best answer: A
Explanation: Replication lag can come from resource limits, network delays, heavy writes, slow operations, or oplog pressure. Administrators should look at evidence across the replica set.
Topic: sharding
Why is shard-key choice important?
Best answer: D
Explanation: A shard key drives how data is distributed and routed. Poor shard-key choice can create hot shards, scatter-gather queries, or scaling limits.
Topic: backup and restore
Which statement best describes backup readiness?
Best answer: B
Explanation: Backup readiness includes both having backups and proving that restore works within recovery objectives. Recovery is an operational process, not just a checkbox.
Topic: index maintenance
Why should administrators monitor index usage?
Best answer: C
Explanation: Indexes are a tradeoff. They improve selected reads but cost storage and write maintenance. DBAs should review query needs and index usage evidence.
Topic: access control
Which practice supports secure database administration?
Best answer: A
Explanation: Administrative access should be controlled and auditable. Shared broad credentials increase risk and weaken accountability.
Topic: slow operations
A slow-operation log points to a query scanning many documents. What should the DBA check?
Best answer: D
Explanation: Slow scans often relate to missing or mismatched indexes, broad filters, sort requirements, or data distribution. The DBA should review the query plan and workload context.
Topic: elections
What can happen if the primary in a replica set becomes unavailable?
Best answer: B
Explanation: Replica set elections support high availability. Election success depends on member health, votes, priority, and quorum.
Topic: storage
Disk usage rises quickly after new indexes are added. What is the likely reason?
Best answer: C
Explanation: Indexes require storage. Adding multiple or broad indexes on large collections can materially increase disk usage.
Topic: monitoring
Which metrics are useful for DBA health review?
Best answer: A
Explanation: Database health spans workload, resources, replication, and storage. Monitoring should provide enough evidence for trend review and incident response.
Topic: restore scope
Why should restore scope be understood before starting a recovery?
Best answer: D
Explanation: Recovery actions can overwrite or expose data depending on scope and timing. Administrators should understand impact before restoring.
Topic: escalation
A query is slow after a new feature release, but database resources are normal. What should the DBA do?
Best answer: B
Explanation: Slow queries after a release may be caused by query shape, data model, code paths, or index mismatch. The DBA should provide evidence and work with the owning team.
| If you miss… | Drill this next |
|---|---|
| availability questions | replica sets, elections, replication lag, and quorum |
| scaling questions | shard keys, distribution, query targeting, and hot shards |
| operations questions | backup, restore, indexes, monitoring, access control, and slow-operation evidence |
Use this page to preview question style and confirm the route. If you want MongoDB Associate Database Administrator practice updates, use the Notify me form above.