To create an index for user_name field on user collection - which of the following is the correct syntax?

🎲 Try a Random Question  |  Total Questions in Quiz: 78  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
MongoDB Fundamentals Test — practice the complete quiz, review flashcards, or try a random question.


To create an index for user_name field on user collection - which of the following is the correct syntax?