MongoDB Interview Questions - 24 | Snaprecruit.com

MongoDB Interview Questions - 24 | Snaprecruit.com

MongoDB interview questions part 24

MongoDB interview questions part 24

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

Total Questions: 20

1. The ________ settings of replica set members affect the outcomes of elections for primary.

Correct Answer is : priority

2. Point out the correct statement:

Correct Answer is : The value of the member’s priority setting determines the member’s priority in elections

3. To modify priorities, you update the members _________ in the replica configuration object.

Correct Answer is : array

4. The _________ shell method can force the current primary to step down, which causes an election.

Correct Answer is : rs.reconfig()

5. Point out the wrong statement :

Correct Answer is : Before an election the primary opens all open client connections

6. If the oplog is shorter than the slaveDelay window, the _______ member cannot successfully replicate operations.

Correct Answer is : delayed

7. _________ members allow you to add additional members for read distribution beyond the maximum seven voting members.

Correct Answer is : Non-voting

8. Remove the secondary from the replica set by calling ___________ method.

Correct Answer is : rs.remove()

9. ______ returns basic help text for replica set functions.

Correct Answer is : rs.help()

10. __________ prints a report of the status of the replica set from the perspective of the secondaries.

Correct Answer is : rs.printSlaveReplicationInfo()

11. Which of the following pattern is best for static trees that do not change ?

Correct Answer is : None of the mentioned

12. Point out the correct statement :

Correct Answer is : $regex is used for regular expression pattern matches

13. Which of the following operations are atomic on document level ?

Correct Answer is : all of the mentioned

14. ___________ bulk indexes may be more efficient for some kinds of content and workloads in real time.

Correct Answer is : Asynchronous

15. Point out the correct statement :

Correct Answer is : An array with a large number of elements will incur greater indexing costs on insertion

16. ________ indexes can include any field whose value is a string or an array of string elements.

Correct Answer is : text

17. Which of the following is related to document that do not provide a way to weight results?

Correct Answer is : Ranking

18. Which of the following is related to document that provide support for synonym or related queries in the application layer ?

Correct Answer is : Synonyms

19. Which of the following is related to parsing of document for root ?

Correct Answer is : Stemming

20. To add structures to your document to support keyword-based queries add the keywords as ______ in the array.

Correct Answer is : strings

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon