nerdexam
Broadcom-VMware

2V0-72.22 · Question #87

Which two statements are true about the @RequestMapping annotation? (Choose two.)

The correct answer is D. It can be used as an alternative to @GetMapping or @PutMapping using method attribute. E. It is an annotation for mapping web requests to controller methods. See the full explanation below for the reasoning.

Question

Which two statements are true about the @RequestMapping annotation? (Choose two.)

Options

  • AIt can only be used to annotate a method inside an @Controller annotated class.
  • BIt may be used to map a controller method to a view.
  • CIt does not support HEAD method.
  • DIt can be used as an alternative to @GetMapping or @PutMapping using method attribute.
  • EIt is an annotation for mapping web requests to controller methods.

How the community answered

(16 responses)
  • B
    13% (2)
  • C
    6% (1)
  • D
    81% (13)

Community Discussion

No community discussion yet for this question.

Full 2V0-72.22 Practice