JUnit interview questions part 17

JUnit interview questions part 17

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

Total Questions: 20

1. ___________ indexes use spherical geometry to return results.

Correct Answer is : Throwable

2. MongoDB provides a ________ index type that supports searching for string content in a collection.

Correct Answer is : CustomAction

3. _____ indexes uses planar geometry when returning results.

Correct Answer is : DoAllAction

4. __________ query calculates distances using flat (planar) geometry.

Correct Answer is : ReturnEnumerationAction

5. _________ defines a circle for a geospatial query that uses spherical geometry.

Correct Answer is : ReturnIteratorAction

6. When used with the $box operator, _________ returns documents based on grid coordinates and does not query for GeoJSON shapes.

Correct Answer is : FALSE

7. Applications can use _________ without having a geospatial index.

Correct Answer is : Unit testing

8. __________ method provides a wrapper around the totalIndexSize output of the collStats (i.e. db.collection.stats()) operation.

Correct Answer is : Keep it simple, stupid

9. _________ specifies a polygon for a geospatial $geoWithin query on legacy coordinate pairs.

Correct Answer is : DRY

10. Only the ______ geospatial index supports the $polygon operator

Correct Answer is : Don’t repeat yourself

11. ________ returns a document only once for a geospatial query even if the document matches the query multiple times.

Correct Answer is : WET

12. _________ operations that use an index often have better performance than those that do not use an index.

Correct Answer is : Preventive

13. A prefix of a _______ index is a subset that consists of one or more keys at the start of the index key pattern.

Correct Answer is : Reactive

14. Sort operations that do not use an index will abort when they use _______ megabytes of memory.

Correct Answer is : Defines when a test level is completed

15. An index can support sort operations on a non-prefix subset of the index key pattern using _________ condition.

Correct Answer is : adverse

16. To avoid creating an index with a name that exceeds the index name length limit, you can pass the _____ option to the db.collection.createIndex() method.

Correct Answer is : Decision Table Testing

17. Indexes do not have to fit entirely into ______ in all cases.

Correct Answer is : Weak mutation testing

18. ________ is the ability of a query to narrow results using the index.

Correct Answer is : Code Coverage

19. What is the interactive shell for MongoDB called ?

Correct Answer is : Code Coverage

20. Administrative information in MongoDB can also be accessed through :

Correct Answer is : Coverage Criteria

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon