nerdexam
Broadcom-VMware

2V0-72.22PSE · Question #53

2V0-72.22PSE Question #53: Real Exam Question with Answer & Explanation

The correct answer is A. It is a meta-annotation on the @SpringBootApplication composed annotation. B. It enables auto-configuration of the ApplicationContext by attempting to guess necessary. Enable auto-configuration of the Spring Application Context, attempting to guess and configure beans that you are likely to need. boot/docs/current/api/org/springframework/boot/autoconfigure/EnableAutoConfiguration.html

Question

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

Options

  • AIt is a meta-annotation on the @SpringBootApplication composed annotation.
  • BIt enables auto-configuration of the ApplicationContext by attempting to guess necessary
  • CIt is meta-annotation on the @SpringBootConfiguration composed annotation.
  • DIt has the same effect regardless of the package of the class that is annotated with it.
  • EIt ensures auto-configuration is applied before user-defined beans have been registered.

Explanation

Enable auto-configuration of the Spring Application Context, attempting to guess and configure beans that you are likely to need. boot/docs/current/api/org/springframework/boot/autoconfigure/EnableAutoConfiguration.html

Community Discussion

No community discussion yet for this question.

Full 2V0-72.22PSE Practice