nerdexam
Broadcom-VMware

2V0-72.22PSE · Question #53

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

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

Cloud Native

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.

How the community answered

(41 responses)
  • A
    88% (36)
  • C
    7% (3)
  • D
    2% (1)
  • E
    2% (1)

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

Topics

#@EnableAutoConfiguration#@SpringBootApplication#auto-configuration#ApplicationContext

Community Discussion

No community discussion yet for this question.

Full 2V0-72.22PSE Practice