2v0-72-22 question 26 discussion

View all Professional Develop VMware Spring Exam here
back to vmware forum

Question 26

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

  • 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.
  • 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.
  • E. It ensures auto-configuration is applied before user-defined beans have been registered.
Answer:

AD


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

User Votes:
A 1 votes
50%
B 1 votes
50%
C
50%
D
50%
E
50%
Discussions
0 / 1000
trungviettri
2 years ago

A,B