Question DB-NOSQL-0068
HardA product catalogue in MongoDB needs fast lookups by category and price range. Which index helps most?
- A.
A compound index on (category, price)
- B.
An index on _id only
- C.
Sign up free to see the answer and a step-by-step explanation.