
Core Spring 5 Test 6
Authored by Jose Diaz
Professional Development
1st - 12th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
49 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
3 mins • 1 pt
Which of these advices, when used, will have a chance to execute some code after the join point execution throws an exception? select all that apply.
@AfterThrowing
@AfterReturning
@Around
@After
2.
MULTIPLE SELECT QUESTION
3 mins • 1 pt
In spring mvc, which of these can be the return type of a method annotated with @requestmapping? select all that apply.
ModelAndView
void
String
Model
3.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Fill in the blanks. select the one that applies best. rpc mechanisms like soap web services are centered on ______. ______ is a popular alternative, and is centered on ______.
actions and processes, JMS, information and resources
information and resources, REST, actions and processes
actions and processes, REST, information and resources
information and resources, JMS, actions and processes
4.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
@springbootapplication is equivalent to which annotation? select one
A & C
@Configuration, @ComponentScan, @EnableAutoConfiguration
@EnableJpaReposorities, @ComponentScan, @EnableAutoConfiguration, @Configuration
@SpringBootConfiguration, @ComponentScan, @EnableAutoConfiguration
5.
MULTIPLE SELECT QUESTION
3 mins • 1 pt
Which of these is true about @bean methods that are marked with a java 'static' modifier? select all that apply.
it avoids triggering other parts of the configuration at that point of definition.
it is necessary when beans will get initialized early in the container lifecycle.
the 'static' modifier allows a method to be called without creating its containing configuration class as an instance.
They will never get intercepted by the container, not even within @Configuration classes.
6.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Which of these is the one being described below? select the one that applies best.
it makes invoking many restful services simpler while enforcing rest best practices.
HttpMessageProducer
RestTemplate
RestMessageProducer
HttpTemplate
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Which of these maps incoming web requests to appropriate handlers?
ViewResolver
HandlerMapping
RequestHandler
FlashMapManager
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?