Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

VMware Exam 2V0-72.22 Topic 1 Question 29 Discussion

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

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

Show Suggested Answer Hide Answer
Suggested Answer: B, D

Contribute your Thoughts:

Kate
1 months ago
Ah, the age-old question of who gets to play with the code. Clearly, it's the users with the right roles and identities. No climbing through the window for you, my friend!
upvoted 0 times
Terina
20 days ago
User 2
upvoted 0 times
...
Joana
23 days ago
User 1
upvoted 0 times
...
...
Ricarda
1 months ago
C and D? Really? Those sound more like attributes of the HTTP request, not the @PreAuthorize annotation. I'm going with A and E.
upvoted 0 times
Virgina
19 hours ago
C and D? Really? Those sound more like attributes of the HTTP request, not the @PreAuthorize annotation. I'm going with A and E.
upvoted 0 times
...
Antione
3 days ago
E) Allow access to a method based on roles.
upvoted 0 times
...
Page
18 days ago
A) Allow access to a method based on user identity.
upvoted 0 times
...
...
Dean
2 months ago
I'm not sure about E, but I think A is definitely one of the use cases.
upvoted 0 times
...
Tonette
2 months ago
This is easy! A and E are the obvious answers. The annotation is all about controlling access based on user identity and roles.
upvoted 0 times
Peggie
30 days ago
I agree, A and E make the most sense for method level security with @PreAuthorize.
upvoted 0 times
...
Peggie
1 months ago
Yes, you're right! A and E are the correct answers for @PreAuthorize.
upvoted 0 times
...
...
Dalene
2 months ago
I agree with Reuben. @PreAuthorize is used for role-based access control.
upvoted 0 times
...
Donte
2 months ago
I'm pretty sure B and E are the right choices. The annotation can be used to restrict access based on the returned object and the user's roles.
upvoted 0 times
...
Eleonore
2 months ago
A and E seem like the correct answers here. The @PreAuthorize annotation is used to control access to methods based on the user's identity and roles.
upvoted 0 times
Salome
1 months ago
Yes, @PreAuthorize allows access based on user identity and roles.
upvoted 0 times
...
Salome
1 months ago
I think A and E are the correct answers.
upvoted 0 times
...
...
Reuben
2 months ago
I think A and E are the correct options.
upvoted 0 times
...

Save Cancel