Broadcom-VMware
2V0-72.22PSE · Question #14
2V0-72.22PSE Question #14: Real Exam Question with Answer & Explanation
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.
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.
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.
Community Discussion
No community discussion yet for this question.