Lecture 35 Quiz: Spring IoC, Bean Scopes & Life Cycle Callbacks

Note

Review before quiz: Lectures | Week 11 Content | Lab 8

Lecture 35 Self-Check

Question 1: What does the singleton bean scope mean in Spring?
Select an item
Question 2: Which scope creates a brand new bean instance for every getBean() call, and Spring does NOT manage its destruction?
Select an item
Question 3: When multiple init callbacks are present, what is the correct execution order in Spring?
Select an item
Question 4: When does @PostConstruct run in the Spring bean lifecycle?
Select an item
Question 5: Why is proxyMode = ScopedProxyMode.TARGET_CLASS needed when using request or session scope in a Spring MVC app?
Select an item