JUnit Interview Questions - 23 | Snaprecruit.com
JUnit Interview Questions - 23 | Snaprecruit.com
JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing
Enterprises
JUnit interview questions part 23
JUnit interview questions part 23
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. BSON is a binary representation of ________ documents,
A. Fine-grained
B. Coarse-grained
C. Redundant
D. Functional
Show Correct Answer
Correct Answer is :
Fine-grained
2. MongoDB documents are composed of field-and-value pairs and have the following structure:
A. Dead
B. Running
C. Production
D. Fake
Show Correct Answer
Correct Answer is :
Running
3. To store documents larger than the maximum size, MongoDB provides the _______ API.
A. Stub
B. Mock Object
C. Packet
D. Jammer
Show Correct Answer
Correct Answer is :
Stub
4. The ______ field is always the first field in the document.
A. Symbolic Execution
B. Stubs
C. Active testing
D. All-pairs testing
Show Correct Answer
Correct Answer is :
Symbolic Execution
5. To ensure functioning replication, do not store values that are of the _______ regular expression type in the _id field.
A. Decision Table
B. Flowgraph
C. Testing Design
D. Audit
Show Correct Answer
Correct Answer is :
Flowgraph
6. Index keys that are of the _______ type are more efficiently stored in the index.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
7. MongoDB uses the ________ notation to access the elements of an array and to access the fields of an embedded document.
A. Testing for exceptions
B. Testing code execution within time limits
C. Testing code correctness
D. Testing code with time functions
Show Correct Answer
Correct Answer is :
Testing code execution within time limits
8. Which of the the following data structures are documents in MongoDB ?
A. Expected
B. Timeout
C. NoLimit
D. Time
Show Correct Answer
Correct Answer is :
Timeout
9. An application communicates with MongoDB by way of a client library, called :
A. 130 milliseconds
B. 130 minutes
C. 130 seconds
D. 1.30 minutes
Show Correct Answer
Correct Answer is :
130 milliseconds
10. User-defined indexes on multiple fields is called :
A. Software Dependent
B. Hardware Dependent
C. Software and Hardware Dependent
D. Software and Hardware Independent
Show Correct Answer
Correct Answer is :
Software and Hardware Dependent
11. Which of the field is reserved for use as a primary key ?
A. @Timeout
B. @Expected
C. Timeout Rule
D. Not possible to apply same timeout
Show Correct Answer
Correct Answer is :
Timeout Rule
12. If your driver has a version number of 2.9.1, What is the major version ?
A. @Rule public Timeout object = new Timeout()
B. @Rule public Timeout object = Timeout.seconds()
C. public Timeout object = Timeout.seconds()
D. public Timeout object = new Timeout()
Show Correct Answer
Correct Answer is :
@Rule public Timeout object = Timeout.seconds()
13. Updates that include _________ of field names may result in the reordering of fields in the document.
A. org.junit.rules.Timeout
B. org.junit.Timeout
C. org.Timeout
D. org.junit.RuleClasses.Timeout
Show Correct Answer
Correct Answer is :
org.junit.rules.Timeout
14. The $rename operator logically performs an _______ of both the old name and the new name.
A. Timeout
B. Test
C. TestingTimeout
D. TestRule
Show Correct Answer
Correct Answer is :
TestRule
15. Which of the following is a metapackage for enterprise ?
A. Interrupt()
B. Thread.interrupt()
C. Thread.interruptable()
D. Threads.interruptable()
Show Correct Answer
Correct Answer is :
Thread.interrupt()
16. ______ package contains the mongod daemon and associated configuration and init scripts.
A. 130 milliseconds
B. 130 minutes
C. 130 seconds
D. Not set
Show Correct Answer
Correct Answer is :
Not set
17. Which of the following is not a part of mongodb-enterprise-tools ?
A. User Acceptance Test Cases
B. User Rejection Test Cases
C. Product Rejection Test Cases
D. Product Acceptance Test Cases
Show Correct Answer
Correct Answer is :
User Acceptance Test Cases
18. MongoDB only provides Enterprise packages for Ubuntu ________ LTS
A. Unit Testing
B. Functional Testing
C. Stress Testing
D. Load Testing
Show Correct Answer
Correct Answer is :
Functional Testing
19. Which of the following is Ubuntu package management tool ?
A. Isolated
B. Biased
C. Unbiased
D. Modular
Show Correct Answer
Correct Answer is :
Unbiased
20. Command to install the latest stable version of MongoDB Enterprise in Ubuntu is :
A. Before any software is made
B. After some modules are completed
C. After every module, testing is done
D. After the software has been produced
Show Correct Answer
Correct Answer is :
After the software has been produced
Similar Interview Questions
Search for latest jobs
Find Jobs