Chapter Quiz: MongoDB Indexing & Query Optimization

Mastery Assessment: Indexing Foundations

Complete this assessment with 100% score to master this chapter.

01According to the ESR rule for compound indexes, in what order should fields be placed?

02What defines a 'Covered Query' in MongoDB?

03In a B-Tree index, what is the 'RecordId' stored in the leaf nodes?

04Why would an index on { a: 1, b: 1 } be ineffective for a query like .find({ b: 5 })?