MongoDB interview questions part 10

MongoDB interview questions part 10

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

Total Questions: 20

1. A query may include a ___________ that specifies the fields from the matching documents to return.

Correct Answer is : projection

2. Point out the correct statement :

Correct Answer is : MongoDB has full support for secondary indexes

3. MongoDB stores all documents in :

Correct Answer is : collections

4. In MongoDB, _________ operations modify the data of a single collection.

Correct Answer is : CRUD

5. Point out the wrong statement :

Correct Answer is : Indexes cannot enforce uniqueness in collection

6. Which of the following operation adds a new document to the users collection ?

Correct Answer is : insert

7. Which of the following preference determines how the client direct read operations to the set ?

Correct Answer is : read

8. Applications can also control the behavior of write operations using _______ concern.

Correct Answer is : write

9. MongoDB process collection of documents using _________ operations.

Correct Answer is : Map-reduce

10. Which of the following pipeline is used for aggregation in MongoDB ?

Correct Answer is : data processing

11. Which of the following collection do not support the TTL property ?

Correct Answer is : Compound indexes

12. Point out the correct statement :

Correct Answer is : All of the mentioned

13. If the indexed field in a document is not a _____ or an array that holds a date value(s), the document will not expire.

Correct Answer is : DATE

14. When the TTL thread is active, you will see _______ operations in the output of db.currentOp().

Correct Answer is : delete

15. Point out the correct statement :

Correct Answer is : TTL indexes expire documents after the specified number of seconds has passed since the indexed field value

16. Secondary members replicate _________ operations from the primary.

Correct Answer is : None of the mentioned

17. A collection with a TTL index has __________ enabled.

Correct Answer is : usePowerOf2Sizes

18. Which field does not support TTL indexes ?

Correct Answer is : _id

19. You cannot use _________ to change the value of expireAfterSeconds of an existing index.

Correct Answer is : createIndex()

20. You cannot create a TTL index on a ________ collection

Correct Answer is : Capped

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon