MCQOPTIONS
Saved Bookmarks
This section includes 14 Mcqs, each offering curated multiple-choice questions to sharpen your Spring knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Spring Dynamic Modules scans our deployed bundles and loads an ApplicationContext (actually, the specific type of the ApplicationContext is OsgiBundleXmlApplicationContext) into memory based on an event, or a trigger. |
| A. | True |
| B. | False |
| Answer» B. False | |
| 2. |
To start using Spring to smooth over some of the minutiae of resource acquisition and to help build more reliable systems in an OSGi environment. |
| A. | Spring DM server |
| B. | Spring Dynamic Modules |
| C. | All of the mentioned |
| D. | None of the mentioned |
| Answer» C. All of the mentioned | |
| 3. |
When the bundle begins to load and start, it calls the start method of the:- |
| A. | BundleActivator |
| B. | Activator |
| C. | All of the mentioned |
| D. | None of the mentioned |
| Answer» C. All of the mentioned | |
| 4. |
The Bundle-Activator directive describes to the OSGi environment, which class implements :- |
| A. | BundleActivator |
| B. | BundleActivate |
| C. | All of the mentioned |
| D. | None of the mentioned |
| Answer» B. BundleActivate | |
| 5. |
The plug-in produces OSGi compliant bundles that work in any container. |
| A. | True |
| B. | False |
| Answer» D. | |
| 6. |
Tool which dynamically interrogates classes for their imports and generates OSGi compliant entries. |
| A. | pnd |
| B. | jndi |
| C. | bnd |
| D. | none of the mentioned |
| Answer» D. none of the mentioned | |
| 7. |
OSGi bundles are simply standard .jar files with customized MANIFESTs that OSGi consumes at runtime. |
| A. | True |
| B. | False |
| Answer» B. False | |
| 8. |
Service doesn t imply any:- |
| A. | RPC |
| B. | inheritance |
| C. | transactional qualities |
| D. | all of the mentioned |
| Answer» E. | |
| 9. |
In OSGi, anything used by something else is a state. |
| A. | True |
| B. | False |
| Answer» C. | |
| 10. |
User component models are:- |
| A. | OSGi |
| B. | Spring |
| C. | All of the mentioned |
| D. | None of the mentioned |
| Answer» C. All of the mentioned | |
| 11. |
OSGi is a framework. |
| A. | True |
| B. | False |
| Answer» C. | |
| 12. |
On top of Spring Dynamic Modules, SpringSource built SpringSource dm Server, which is a server wired from top to bottom with OSGi and Spring. |
| A. | True |
| B. | False |
| Answer» B. False | |
| 13. |
OSGi provides a layer on top of the JVM s default class loader. |
| A. | True |
| B. | False |
| Answer» B. False | |
| 14. |
OSGi which was formerly known as the:- |
| A. | Open Services Gateway initiative |
| B. | Open Source Gateway initiative |
| C. | Open Services Gateway initialisation |
| D. | None of the mentioned |
| Answer» B. Open Source Gateway initiative | |