Broadcom-VMware
2V0-72.22PSE · 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.
Cloud Native
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
(15 responses)- A73% (11)
- B7% (1)
- D7% (1)
- E13% (2)
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
#auto-configuration#@Conditional#spring.factories#conditional beans
Community Discussion
No community discussion yet for this question.