ExamGecko
Question list
Search
Search

Question 26 - 2V0-72.22 discussion

Report
Export

Which two statements are correct regarding the @EnableAutoConfiguration annotation? (Choose two.)

A.
It is a meta-annotation on the @SpringBootApplication composed annotation.
Answers
A.
It is a meta-annotation on the @SpringBootApplication composed annotation.
B.
It enables auto-configuration of the ApplicationContext by attempting to guess necessary beans.
Answers
B.
It enables auto-configuration of the ApplicationContext by attempting to guess necessary beans.
C.
It is meta-annotation on the @SpringBootConfiguration composed annotation.
Answers
C.
It is meta-annotation on the @SpringBootConfiguration composed annotation.
D.
It has the same effect regardless of the package of the class that is annotated with it.
Answers
D.
It has the same effect regardless of the package of the class that is annotated with it.
E.
It ensures auto-configuration is applied before user-defined beans have been registered.
Answers
E.
It ensures auto-configuration is applied before user-defined beans have been registered.
Suggested answer: A, D

Explanation:

Reference: https://docs.spring.io/springboot/docs/current/api/org/springframework/boot/autoconfigure/EnableAutoConfiguration.html

asked 16/09/2024
Peter Chong
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first