Loading

Q1.

Default Bean Scope in Spring is
A. Prototype
B. Singleton
C. Request
D. Session

Q2.

In which scope does Spring create a new bean every time it is requested?

A. Singleton
B. Request
C. Prototype
D. Session

Q3.

Which scope creates one bean per HTTP request?
A. Singleton
B. Prototype
C. Request
D. Session

Q4.

Which scope stores one bean per logged-in user?
A. Session
B. Prototype
C. Application
D. Singleton

Q5.

Which bean scope is most suitable for stateless services?

A. Prototype
B. Singleton
C. Request
D. WebSocket