C100DEV Drivers, Tools, Transactions, and Search Practice Question
A developer wants to query MongoDB Atlas Search for documents where the 'description' field contains the phrase 'wireless headphones'. Which Atlas Search operator should be used to achieve this?
⚠ Common exam trap
Many candidates confuse the text operator with the phrase operator, assuming that text search automatically respects phrase order.
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
✓
The phrase operator.
To search for an exact phrase in Atlas Search, the phrase operator is the correct choice. It ensures that the terms appear in the specified order and adjacent to each other. Other operators like text, wildcard, or compound serve different purposes and would not guarantee phrase matching.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The compound operator.
Why it's wrong here
The compound operator combines multiple clauses (must, should, mustNot, filter) but does not by itself perform phrase matching. It can be used to combine a phrase operator with other conditions, but alone it does not search for a phrase. It is a logical operator, not a text-matching operator.
- ✗
The wildcard operator.
Why it's wrong here
The wildcard operator allows for pattern matching with wildcards, such as 'wire*', but it is not designed for phrase searches. It is useful for partial word matches but does not enforce order or adjacency of terms. Using it for a phrase would be inefficient and inaccurate.
- ✓
The phrase operator.
Why this is correct
The phrase operator is designed to search for a sequence of terms in a specific order. It is ideal for exact phrase matching, such as 'wireless headphones'. It analyzes the field and matches documents where the terms appear consecutively. This operator is part of the Atlas Search aggregation stage.
- ✗
The text operator.
Why it's wrong here
The text operator performs a full-text search but does not guarantee phrase order. It tokenizes the query and matches any document containing any of the terms, which could return documents with 'wireless' or 'headphones' separately. For an exact phrase, the phrase operator is more appropriate.
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.