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 3 Question 36 Discussion

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

Which two statements are correct regarding the differences between @ConfigurationProperties and @Value? (Choose two.)

Show Suggested Answer Hide Answer

Contribute your Thoughts:

Bettye
23 days ago
Hmm, this is a tricky one. I'm leaning towards C and E as well, but I'm not 100% sure. Guess I'll have to review the docs again.
upvoted 0 times
Verlene
3 days ago
I think C is correct because type-safety is important.
upvoted 0 times
...
...
Amie
29 days ago
Haha, @Value must be used for environment variables? That's a good one! I'm going with C and E as the correct answers.
upvoted 0 times
Yan
10 days ago
E) @ConfigurationProperties supports relaxed binding of properties, but not property binding through SpEL.
upvoted 0 times
...
Louann
18 days ago
C) @ConfigurationProperties is preferable over @Value when type-safety during property binding is a concern.
upvoted 0 times
...
...
Chun
1 months ago
I'm not sure about B and D. I know @Value doesn't support SpEL, but I thought @ConfigurationProperties could bind properties from both .properties and .yml files.
upvoted 0 times
Buddy
5 days ago
I thought @ConfigurationProperties could bind properties from both .properties and .yml files.
upvoted 0 times
...
Silva
17 days ago
E) @ConfigurationProperties supports relaxed binding of properties, but not property binding through SpEL.
upvoted 0 times
...
Ilona
20 days ago
C) @ConfigurationProperties is preferable over @Value when type-safety during property binding is a concern.
upvoted 0 times
...
Audrie
23 days ago
A) @Value must be used for environment variables, as @ConfigurationProperties cannot access the environment.
upvoted 0 times
...
...
Lyndia
2 months ago
I believe E is also correct because @ConfigurationProperties supports relaxed binding.
upvoted 0 times
...
Shayne
2 months ago
I think the correct answers are C and E. @ConfigurationProperties is definitely preferable for type-safety, and it supports relaxed binding but not SpEL.
upvoted 0 times
Laurel
1 months ago
Yes, @ConfigurationProperties does support relaxed binding.
upvoted 0 times
...
Laurel
1 months ago
I agree, @ConfigurationProperties is better for type-safety.
upvoted 0 times
...
...
Alease
2 months ago
I agree with you, Annette. @Value is more for simple binding of properties.
upvoted 0 times
...
Annette
2 months ago
I think C is correct because @ConfigurationProperties provides type-safety.
upvoted 0 times
...

Save Cancel