nerdexam
Broadcom-VMware

2V0-72.22 · Question #1

Which two statements are correct when @SpringBootApplication is annotated on a class? (Choose two.)

The correct answer is A. It causes Spring Boot to enable auto-configuration by default. B. Component scanning will start from the package of the class. See the full explanation below for the reasoning.

Question

Which two statements are correct when @SpringBootApplication is annotated on a class? (Choose two.)

Options

  • AIt causes Spring Boot to enable auto-configuration by default.
  • BComponent scanning will start from the package of the class.
  • CAll other annotations on the class will be ignored.
  • DMethods in the class annotated with @Bean will be ignored.
  • EA separate ApplicationContext will be created for each class annotated with

How the community answered

(19 responses)
  • A
    79% (15)
  • C
    5% (1)
  • D
    5% (1)
  • E
    11% (2)

Community Discussion

No community discussion yet for this question.

Full 2V0-72.22 Practice