JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
JUnit interview questions part 22
JUnit interview questions part 22
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. Which of the following pattern is more straightforward to use ?
A. Object
B. String
C. Integer
D. org.junit.Equals
Show Correct Answer
Correct Answer is :
Object
2. The Array of Ancestors pattern is slightly slower than the ________________ pattern
A. org.junit.runners.Parameterized
B. org.junit.Parameterized
C. org.junit.runners.Parameterized
D. org.runners.Parameterized
Show Correct Answer
Correct Answer is :
org.junit.runners.Parameterized
3. The ____________ pattern identifies each node in the tree as stops in a round-trip traversal of the tree.
A. Agile Development
B. Test Driven Development
C. Base Design Development
D. Waterfall Development
Show Correct Answer
Correct Answer is :
Test Driven Development
4. ____________ pattern requires additional steps of working with strings and regular expressions.
A. Waterfall Model
B. Iterative Model
C. Spiral Model
D. Big Bang Model
Show Correct Answer
Correct Answer is :
Waterfall Model
5. To get a correct snapshot of a running mongod process, you must have _________ enabled.
A. Class
B. Object
C. Business
D. Criteria
Show Correct Answer
Correct Answer is :
Business
6. The _______ tool reads data from a MongoDB database and creates high fidelity BSON files.
A. Parameters
B. Objects
C. Classes
D. Captors
Show Correct Answer
Correct Answer is :
Captors
7. If your storage system does not support snapshots, you can copy the files directly using :
A. Master
B. RequestHandler
C. Controller
D. Class
Show Correct Answer
Correct Answer is :
Controller
8. The _________ tool can populate a MongoDB database with the data from these BSON files.
A. Apache Struts Framework
B. JUnit
C. Java
D. Php
Show Correct Answer
Correct Answer is :
Apache Struts Framework
9. mongodump and mongorestore can operate against a running _______ process
A. The Request, the Response
B. The Request, the Response, the RequestHandler, and the Controller
C. The Request
D. The RequestHandler
Show Correct Answer
Correct Answer is :
The Request, the Response, the RequestHandler, and the Controller
10. For replica sets, mongodump also supports a point in time feature with the ________ option
A. void addHandler(Request request, RequestHandler requestHandler)
B. void addHandler(RequestHandler requestHandler);
C. void addHandler(RequestHandler requestHandler);
D. void addHandler(Request request, Request requestHandler);
Show Correct Answer
Correct Answer is :
void addHandler(Request request, RequestHandler requestHandler)
11. If applications modify data while mongodump is creating a backup, _________ will compete for resources with those applications.
A. Calling Principle
B. Control Call
C. Inversion of Control
D. No-Show Principle
Show Correct Answer
Correct Answer is :
Inversion of Control
12. The MongoDB ______ supports the backing up and restoring of MongoDB deployments.
A. Functionality
B. Cleanliness
C. Effectiveness
D. Modularity
Show Correct Answer
Correct Answer is :
Modularity
13. Ops Manager reads directly from the Backup Blockstore database and transfers files either through :
A. Constructor-based dependency injection
B. Setter-based dependency injection
C. Setter-Seller dependency injection
D. No-Constructor dependency injection
Show Correct Answer
Correct Answer is :
Setter-based dependency injection
14. Ops Manager maintains one _____ database for each backed-up replica set
A. A number of arguments
B. No argument
C. Null objects
D.
Show Correct Answer
Correct Answer is :
A number of arguments
15. The agent ships initial sync and oplog data over HTTPS back to:
A. Optional dependencies
B. Mandatory dependencies
C. All dependencies
D. No dependency
Show Correct Answer
Correct Answer is :
Mandatory dependencies
16. Backup can also create snapshots of _________ that are run as single-member replica sets.
A. Mock Object
B. Dummy Object
C. Domain Object
D. Real Object
Show Correct Answer
Correct Answer is :
Domain Object
17. Ops Manager _________ provides an interface for configuring MongoDB nodes and clusters and for upgrading your MongoDB deployment.
A. Unit Testing
B. Integration Testing
C. Regression Testing
D. Loss Testing
Show Correct Answer
Correct Answer is :
Regression Testing
18. _________ allows only one agent of each type per machine and will remove additional agents.
A. Stub
B. Mock Object
C. Packet
D. Jammer
Show Correct Answer
Correct Answer is :
Stub
19. Sharded clusters snapshots temporarily stop the balancer via :
A. Unique
B. Complex
C. Redundant
D. Anomalous
Show Correct Answer
Correct Answer is :
Complex
20. The __________ JavaScript shell and the MongoDB language drivers translate between BSON and the language-specific document representation.
A. Mocking
B. Security
C. Confidence
D. Modularity
Show Correct Answer
Correct Answer is :
Confidence
Similar Interview Questions
Search for latest jobs
Find Jobs