#12Multiple Choice
Given a sample collection called collection where all documents have the following shape:
{
_id:1,
a:2,
b:[1,2,3]
}
Which two indexes will improve the performance of db.collection.find({b:2})? (Choose two.)
Given a sample collection called collection where all documents have the following shape:
{
_id:1,
a:2,
b:[1,2,3]
}
Which two indexes will improve the performance of db.collection.find({b:2})? (Choose two.)