MongoDB Security and Administration Flashcards
6 cards from real MongoDB practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.
Read the first 6 MongoDB Security and Administration flashcards as text
What is the purpose of MongoDB's field-level encryption (FLE)?
Answer: Encrypting specific sensitive fields within documents while leaving others readable
Field-level encryption (FLE) encrypts individual document fields client-side before storing, so even database administrators cannot read the sensitive plaintext values.
What does db.killOp() do in MongoDB?
Answer: Terminates a specific running operation by its operation ID
db.killOp(opId) terminates the specified in-progress operation, useful for stopping long-running queries or stuck operations.
What is the Profiler in MongoDB used for?
Answer: Capturing slow query information for performance analysis
MongoDB's database profiler collects detailed information about operations exceeding a specified threshold, storing results in the system.profile collection.
Which MongoDB command shows database storage statistics including size and index sizes?
Answer: db.stats()
db.stats() returns statistics including the database name, number of collections, total data size, storage size, and index sizes.
What is the purpose of the --oplogSize parameter when starting mongod?
Answer: Sets the maximum size of the oplog capped collection in megabytes
--oplogSize specifies the maximum size of the oplog in MB; a larger oplog allows secondaries more time to catch up before falling out of sync.
What does the mongotop tool monitor in MongoDB?
Answer: Time spent reading and writing data per collection
mongotop tracks how much time a MongoDB instance spends reading and writing data for each collection, reporting statistics at regular intervals.
How this page was made: written with AI tools and published by Nathan Beja, founder of Practice Test Geeks, who is responsible for its content. Exam facts are checked against the official sources listed below. Not reviewed by a subject-matter expert. Editorial policy
Sources & references
Exam facts on this page (fees, format, dates, passing scores) are checked against these official sources; the date is our last check. Editorial policy
- 10geneducation.zendesk.com — Test dates, score release, passing score, test delivery, retake policy · verified Oct 2026
- learn.mongodb.com — Eligibility, fees, exam format, time limit · verified Oct 2026