C is wrong auto-configuration classes are here META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports and not spring.factories
A and B are correct.
A) Spring Boot's auto-configuration classes use conditional annotations to set up auto configuration
B) B is right because Auto-configuration can apply when any auto-configuration bean is missing after initializing user-defined beans (E is wrong due to this, since user defined beans are always loaded first, before auto-configuration applies) but it can not apply when bean is present. for example, if I as a developer, define auto-configuration bean myself and they are initialized by user's custom definition, then auto-configuration will not apply for that specific class.
E is not correct. User-defined beans are always loaded first before auto-configuration applies. Thus, if you define your own Bean types which would be auto-configured otherwise, auto-configuration will not apply for that specific bean.
For example, if I define DataSource bean in my own configuration class, my DataSource bean will initialize and auto-configuration will not configure any other DataSource anymore, since my DataSource bean is present.
A and C
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.
upvoted 3 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Lych33
Highly Voted 11 months, 2 weeks agoC4RNAGE
8 months, 1 week agosoftarts
4 months, 3 weeks agoC4RNAGE
Most Recent 8 months, 1 week agoTolo01
1 year, 3 months agoC4RNAGE
8 months, 1 week agorhuanca
1 year, 8 months ago