Lab 4.1
![Image](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeFd-i49XdKBlM4MvHkx53lOf5F9_HZu_fU55yPY2qiT1I9oqjZyrl5mqoVleRarjH4V2AnuAFisawdHRu31pQFWpj-Kx-Sz0lj05bzuPjNPGHJASoSJMFWO6vQYPlcmXw7p92t1h4_6g/s640/L4.1.png)
In this lab you're going to use the equality, sort, range rule to determine which index best supports a given query. Given the following query: db.accounts.find( { accountBalance : { $gte : NumberDecimal(100000.00) }, city: "New York" } ) .sort( { lastName: 1, firstName: 1 } ) Which of the following indexes best supports this query with regards to the equality, sort, range rule. Choose the best answer. Answer: As per the equality, sort, range rule below is the best option: