Spring interview questions part 24

Spring interview questions part 24

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

Total Questions: 20

1. To extract and manipulate payloads in Spring REST in a format other than String.

Correct Answer is : HttpConverterMessage

2. To write your own converters relying on the MarshallingHttpMessageConverter interface that would allow the use of custom marshallers.

Correct Answer is : messageConverters

3. To override the default implementations registered with the RestTemplate class.

Correct Answer is : messageConverters

4. To extract and manipulate the contents of a REST service payload.

Correct Answer is : StreamSource class

5. To perform its logging operations.

Correct Answer is : Log4J

6. Log4J configuration parameters are specified inside:-

Correct Answer is : Config.groovy

7. Grails application logging can be configured using:-

Correct Answer is : all of the mentioned

8. Any logging operation occurring at any of the cited packages will be logged.

Correct Answer is : TRUE

9. In Log4J parlance, each package is known as:-

Correct Answer is : logger

10. Log4J also has the following logging level:-

Correct Answer is : all of the mentioned

11. By default, all logging message are sent to the stacktrace.groovy file.

Correct Answer is : TRUE

12. To offer versatile logging functionality:-

Correct Answer is : all of the mentioned

13. A location where logging information is sent.

Correct Answer is : appender

14. A location where logging information is generated.

Correct Answer is : logger

15. The default Log4J logger can be customized in a Grails application.

Correct Answer is : TRUE

16. An appender that logs to a JDBC connection.

Correct Answer is : jdbc

17. Command for running tests in Grails.

Correct Answer is : grails test-app

18. Unit tests are designed to validate the logic contained in a single domain class.

Correct Answer is : TRUE

19. Method creates a mock object from a domain class.

Correct Answer is : mockForConstraintsTests

20. Spring supports web flows by:-

Correct Answer is : All of the mentioned

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon