JUnit interview questions part 10

JUnit interview questions part 10

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

Total Questions: 20

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

Correct Answer is : Runner

2. Secondary members replicate _________ operations from the primary.

Correct Answer is : org.junit.runner.Result

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

Correct Answer is : org.junit.runner.notification.RunListener

4. Which field does not support TTL indexes ?

Correct Answer is : All the test cases ran succesfully

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

Correct Answer is : java org.junit.runner.JUnitCore TestClass

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

Correct Answer is : int denoting the number of tests run

7. With the WiredTiger storage engine, use of _______ is strongly recommended to avoid performance issues

Correct Answer is : Description of the failed test and the exception thrown while running it

8. MongoDB requires a filesystem that supports ______ on directories.

Correct Answer is : Polymorphism

9. MongoDB Cloud Manager provides integration with Amazon Web Services (AWS) and lets you deploy new ______ instances directly from MongoDB Cloud Manager.

Correct Answer is : Test Driven Development

10. WiredTiger can compress collection data using either snappy or zlib compression library.

Correct Answer is : Application programming interface

11. Which of the following is especially important in Sharded Clusters ?

Correct Answer is : Test

12. The TCP keepalive on the Azure load balancer is ______ seconds by default.

Correct Answer is : Maintainable

13. On Linux, use the ______ command to check if disk I/O is a bottleneck for your database.

Correct Answer is : Integration platform

14. _____ is a command-line tool for monitoring network use.

Correct Answer is : Pre-production platform

15. Which of the following relationship uses references to describe documents between connected data ?

Correct Answer is : Logic

16. If the address data is frequently retrieved with the name information,how will you modify the following schema representing one to one relationship with referencing ? { _id: "joe", name: "Joe Bookreader" } { patron_id: "joe", street: "123 Fake Street", city: "Faketon", state: "MA", zip: "12345" }

Correct Answer is : Stress test platform

17. Which of the following is used to avoid repetition of data in MongoDB schema ?

Correct Answer is : Acceptance platform

18. What would be the more optimal schema to embed the address data entities in the patron data for following schema representing one to many relationship ? { _id: "joe", name: "Joe Bookreader" } { patron_id: "joe", street: "123 Fake Street", city: "Faketon", state: "MA", zip: "12345" } { patron_id: "joe", street: "1 Some Other Street", city: "Boston", state: "MA", zip: "12345" }

Correct Answer is : Running

19. How will avoid mutable, growing arrays in the following schema ? { name: "O'Reilly Media", founded: 1980, location: "CA", books: [12346789, 234567890, ...] } { _id: 123456789, title: "MongoDB: The Definitive Guide", author: [ "Kristina Chodorow", "Mike Dirolf" ], published_date: ISODate("2010-09-24"), pages: 216, language: "English" } { _id: 234567890, title: "50 Tips and Tricks for MongoDB Developer", author: "Kristina Chodorow", published_date: ISODate("2011-05-06"), pages: 68, language: "English" }

Correct Answer is : org.apache.tools.ant.property

20. __________ define what records to select for read, update, and delete operations.

Correct Answer is : GetProperty

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon