VMware vRealize Automation 8.x (2022) — Question 24
Which dependency enables an automatic restart of the application as code is changed during development of a Spring boot configuration on a web application? (Choose the best answer.)
Answer options
- A. spring-boot-devtools
- B. spring-boot-initializr
- C. spring-boot-starter-devtools
- D. spring-boot-restart
Correct answer: A
Explanation
The correct answer is A, spring-boot-devtools, which specifically provides features like automatic restarts to enhance development efficiency. Options B and C are related to project setup and additional starter dependencies but do not include automatic restart functionality. Option D, spring-boot-restart, is not a recognized dependency in the Spring Boot ecosystem.