

MCQOPTIONS
Saved Bookmarks
This section includes 30 Mcqs, each offering curated multiple-choice questions to sharpen your Spring knowledge and support exam preparation. Choose a topic below to get started.
1. |
The submission URL of this form should be a portlet action URL that will trigger an action request to the current portlet. |
A. | True |
B. | False |
Answer» B. False | |
2. |
When handling an action request, it gets the time zone parameter from the portlet request. |
A. | True |
B. | False |
Answer» B. False | |
3. |
When handling a render request, it gets the time zone attribute from the portlet preference. |
A. | True |
B. | False |
Answer» B. False | |
4. |
The preceding controller handles portlet requests:- |
A. | render requests |
B. | action requests |
C. | all of the mentioned |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
5. |
You can chain multiple handler mapping annotations as required to portlet. |
A. | True |
B. | False |
Answer» B. False | |
6. |
Unlike in a web application, you can’t control URLs directly in a portlet. |
A. | True |
B. | False |
Answer» B. False | |
7. |
Servlet Listener to load the root application context at startup. |
A. | ContextLoader |
B. | ContextLoaderListener |
C. | All of the mentioned |
D. | None of the mentioned |
Answer» C. All of the mentioned | |
8. |
portlet deployment descriptor file is:- |
A. | portlet.xml |
B. | portlet.config |
C. | portlet.xhtml |
D. | none of the mentioned |
Answer» B. portlet.config | |
9. |
DispatcherPortlet resolves a view name from one or more view resolver beans. |
A. | True |
B. | False |
Answer» B. False | |
10. |
After Controller has finished handling a render request, it returns:- |
A. | model name |
B. | view name |
C. | view obect |
D. | all of the mentioned |
Answer» E. | |
11. |
When a user triggers an action URL in a portlet, the portlet container will first ask the target portlet to handle an action request. |
A. | True |
B. | False |
Answer» B. False | |
12. |
When a user triggers a render URL, the portlet container will ask all the portlets in the same page to handle a render request to render its view. |
A. | True |
B. | False |
Answer» B. False | |
13. |
In portlets, there are URLs:- |
A. | render |
B. | action |
C. | all of the mentioned |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
14. |
Maps each request to a handler through one or more handler mapping beans. |
A. | DispatcherServlet |
B. | DispatcherPortlet |
C. | All of the mentioned |
D. | None of the mentioned |
Answer» C. All of the mentioned | |
15. |
DispatcherServtlet dispatches portlet requests to appropriate handlers that handle the requests. |
A. | True |
B. | False |
Answer» C. | |
16. |
The service-activator is what handles actual processing and there’s no mention of a response channel, for either the service-activator, or for the inbound JMS gateway. |
A. | True |
B. | False |
Answer» B. False | |
17. |
There is no coupling between the client facing interface exposed via the gateway component and the interface of the service that ultimately handles the messages. |
A. | True |
B. | False |
Answer» B. False | |
18. |
The gateway element simply exists to identify the component and the interface. |
A. | True |
B. | False |
Answer» B. False | |
19. |
Messages sent on the requests channel are forwarded to the:- |
A. | jms:outbound-gateway |
B. | jms:outbound |
C. | jms-gateway |
D. | all of the mentioned |
Answer» B. jms:outbound | |
20. |
The first thing that the client configuration does is import a shared application context (to save typing if nothing else) that declares a JMS connection factor. |
A. | True |
B. | False |
C. | |
Answer» B. False | |
21. |
The SimpleMessagingGateway needs a request and a response channel, and it coordinates the rest. |
A. | True |
B. | False |
Answer» B. False | |
22. |
The most fundamental support for gateways comes from the Spring Integration class:- |
A. | SimpleMessagingGateway |
B. | SimpleMessaging |
C. | SimpleGateway |
D. | None of the mentioned |
Answer» B. SimpleMessaging | |
23. |
The capability to hide messaging behind a POJO interface. |
A. | Lingo |
B. | JCA |
C. | JMS |
D. | All of the mentioned |
Answer» E. | |
24. |
Serving to abstract away the functionality of other components in an abbreviated interface to provide courser functionality. |
A. | facade |
B. | façade |
C. | gateway |
D. | none of the mentioned |
Answer» C. gateway | |
25. |
You want to expose an interface to clients of your service, without betraying the fact that your service is implemented in terms of messaging middleware. |
A. | Enterprise Integration Patterns |
B. | Gateway |
C. | All of the mentioned |
D. | None of the mentioned |
Answer» D. None of the mentioned | |
26. |
The BPM engine would thread together the different actors and work lists, |
A. | True |
B. | False |
Answer» B. False | |
27. |
Spring Batch reads the file, transforms the records into:- |
A. | objects |
B. | outputs |
C. | all of the mentioned |
D. | none of the mentioned |
Answer» B. outputs | |
28. |
No processing system (such as an ESB) can deal with a million records at once efficiently. |
A. | True |
B. | False |
Answer» B. False | |
29. |
Spring Integration does support reading files into the bus. |
A. | True |
B. | False |
Answer» B. False | |
30. |
To take an input file or a payload and reliably, and systematically, decompose it into events that an ESB can work with:- |
A. | Splitter |
B. | Spring Batch |
C. | All of the mentioned |
D. | None of the mentioned |
Answer» C. All of the mentioned | |