JUnit Interview Questions - 9 | Snaprecruit.com
JUnit Interview Questions - 9 | Snaprecruit.com
JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing
Enterprises
JUnit interview questions part 9
JUnit interview questions part 9
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. If the collection is empty then MongoDB will create the index as part of the ________
A. Black Box Testing
B. Redundancy
C. White Box Testing
D. Loss Testing
Show Correct Answer
Correct Answer is :
White Box Testing
2. Changing the _______ option will change the port that mongod listens for incoming connections on.
A. Number of mutants killed
B. Number of mutants not killed
C. Total number of mutants
D. Total number of live mutants
Show Correct Answer
Correct Answer is :
Number of mutants killed
3. The _____________ collection holds documents for each tagged shard key range in the cluster.
A. Overlook
B. Ignore
C. Limit
D. Reach
Show Correct Answer
Correct Answer is :
Reach
4. Administrators can implement collection-level access control through user-defined :
A. Reach
B. Infect
C. Kill
D. Destroy
Show Correct Answer
Correct Answer is :
Infect
5. User can grant any role in the database to any user from any database in the system through _________ action.
A. Reach’
B. Infect
C. Propagate
D. Limit
Show Correct Answer
Correct Answer is :
Propagate
6. User can remove any role from any user from any database in the system through _________ .
A. RIP
B. KISS
C. RUN
D. GOD
Show Correct Answer
Correct Answer is :
RIP
7. _________ terminates an operation as specified by the operation ID.
A. Coupling effect
B. Competent programmer
C. Higher-order mutation
D. Equivalent mutation
Show Correct Answer
Correct Answer is :
Coupling effect
8. _________ deletes from a shard the orphaned documents whose shard key values fall into a single continuous range.
A. cobertura-report.bat
B. cobertura-instrument.bat
C. cobertura-check.bat
D. cobertura-merge.bat
Show Correct Answer
Correct Answer is :
cobertura-merge.bat
9. Which of the following flushes user information from in-memory cache ?
A. Dependencies
B. Redundancies
C. Objects
D. Classes
Show Correct Answer
Correct Answer is :
Dependencies
10. __________ displays the cached query plans for the specified query shape.
A. Classes
B. Objects
C. Modules
D. Functions
Show Correct Answer
Correct Answer is :
Objects
11. A query may include a ___________ that specifies the fields from the matching documents to return.
A. Law of knowledge
B. Class laws
C. Law of Demeter
D. Action methods
Show Correct Answer
Correct Answer is :
Law of Demeter
12. MongoDB stores all documents in :
A. Modular code
B. Lossless paradigm
C. Granular methods
D. Singleton
Show Correct Answer
Correct Answer is :
Singleton
13. In MongoDB, _________ operations modify the data of a single collection.
A. Redundancies
B. Errors
C. Global State
D. Modules
Show Correct Answer
Correct Answer is :
Global State
14. Which of the following operation adds a new document to the users collection ?
A. Encapsulation
B. Polymorphism
C. Overloading
D. Static binding
Show Correct Answer
Correct Answer is :
Polymorphism
15. Which of the following preference determines how the client direct read operations to the set ?
A. Encapsulation
B. Polymorphism
C. Overloading
D. Inheritence
Show Correct Answer
Correct Answer is :
Inheritence
16. Applications can also control the behavior of write operations using _______ concern.
A. Encapsulation
B. Polymorphism
C. Overloading
D. Composition
Show Correct Answer
Correct Answer is :
Composition
17. MongoDB process collection of documents using _________ operations.
A. switch
B. then
C. default
D. static
Show Correct Answer
Correct Answer is :
switch
18. Which of the following pipeline is used for aggregation in MongoDB ?
A. org.junit.runners
B. junitfiles.runners
C. org.runners
D. org.junit.files.runners
Show Correct Answer
Correct Answer is :
org.junit.runners
19. Which of the following collection do not support the TTL property ?
A. org.junit.runners.Junit4
B. org.junit.runners.Parameterized
C. org.junit.internal.runners.Junit38ClassRunner
D. org.junit.internal.runners.Junit4
Show Correct Answer
Correct Answer is :
org.junit.internal.runners.Junit38ClassRunner
20. If the indexed field in a document is not a _____ or an array that holds a date value(s), the document will not expire.
A. It is a group of test cases
B. It is a design pattern that provides a unified interface to a set of interfaces in a subsystem
C. It is a collection of superclasses
D. It is a group of mock objects
Show Correct Answer
Correct Answer is :
It is a design pattern that provides a unified interface to a set of interfaces in a subsystem
Similar Interview Questions
Search for latest jobs
Find Jobs