nerdexam
Broadcom-VMware

2V0-72.22 · Question #82

Which two statements about Spring MVC are true? (Choose two.)

The correct answer is C. Classes annotated with @Controller annotation can be detected by component scanning and D. Spring MVC requires a Servlet container, Spring Boot can embed Tomcat, Jetty or Undertow. See the full explanation below for the reasoning.

Question

Which two statements about Spring MVC are true? (Choose two.)

Options

  • AIt is an MVC framework that implements the JAX-RS specification,
  • Bmvc.properties is used to provide URL mappings to controllers.
  • CClasses annotated with @Controller annotation can be detected by component scanning and
  • DSpring MVC requires a Servlet container, Spring Boot can embed Tomcat, Jetty or Undertow.
  • EA DispatcherServlet is created for every @Controller/@RestController annotated class.

How the community answered

(43 responses)
  • A
    14% (6)
  • B
    7% (3)
  • C
    77% (33)
  • E
    2% (1)

Community Discussion

No community discussion yet for this question.

Full 2V0-72.22 Practice