In "albums" collection, identify the option that retrieves the details of the albums having likes greater than 150 but less than 400 [exclusive of 150 and 400]

db.albums.find( 

{ likes : { $gte : 150 }, likes : { $lte : 400 } } 

)

db.albums.find(  

likes : { $gt : 150 , $lt : 400 }  

)

db.albums.find( 

{ likes : { $gt : 150 }, likes : { $lt : 400 } } 

)

db.albums.find( 

{ likes : { $gt : 150 , $lt : 400 } } 

)

Verified Answer
Correct Option - d

To get all Infosys Certified Mongo Developer Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee

Telegram