nerdexam
Broadcom-VMware

2V0-72.22PSE · Question #99

2V0-72.22PSE Question #99: Real Exam Question with Answer & Explanation

The correct answer is C. @ConfigurationProperties is preferable over @Value when type-safety during property binding is E. @ConfigurationProperties supports relaxed binding of properties, but not property binding through. See the full explanation below for the reasoning.

Question

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

Options

  • A@Value must be used for environment variables, as @ConfigurationProperties cannot access the
  • B@Value supports relaxed binding of properties, but not property binding through SpEL.
  • C@ConfigurationProperties is preferable over @Value when type-safety during property binding is
  • D@ConfigurationProperties only bind properties from .properties files, not from .yml files.
  • E@ConfigurationProperties supports relaxed binding of properties, but not property binding through

Community Discussion

No community discussion yet for this question.

Full 2V0-72.22PSE Practice