JUnit interview questions part 11

JUnit interview questions part 11

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

Total Questions: 20

1. The ___________ JavaScript shell and the MongoDB language drivers translate between BSON and the language-specific document representation.

Correct Answer is : LocalProperties

2. Which of the following statement is incorrect about documents in MongoDB ?

Correct Answer is : ResolvePropertyMap

3. ___________ data models allow applications to store related pieces of information in the same database record.

Correct Answer is : ParseProperties

4. Embedded data model is used when you have _________ relationships between entities

Correct Answer is : NullReturn

5. Normalized data models describe relationships using ___________ between documents.

Correct Answer is : EnableAttribute

6. To interact with embedded documents, use ___________ notation to “reach into” embedded documents.

Correct Answer is : AttributeNamespace

7. MongoDB using the mmapv1 storage engine has limits on the number of __________ .

Correct Answer is : BaseIfAttribute

8. To get the current number of namespaces in the mongo shell, use :

Correct Answer is : org.jmock.lib.legacy

9. The __________ feature of collections expires documents after a period of time.

Correct Answer is : ClassImposteriser

10. Capped collections provide __________ management of inserted documents in MongoDB.

Correct Answer is : canImposterise(Class type)

11. _______________ is a specification for storing and retrieving files that exceed the BSON-document size limit of 16MB.

Correct Answer is : imposterise(Invokable mockObject, Class mockedType, Class… ancilliaryTypes)

12. How many does collections GridFS use to store files ?

Correct Answer is : FALSE

13. The default chunk size is changed from 256k to 255k in version :

Correct Answer is : TRUE

14. Which of the collection in GridFS stores the binary chunks ?

Correct Answer is : org.jmock.lib.script

15. ___________ is the _id is of the data type chosen for the original document in files collections.

Correct Answer is : ScriptedAction

16. Which of the following checks and repairs errors and inconsistencies in data storage ?

Correct Answer is : invoke(Invocation invocation)

17. The files_id field contains the _id of the chunk’s __________ document.

Correct Answer is : Throwable

18. Which of the following field allows efficient retrieval of chunks ?

Correct Answer is : AssertionErrorTranslator

19. ________ store the relationships between data by including links or references from one document to another.

Correct Answer is : CamelCaseNamingScheme

20. In MongoDB, write operations are atomic at the __________ level.

Correct Answer is : IdentityExpectationErrorTranslator

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon