C100DEV Data Modeling Practice Question
A social media platform stores each user's 'followers' as an array of ObjectIds inside the user document. Analytics shows that a small number of celebrity accounts have millions of followers, and these documents are approaching the 16MB BSON limit. Which schema pattern should a MongoDB developer apply to resolve this issue?
⚠ Common exam trap
The trap here is assuming any large array must be subsetted, when the schema only breaks for a small number of outlier documents.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Apply the Outlier Pattern by adding an overflow flag and moving the followers array into a separate collection only for users that exceed a threshold.
The Outlier Pattern is the correct design when a minority of documents drastically exceed the typical size of the rest. By marking outlier documents and relocating their oversized arrays to a separate collection, developers preserve the simple embedded model for the common case while still supporting celebrity-scale data. Neither subsetting recent entries nor time-bucketing events addresses the real requirement of storing a complete, queryable follower list for every user.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Apply the Bucket Pattern by grouping follower ObjectIds into fixed-size buckets of 1000 per document in a separate collection.
Why it's wrong here
The Bucket Pattern is intended for time-series or high-volume event data where grouping measurements by time window reduces document count and index size. Followers are not time-bucketed measurements; applying this pattern would force awkward pagination logic and would not solve the underlying problem of a single array exceeding 16MB in the outlier documents, since the original user document would still hold the embedded list.
- ✓
Apply the Outlier Pattern by adding an overflow flag and moving the followers array into a separate collection only for users that exceed a threshold.
Why this is correct
The Outlier Pattern handles exactly this case: most documents fit comfortably in the common shape, but a few outlier documents would exceed limits. By flagging outliers (for example with a 'has_extra' boolean) and storing the overflow in a companion collection, the schema stays efficient for the majority while celebrities are handled correctly without redesigning the whole model.
- ✗
Apply the Extended Reference Pattern by duplicating the ten most important follower documents into the user document.
Why it's wrong here
The Extended Reference Pattern copies a small set of frequently needed fields from a referenced document to avoid extra lookups, which is useful for product or order summaries. Duplicating follower profile data into each user document does not resolve the 16MB overflow for celebrities and would introduce stale duplicated data that must be kept in sync, adding write overhead without fixing the size problem.
- ✗
Apply the Subset Pattern by storing only the 100 most recent followers in the user document and the full list in a separate collection.
Why it's wrong here
The Subset Pattern is designed for cases where a small, frequently accessed subset of a large array (such as the 10 most recent reviews) can satisfy the majority of reads while the full set lives elsewhere. For followers, applications typically need to paginate through the entire list or check membership for any given user, so truncating to a recent subset would break follower lookups and give misleading counts.
Visual reference
About these practice questions
Courseiva writes every C100DEV question from scratch — 259 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official MongoDB exam blueprint
This C100DEV practice question is part of Courseiva's free MongoDB certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the C100DEV exam.