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
2 months 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
Elsa
4 days ago
Let's double-check the documentation to be sure.
upvoted 0 times
...
Wilburn
5 days ago
I agree, E seems right too for relaxed binding.
upvoted 0 times
...
Verlene
26 days ago
I think C is correct because type-safety is important.
upvoted 0 times
...
...
Amie
2 months 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
1 months ago
E) @ConfigurationProperties supports relaxed binding of properties, but not property binding through SpEL.
upvoted 0 times
...
Louann
1 months ago
C) @ConfigurationProperties is preferable over @Value when type-safety during property binding is a concern.
upvoted 0 times
...
...
Chun
2 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
28 days ago
I thought @ConfigurationProperties could bind properties from both .properties and .yml files.
upvoted 0 times
...
Silva
1 months ago
E) @ConfigurationProperties supports relaxed binding of properties, but not property binding through SpEL.
upvoted 0 times
...
Ilona
1 months ago
C) @ConfigurationProperties is preferable over @Value when type-safety during property binding is a concern.
upvoted 0 times
...
Audrie
2 months ago
A) @Value must be used for environment variables, as @ConfigurationProperties cannot access the environment.
upvoted 0 times
...
...
Lyndia
3 months ago
I believe E is also correct because @ConfigurationProperties supports relaxed binding.
upvoted 0 times
...
Shayne
3 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
2 months ago
Yes, @ConfigurationProperties does support relaxed binding.
upvoted 0 times
...
Laurel
2 months ago
I agree, @ConfigurationProperties is better for type-safety.
upvoted 0 times
...
...
Alease
3 months ago
I agree with you, Annette. @Value is more for simple binding of properties.
upvoted 0 times
...
Annette
3 months ago
I think C is correct because @ConfigurationProperties provides type-safety.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77