✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
You store product reviews in a document database. Each review includes `user_id`, `product_id`, `rating`, and `comment`. You frequently query by `product_id` and sort by `rating`.Which design choices improve query performance?