What does the following query do when performed on the poems collection?

db.poems.update( {_id:1} , {Title:"Where The Mind Is Without Fear"} )

Replaces the complete document with _id as 1, with the document specified in second parameter
Syntax error
Updating a document is possible only with $set parameter
Updates the Title field of the poems collection
Verified Answer
Correct Option - a

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

Telegram