JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
JUnit interview questions part 7
JUnit interview questions part 7
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. Data of .system.indexes can be accessed using :
A. Coverage
B. Redundancy
C. Prowess
D. Accuracy
Show Correct Answer
Correct Answer is :
Coverage
2. You must have the __________ action on a role’s database to grant the role to another user.
A. Fine grained
B. Accurate
C. Time consuming
D. Coarse grained
Show Correct Answer
Correct Answer is :
Coarse grained
3. Command listIndexes.ok returning value 1 indicates :
A. Regressions
B. Quality Check
C. Database Errors
D. Enforced Error
Show Correct Answer
Correct Answer is :
Regressions
4. MongoDB provides high ____________ with replica sets.
A. Horizontal
B. Small
C. Diagonal
D. Vertical
Show Correct Answer
Correct Answer is :
Vertical
5. ___________ replicas maintain a copy of the data on the primary using built-in replication.
A. Changing
B. Adapting
C. Refactoring
D. Duplicating
Show Correct Answer
Correct Answer is :
Refactoring
6. MongoDB scales horizontally using _________ for load balancing purpose.
A. Change
B. Refactoring
C. Inefficiency
D. Redundancy
Show Correct Answer
Correct Answer is :
Change
7. MongoDB can be used as a ____________, taking advantage of load balancing and data replication features over multiple machines for storing files.
A. KISS
B. MoSCoW Method
C. Overengineering
D. YAGNI
Show Correct Answer
Correct Answer is :
YAGNI
8. _____________ can be used for batch processing of data and aggregation operations.
A. Your agile going now inside
B. You aren’t gonna need it
C. You are gonna need it
D. You are given no information
Show Correct Answer
Correct Answer is :
You aren’t gonna need it
9. MongoDB supports fixed-size collections called ____________ collections.
A. KISS
B. MoSCoW
C. WIB
D. DTSTTCPW
Show Correct Answer
Correct Answer is :
DTSTTCPW
10. MongoDB uses a ____________ lock that allows concurrent read access to a database but exclusive write access to a single write operation.
A. Java
B. Pygame
C. AllenWake
D. Hamcrest
Show Correct Answer
Correct Answer is :
Hamcrest
11. Which of the following sorting is not supported by MongoDB ?
A. Matching
B. Testing
C. Asserting
D. Checking
Show Correct Answer
Correct Answer is :
Testing
12. _________ is a binary serialization format used to store documents and make remote procedure calls in MongoDB.
A. org.hamcrest.CoreMatchers.assertThat
B. org.junit.Assert.assertThat
C. org.junit.JunitMatchers.assertThat
D. org.junit.hasItem.assertThat
Show Correct Answer
Correct Answer is :
org.junit.Assert.assertThat
13. Which of the following data type is depreciated ?
A. Is
B. AnyOf
C. Anything
D. Not
Show Correct Answer
Correct Answer is :
Anything
14. Each data type has a corresponding number that can be used with the _______ operator to query documents by BSON type.
A. anything
B. is
C. sameInstance
D. nullValue
Show Correct Answer
Correct Answer is :
is
15. MongoDB represents queries as ___________ objects.
A. Is
B. Anything
C. sameInstance
D. allOf
Show Correct Answer
Correct Answer is :
allOf
16. There is _________ byte counter in BSON, starting with a random value
A. anyOf
B. allOf
C. instanceOf
D. notNull
Show Correct Answer
Correct Answer is :
anyOf
17. In the mongo shell, you can access the creation time of the ObjectId, using the ______ method..
A. not
B. or
C. allOf
D. andAll
Show Correct Answer
Correct Answer is :
not
18. __________ returns the JavaScript representation in the form of a string literal
A. isCompatibleType
B. isCompatible
C. isInstance
D. isSame
Show Correct Answer
Correct Answer is :
isCompatibleType
19. Which of the following query is used to generate a new ObjectId, use the ObjectId() constructor with no argument
A. instanceOf
B. isCompatibleType
C. type
D. sameInstance
Show Correct Answer
Correct Answer is :
sameInstance
20. Which of the following collections work in a way similar to circular buffers ?
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
Similar Interview Questions
Search for latest jobs
Find Jobs