
CORE SPRING 5 TEST 10
Authored by Jose Diaz
Professional Development
Professional Development
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
An endpoint is considered to be available when it is both enabled and exposed. By default all endpoints are enabled, except one. Which?
startup
shutdown
configprops
threaddump
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following annotations can be used to inject scalar/literal values into Spring Bean?
@Inject
@Autowired
@Value
@Property
3.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
Which of the following statements are correct regarding RestTemplate? Select all that apply.
RestTempalte is a synchronous client to perform HTTP requests
RestTemplate supports automatic serialization/deserialization
RestTemplate supports the only the 4 main HTTP methods - GET,POST,PUT and DELETE, having entry points method for them
RestTemplate supports URI templates
4.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
Which of these can be annotated with the @Autowired annotation? Select all that apply.
Methods
Constructors
Initialization blocks
Fields
5.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
Which of the following statements are correct, regarding ProceedingJoinPoint? Select all that apply.
If used ProceedingJoinPoint should be the first or last argument
ProceedingJoinPoint is an object that can be provided to @Around advice
ProceedingJoinPoint allows changing the method arguments of the original method
proceed() method of ProceedingJoinPoint must be called only once.
6.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
Which of the following will be auto-configured by @WebMvcTest by default? Select all that apply.
MockMvc
@Controller annotated classes
@Component annotated classes
@Service annotated classes
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Is the following statement correct?
@SpringBootTest annotation is an alternative for @ContextConfiguration, when using SpringBoot.
True
False
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 Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?