DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
Databases Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
hard
Databases
If you have a compound index on `{ companyId: 1, age: 1 }`, which of the following queries will NOT be able to utilize this index?
A
db.users.find({ companyId: 'google', age: 30 })
B
db.users.find({ companyId: 'apple' })
C
db.users.find({ age: 25 })
D
Both B and C
Check Answer