Spring Online Quiz


Advertisements


Following quiz provides Multiple Choice Questions (MCQs) related to Spring Framework. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.

Questions and Answers

Answer : A

Explanation

Beans, Core, Context, SpEL are the modules in core container.

Answer : D

Explanation

Add <context:annotation-config/> to bean configuration to turn on annotation wiring.

Q 6 - What are the different points where weaving can be applied?

A - Compile time, load time

B - Compile time, run time

C - Run time

D - Compile time, load Time, Run time

Answer : D

Explanation

Weaving can be applied at Compile time, load Time and Run time.

Q 7 - Which of the following is part of Data Access layer in Spring framework?

A - Beans

B - Aspects

C - JMS

D - Context

Answer : C

Explanation

JMS is the part of Data Access layer in Spring framework.

Q 8 - If a bean is scoped to HTTP request, scope is

A - session

B - global-session

C - prototype

D - request

Answer : D

Explanation

If a bean is scoped to HTTP request, scope is request.

Q 9

A bean must have id attribute in beans configuration file.

A - True

B - False

Answer : B

Explanation

Id is not a mandatory attribute in beans configuration file.

Answer : C

Explanation

ACID stands for Atomicity, Consistency, Isolation, Durability.


spring_questions_answers.htm

Advertisements