Difficulty: 5/10index selection, covered queries, performance optimizationIt would be beneficial to create an index on the field being used for filtering.Scenario Questions0-2 years experience1You need to retrieve only the 'email' field from a users collection where 'status' is 'active'. Which field would you index to make this query fast, and why?2If you create an index on the 'email' field but never filter by it, what impact does that have on query performance?2-5 years experience1We have a reporting feature that filters orders by 'orderDate' and returns only 'orderId' and 'total'. The current query is slow. Walk me through how you'd decide which fields to index and any trade‑offs.Follow-up QuestionsWhat metrics would you check to verify the index is being used?Can you describe how a covered query works in MongoDB?How does index cardinality influence your choice of filter vs projection fields?Suggest Improvement