MongoDB interview questions part 7

MongoDB interview questions part 7

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

Total Questions: 20

1. MongoDB can be used as a ____________, taking advantage of load balancing and data replication features over multiple machines for storing files.

Correct Answer is : AMS

2. MongoDB can be used as a ____________, taking advantage of load balancing and data replication features over multiple machines for storing files.

Correct Answer is : AMS

3. _____________ can be used for batch processing of data and aggregation operations.

Correct Answer is : MapReduce

4. _____________ can be used for batch processing of data and aggregation operations.

Correct Answer is : MapReduce

5. MongoDB supports fixed-size collections called ____________ collections.

Correct Answer is : capped

6. MongoDB supports fixed-size collections called ____________ collections.

Correct Answer is : capped

7. MongoDB uses a ____________ lock that allows concurrent read access to a database but exclusive write access to a single write operation.

Correct Answer is : readers-writer

8. MongoDB uses a ____________ lock that allows concurrent read access to a database but exclusive write access to a single write operation.

Correct Answer is : readers-writer

9. Which of the following sorting is not supported by MongoDB ?

Correct Answer is : collation

10. Which of the following sorting is not supported by MongoDB ?

Correct Answer is : collation

11. _________ is a binary serialization format used to store documents and make remote procedure calls in MongoDB.

Correct Answer is : BSON

12. Point out the correct statement :

Correct Answer is : ObjectIds are small, likely unique, fast to generate, and ordered

13. Which of the following data type is depreciated ?

Correct Answer is : Undefined

14. Each data type has a corresponding number that can be used with the _______ operator to query documents by BSON type.

Correct Answer is : $type

15. Point out the wrong statement :

Correct Answer is : BSON Date is a 32-bit integer that represents the number of milliseconds

16. MongoDB represents queries as ___________ objects.

Correct Answer is : BSON

17. There is _________ byte counter in BSON, starting with a random value

Correct Answer is : 3

18. In the mongo shell, you can access the creation time of the ObjectId, using the ______ method..

Correct Answer is : getTimestamp()

19. __________ returns the JavaScript representation in the form of a string literal

Correct Answer is : toString()

20. Which of the following query is used to generate a new ObjectId, use the ObjectId() constructor with no argument

Correct Answer is : x = ObjectId()

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon