Broadcom-VMware
2V0-72.22 · Question #14
Which two statements are correct regarding Spring Boot auto-configuration? (Choose two.)
The correct answer is A. Auto-configuration uses @Conditional annotations to constrain when it should apply. C. Auto-configuration is applied by processing candidates listed in META-INF/spring.factories. Auto-configuration could apply when the bean is present or not and Auto-configuration is applied after user define , in that way can take user define confg.
Application Deployment and Management
Question
Which two statements are correct regarding Spring Boot auto-configuration? (Choose two.)
Options
- AAuto-configuration uses @Conditional annotations to constrain when it should apply.
- BAuto-configuration could apply when a bean is missing but not when a bean is present.
- CAuto-configuration is applied by processing candidates listed in META-INF/spring.factories.
- DAuto-configuration could apply when a bean is present but not when a bean is missing.
- EAuto-configuration is applied before user-defined beans have been registered.
How the community answered
(28 responses)- A71% (20)
- B4% (1)
- D11% (3)
- E14% (4)
Explanation
Auto-configuration could apply when the bean is present or not and Auto-configuration is applied after user define , in that way can take user define confg.
Topics
#Spring Boot auto-configuration#@Conditional#spring.factories#bean registration
Community Discussion
No community discussion yet for this question.