MongoDB interview questions part 48

MongoDB interview questions part 48

Take as many assements as you can to improve your validate your skill rating

Total Questions: 20

1. Point out the wrong statement :

Correct Answer is : To allow for text search on all fields with string content, use the wildcard specifier ($$$) to index all fields that contain string content

2. Point out the wrong statement :

Correct Answer is : To allow for text search on all fields with string content, use the wildcard specifier ($$$) to index all fields that contain string content

3. The default language for the indexed data is ________

Correct Answer is : english

4. The default language for the indexed data is ________

Correct Answer is : english

5. If a collection contains documents or embedded documents that are in different languages, include a field named _______ in the documents.

Correct Answer is : lang

6. If a collection contains documents or embedded documents that are in different languages, include a field named _______ in the documents.

Correct Answer is : lang

7. Point out the correct statement :

Correct Answer is : The specified language in the document overrides the default language for the text index

8. Point out the correct statement :

Correct Answer is : The specified language in the document overrides the default language for the text index

9. To use a field with a name other than language, include the ________ option when creating the index.

Correct Answer is : language_override

10. To use a field with a name other than language, include the ________ option when creating the index.

Correct Answer is : language_override

11. The default name for the index consists of each indexed field name concatenated with _______

Correct Answer is : _text

12. The default name for the index consists of each indexed field name concatenated with _______

Correct Answer is : _text

13. To avoid creating an index with a name that exceeds the index name length limit, you can pass the _____ option to the db.collection.createIndex() method.

Correct Answer is : name

14. To avoid creating an index with a name that exceeds the index name length limit, you can pass the _____ option to the db.collection.createIndex() method.

Correct Answer is : name

15. The default weight is ____ for the indexed fields.

Correct Answer is : 1

16. The default weight is ____ for the indexed fields.

Correct Answer is : 1

17. For a ______ index, the weight of an indexed field denotes the significance of the field relative to the other indexed fields in terms of the score.

Correct Answer is : natural

18. For a ______ index, the weight of an indexed field denotes the significance of the field relative to the other indexed fields in terms of the score.

Correct Answer is : natural

19. _________ prevents the current member from seeking election as primary for a period of time.

Correct Answer is : replSetFreeze

20. Point out the wrong statement:

Correct Answer is : None of the mentioned

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon