exam questions

Exam 2V0-72.22 All Questions

View all questions & answers for the 2V0-72.22 exam

Exam 2V0-72.22 topic 1 question 82 discussion

Actual exam question from VMware's 2V0-72.22
Question #: 82
Topic #: 1
[All 2V0-72.22 Questions]

Which two annotations are meta-annotations on the @SpringBootApplication composed annotation? (Choose two.)

  • A. @Configuration
  • B. @ComponentScan
  • C. @SpringBootConfiguration
  • D. @SpringApplication
  • E. @AutoConfiguration
Show Suggested Answer Hide Answer
Suggested Answer: AB 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Peit
1 month, 1 week ago
Selected Answer: BC
BC. https://docs.spring.io/spring-boot/api/java/org/springframework/boot/autoconfigure/SpringBootApplication.html
upvoted 2 times
quakquak3
1 month, 1 week ago
@interface SpringBootApplication is annotated with @SpringBootConfiguration, @EnableAutoConfiguration, and @ComponentScan. @interface SpringBootConfiguration is annotated with @Configuration, so this annotation is also included, but not directly
upvoted 1 times
...
...
Evoila_TrainingMaterial
5 months, 1 week ago
Selected Answer: AB
A. @Configuration This annotation indicates that the class has @Bean definition methods and may be processed by the Spring container to generate bean definitions and service requests for those beans at runtime. B. @ComponentScan This annotation configures component scanning directives for use with @Configuration classes. Provides support parallel with Spring XML's context:component-scan element.
upvoted 1 times
quakquak3
1 month, 1 week ago
@Configuration is only indirectly included via @SpringBootConfiguration
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago