Indexing on MongoDB related Questions and Answers - Page 2

Question 11 : __________ method provides a wrapper around the totalIndexSize output of the collStats (i.e. db.collection.stats()) operation.
1. db.collection.totalallIndexSize()
2. db.collection.totalIndexSizeAll()
3. db.collection.totalIndexSize()
4. all of the mentioned
View Answer   Discuss with Members

Question 12 : An index can support sort operations on a non-prefix subset of the index key pattern using _________ condition.
1. predicate
2. selection
3. equality
4. none of the mentioned
View Answer   Discuss with Members

Question 13 : Sort operations that do not use an index will abort when they use _______ megabytes of memory.
1. 16
2. 32
3. 64
4. All of the mentioned
View Answer   Discuss with Members

Question 14 : A prefix of a _______ index is a subset that consists of one or more keys at the start of the index key pattern.
1. unique
2. primary
3. compound
4. none of the mentioned
View Answer   Discuss with Members

Question 15 : _________ operations that use an index often have better performance than those that do not use an index.
1. Select
2. Update
3. Delete
4. Sort
View Answer   Discuss with Members

Question 16 : 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.
1. unique
2. natural
3. text
4. all of the mentioned
View Answer   Discuss with Members

Question 17 : The default weight is ____ for the indexed fields.
1. 1
2. 2
3. 3
4. 4
View Answer   Discuss with Members

Question 18 : 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.
1. name
2. lang
3. number
4. all of the mentioned
View Answer   Discuss with Members

Question 19 : The default name for the index consists of each indexed field name concatenated with _______
1. _char
2. _textc
3. _text
4. All of the mentioned
View Answer   Discuss with Members

Question 20 : To use a field with a name other than language, include the ________ option when creating the index.
1. language_over
2. language_override
3. langoverride
4. none of the mentioned
View Answer   Discuss with Members


View 11 - 20 of 78 Questions

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter