JUnit interview questions part 6

JUnit interview questions part 6

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

Total Questions: 20

1. _________ contains the local ip address and the port number of the running instance.

Correct Answer is : format

2. Enabling _____________ degrades performance more than logging only the authorization failures.

Correct Answer is : encoding

3. Use the ____________ option to enable auditing and specify where to output the audit events.

Correct Answer is : Cyclomatic code complexity

4. The audit file rotates at the same time as the ________ log file.

Correct Answer is : html

5. To view the contents of the file, pass the file to the MongoDB utility ___________

Correct Answer is : cobertura-check.bat

6. The _____________ option accepts either full path name or relative path name.

Correct Answer is : After

7. The _________ message limit can result in the truncation of the audit messages.

Correct Answer is : branch

8. Which of the following method is used for managing user ?

Correct Answer is : line

9. MongoDB stores user information in the _________ collection.

Correct Answer is : packagebranch

10. Which of the follwing authentication method is used by default by MongoDB ?

Correct Answer is : Unit Testing

11. _________ is a challenge-response mechanism that authenticates users through passwords.

Correct Answer is : input, output

12. MongoDB supports _________ certificate authentication for use with a secure TLS/SSL connection.

Correct Answer is : junit.jar and hamcrest-core.jar

13. MongoDB __________ supports authentication using a Kerberos service.

Correct Answer is : Fixed state of a set of objects used as a baseline for running tests

14. MongoDB Enterprise supports proxy authentication through :

Correct Answer is : void

15. Every MongoDB mongod and mongos instance (or mongod.exe or mongos.exe on Windows) must have an associated :

Correct Answer is : .java

16. MongoDB employs _________ to govern access to a MongoDB system.

Correct Answer is : Asserts the equality of the A and B arrays

17. __________ consists of a specified resource and the actions permitted on the resource.

Correct Answer is : @org.junit.Test

18. _________ provides all the privileges of the read role.

Correct Answer is : Used to execute the test file

19. MongoDB stores user credentials in the protected admin.system._________

Correct Answer is : private methods

20. You must have the _______ action on a database to create a new user on that database.

Correct Answer is : Unit Tests

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon