New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

VMware 2V0-72.22 Exam - 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:

0/2000 characters
Elza
4 months ago
I thought it was more about roles and permissions, not just identity!
upvoted 0 times
...
Danilo
4 months ago
B seems off, it’s not about the returned object.
upvoted 0 times
...
Terrilyn
4 months ago
Wait, can @PreAuthorize really do that?
upvoted 0 times
...
Karrie
4 months ago
Totally agree with A and E!
upvoted 0 times
...
Jaclyn
4 months ago
A and E are the right answers!
upvoted 0 times
...
Shawna
5 months ago
I’m leaning towards A and E for this question. They seem to fit the purpose of method level security the best.
upvoted 0 times
...
Louis
5 months ago
I’m a bit confused; I thought @PreAuthorize could also restrict access based on the returned object, but that doesn't seem right now.
upvoted 0 times
...
Kayleigh
5 months ago
I remember practicing a question where we had to choose between roles and something else. I feel like roles might be one of the answers here.
upvoted 0 times
...
Wynell
5 months ago
I think @PreAuthorize is definitely used for allowing access based on user identity, but I'm not sure about the second option.
upvoted 0 times
...
Tiffiny
5 months ago
Hmm, this seems like a pretty straightforward question. I'd probably go with option B - asking my co-worker to read the email message and attachment details. That way I can get the specific information I need without having to dig through my own sent emails.
upvoted 0 times
...
Gaynell
5 months ago
Okay, I remember learning about this in class. I believe the functionality that allows users to place orders on behalf of an account is called "Effective Account." I'm pretty confident that's the right answer.
upvoted 0 times
...
Dolores
5 months ago
Wait, I'm a bit confused. I thought moving a file online meant you could access it, but I'm not sure about the impact on DML or backup/restore. I'll need to review my notes on that.
upvoted 0 times
...
Kate
10 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
9 months ago
User 2
upvoted 0 times
...
Joana
10 months ago
User 1
upvoted 0 times
...
...
Ricarda
10 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
Viva
8 months ago
Definitely, A and E are the correct use cases for @PreAuthorize.
upvoted 0 times
...
Viva
8 months ago
I agree, C and D don't seem like use cases for @PreAuthorize. A and E make more sense.
upvoted 0 times
...
Virgina
9 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
...
Antione
9 months ago
E) Allow access to a method based on roles.
upvoted 0 times
...
Page
9 months ago
A) Allow access to a method based on user identity.
upvoted 0 times
...
...
Dean
10 months ago
I'm not sure about E, but I think A is definitely one of the use cases.
upvoted 0 times
...
Tonette
10 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
10 months ago
I agree, A and E make the most sense for method level security with @PreAuthorize.
upvoted 0 times
...
Peggie
10 months ago
Yes, you're right! A and E are the correct answers for @PreAuthorize.
upvoted 0 times
...
...
Dalene
10 months ago
I agree with Reuben. @PreAuthorize is used for role-based access control.
upvoted 0 times
...
Donte
10 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
11 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
10 months ago
Yes, @PreAuthorize allows access based on user identity and roles.
upvoted 0 times
...
Salome
10 months ago
I think A and E are the correct answers.
upvoted 0 times
...
...
Reuben
11 months ago
I think A and E are the correct options.
upvoted 0 times
...

Save Cancel