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 12 Question 51 Discussion

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

Which statement is true about the @PropertySource annotation? (Choose the best answer.)

Show Suggested Answer Hide Answer
Suggested Answer: C, D

Contribute your Thoughts:

Gilbert
2 months ago
I'm leaning towards option B, as it sounds like it could be used to easily look up and return a single property value from an external file. But I'm not 100% sure, so I'll double-check the details.
upvoted 0 times
Jose
22 days ago
User3: I'm not sure, but I think option D is the correct one. It adds name/value pairs to the Spring Environment from an external source.
upvoted 0 times
...
Rebecka
25 days ago
User2: I agree, but let's double-check the details just to be sure.
upvoted 0 times
...
Kiley
1 months ago
User1: I think option B is correct, it does sound like it could be used to easily look up a single property value.
upvoted 0 times
...
...
Olene
2 months ago
Haha, option C is a good one! Designating the file directory of the application.properties file? That's a bit too specific, don't you think?
upvoted 0 times
Bernadine
2 months ago
User 2: I agree, it's used to designate the location of the application.properties file.
upvoted 0 times
...
Nicolette
2 months ago
User 1: I think option A is the correct one.
upvoted 0 times
...
...
Dottie
3 months ago
I'm not sure, but I think B is the right answer.
upvoted 0 times
...
Avery
3 months ago
I believe it's D because it adds name/value pairs to the Spring Environment.
upvoted 0 times
...
Malinda
3 months ago
Option A seems like a reasonable answer, but I'm not sure if that's the best one. I'll have to review the documentation on the @PropertySource annotation to be sure.
upvoted 0 times
Laurel
1 months ago
User1: That could be true, let's verify before making a final decision.
upvoted 0 times
...
Alex
1 months ago
User3: I believe it's used to add name/value pairs to the Spring Environment.
upvoted 0 times
...
Marya
2 months ago
User2: I agree, but let's double check the documentation to be sure.
upvoted 0 times
...
Shayne
2 months ago
User1: I think option A is correct.
upvoted 0 times
...
...
Benedict
3 months ago
I think option D is the correct answer. The @PropertySource annotation is used to add a set of name/value pairs to the Spring Environment from an external source, which could be a properties file, YAML file, or any other supported format.
upvoted 0 times
...
Roosevelt
3 months ago
I think the correct answer is A.
upvoted 0 times
...

Save Cancel