JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
Spring interview questions part 24
Spring interview questions part 24
Back
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.
A. HttpConverter
B. HttpMessage
C. HttpConverterMessage
D. None of the mentioned
Show Correct Answer
Correct Answer is :
HttpConverterMessage
2. To write your own converters relying on the MarshallingHttpMessageConverter interface that would allow the use of custom marshallers.
A. messageConverters
B. messageConvert
C. converters
D. convertersMessage
Show Correct Answer
Correct Answer is :
messageConverters
3. To override the default implementations registered with the RestTemplate class.
A. messageConverters
B. messageConvert
C. converters
D. convertersMessage
Show Correct Answer
Correct Answer is :
messageConverters
4. To extract and manipulate the contents of a REST service payload.
A. messageConverters
B. StreamSource class
C. converters
D. convertersMessage
Show Correct Answer
Correct Answer is :
StreamSource class
5. To perform its logging operations.
A. Log4J
B. LogingJ
C. JLog
D. None of the mentioned
Show Correct Answer
Correct Answer is :
Log4J
6. Log4J configuration parameters are specified inside:-
A. Config.groovy
B. Conf.groovy
C. Log.groovy
D. None of the mentioned
Show Correct Answer
Correct Answer is :
Config.groovy
7. Grails application logging can be configured using:-
A. creating custom appenders
B. logging levels
C. console output
D. all of the mentioned
Show Correct Answer
Correct Answer is :
all of the mentioned
8. Any logging operation occurring at any of the cited packages will be logged.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
9. In Log4J parlance, each package is known as:-
A. parlance
B. logger
C. all of the mentioned
D. none of the mentioned
Show Correct Answer
Correct Answer is :
logger
10. Log4J also has the following logging level:-
A. fatal
B. error
C. warning
D. all of the mentioned
Show Correct Answer
Correct Answer is :
all of the mentioned
11. By default, all logging message are sent to the stacktrace.groovy file.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
12. To offer versatile logging functionality:-
A. loggers
B. appenders
C. all of the mentioned
D. none of the mentioned
Show Correct Answer
Correct Answer is :
all of the mentioned
13. A location where logging information is sent.
A. appender
B. logger
C. all of the mentioned
D. none of the mentioned
Show Correct Answer
Correct Answer is :
appender
14. A location where logging information is generated.
A. appender
B. logger
C. all of the mentioned
D. none of the mentioned
Show Correct Answer
Correct Answer is :
logger
15. The default Log4J logger can be customized in a Grails application.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
16. An appender that logs to a JDBC connection.
A. jdbc
B. console
C. file
D. rollingFile
Show Correct Answer
Correct Answer is :
jdbc
17. Command for running tests in Grails.
A. grails test-app
B. grails test
C. grails test-app domain class
D. none of the mentioned
Show Correct Answer
Correct Answer is :
grails test-app
18. Unit tests are designed to validate the logic contained in a single domain class.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
19. Method creates a mock object from a domain class.
A. mockForConstraintsTests
B. mockForConstraints
C. all of the mentioned
D. none of the mentioned
Show Correct Answer
Correct Answer is :
mockForConstraintsTests
20. Spring supports web flows by:-
A. Java
B. XML
C. All of the mentioned
D. None of the mentioned
Show Correct Answer
Correct Answer is :
All of the mentioned
Similar Interview Questions
Search for latest jobs
Find Jobs