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 2V0-72.22 Exam - Topic 9 Question 74 Discussion

Posted by Patti on Jul 14, 2025 at 06:20 PM

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

Get Premium 2V0-72.22 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
28 comments · newest first
AR
Arthur 10 months ago
Yeah, @Value does support SpEL, but it's not as flexible as @ConfigurationProperties.
CA
Carey 10 months ago
@Value is great for simple cases, but @ConfigurationProperties wins for complex ones.
GE
Gerry 10 months ago
@ConfigurationProperties is definitely better for type-safety!
MI
Michell 11 months ago
I thought @Value could access environment variables too?
CA
Catrice 11 months ago
Wait, does @ConfigurationProperties really not work with .yml files? That seems off.
LA
Lashawna 11 months ago
I vaguely recall that @Value uses SpEL, but I can't remember if @ConfigurationProperties does too. I hope I got that right!
MA
Marguerita 11 months ago
I practiced a question similar to this, and I think @ConfigurationProperties is definitely preferable for type-safety.
GL
Glendora 11 months ago
I think @Value can handle environment variables, but I’m a bit confused about relaxed binding. Was that only for @ConfigurationProperties?
ME
Melissia 12 months ago
I remember that @ConfigurationProperties is better for type-safety, but I'm not sure if it can access environment variables like @Value.
VA
Vanesa 12 months ago
I'm feeling pretty confident about this one. The differences between the two annotations are well-defined, and I'm ready to tackle this question.
LE
Lenna 1 year ago
Relaxed binding and SpEL support are important distinctions between the two. I'll make sure to highlight those in my answer.
DE
Detra 1 year ago
Okay, I think I've got a handle on this. The key differences seem to be around type-safety and property binding support.
HE
Hermila 1 year ago
Hmm, I'm a bit confused about the environment variable part. I'll need to review that before answering.
AL
Alexis 1 year ago
This question seems straightforward, but I want to make sure I understand the differences between @ConfigurationProperties and @Value correctly.
KA
Kaitlyn 1 year ago
That's a good point, Ronnie. @ConfigurationProperties does support relaxed binding.
RO
Ronnie 1 year ago
I believe E is also correct because @ConfigurationProperties supports relaxed binding.
IL
Iluminada 1 year ago
I agree with you, Kaitlyn. @ConfigurationProperties is definitely better for type-safety.
BR
Brunilda 1 year ago
B sounds like it could be correct. I remember having issues with SpEL binding when using @Value in the past.
KA
Kassandra 1 year ago
↳ replying to Brunilda
User 2
AS
Asuncion 1 year ago
↳ replying to Brunilda
User 1
KI
Kirk 1 year ago
Ha! Imagine trying to use @Value for environment variables. That's like trying to use a screwdriver to hammer a nail. Definitely A is wrong.
KA
Kaitlyn 1 year ago
I think C is correct because @ConfigurationProperties provides type-safety.
BO
Bok 1 year ago
Hmm, I'm not sure about D. I've used @ConfigurationProperties with YAML files before, so that one doesn't seem right to me.
GE
Gene 1 year ago
↳ replying to Bok
E) @ConfigurationProperties supports relaxed binding of properties, but not property binding through SpEL.
GE
Gene 1 year ago
↳ replying to Bok
C) @ConfigurationProperties is preferable over @Value when type-safety during property binding is a concern.
SH
Sherrell 1 year ago
I think C and E are the correct answers. @ConfigurationProperties is great for type-safety, and it supports relaxed binding unlike @Value.
FL
Flo 1 year ago
↳ replying to Sherrell
Yes, @ConfigurationProperties does support relaxed binding.
FL
Flo 1 year ago
↳ replying to Sherrell
I agree, @ConfigurationProperties is better for type-safety.
0/2000 characters

Save Cancel