nerdexam
Broadcom-VMware

2V0-72.22 · Question #5

Which two use cases can be addressed by the method level security annotation @PreAuthorize? (Choose two.)

The correct answer is A. Allow access to a method based on user identity. E. Allow access to a method based on roles. See the full explanation below for the reasoning.

Question

Which two use cases can be addressed by the method level security annotation @PreAuthorize? (Choose two.)

Options

  • AAllow access to a method based on user identity.
  • BAllow access to a method based on the returned object.
  • CAllow access to a method based on HTTP method.
  • DAllow access to a method based on request URL.
  • EAllow access to a method based on roles.

How the community answered

(50 responses)
  • A
    72% (36)
  • B
    14% (7)
  • C
    6% (3)
  • D
    8% (4)

Community Discussion

No community discussion yet for this question.

Full 2V0-72.22 Practice