Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam 2V0-72.22 All Questions

View all questions & answers for the 2V0-72.22 exam

Exam 2V0-72.22 topic 1 question 68 discussion

Actual exam question from VMware's 2V0-72.22
Question #: 68
Topic #: 1
[All 2V0-72.22 Questions]

Refer to the exhibit.



Which two statements are correct regarding auto-configuration of DataSource and JdbcTemplate beans given a Spring Boot application with only these two dependencies? (Choose two.)

  • A. A DataSource bean will not be auto-configured.
  • B. A JdbcTemplate bean will not be auto-configured.
  • C. A JdbcTemplate bean will be auto-configured.
  • D. A DataSource bean will be auto-configured only if a JdbcTemplate bean is explicitly defined.
  • E. A DataSource bean will be auto-configured.
Show Suggested Answer Hide Answer
Suggested Answer: CE 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
2211094
4 months, 3 weeks ago
CE is valid answer. Because spring boot does this auto-configurations based on those dependencies under the hood, you do not need to define them explicitly.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...