2V0-72.22PSE · Question #36
What is a Spring Boot starter dependency? (Choose the best answer.)
The correct answer is D. An easy way to include multiple, coordinated dependencies related to a specific technology. Option D is correct because a Spring Boot starter is a curated, pre-packaged set of dependency descriptors that bring in everything you need for a particular feature or technology - for example, spring-boot-starter-web pulls in Spring MVC, an embedded Tomcat, Jackson, and their…
Question
What is a Spring Boot starter dependency? (Choose the best answer.)
Options
- AA setting for specifying which code you want Spring Boot to generate for you.
- BA specific POM which you must build to control Spring Boot's opinionated runtime.
- CA pre-existing model project you can download and use as the basis of your project.
- DAn easy way to include multiple, coordinated dependencies related to a specific technology,
How the community answered
(36 responses)- A3% (1)
- B3% (1)
- C6% (2)
- D89% (32)
Explanation
Option D is correct because a Spring Boot starter is a curated, pre-packaged set of dependency descriptors that bring in everything you need for a particular feature or technology - for example, spring-boot-starter-web pulls in Spring MVC, an embedded Tomcat, Jackson, and their compatible versions, all in one declaration. This removes the burden of manually hunting down compatible library versions.
Why the others are wrong:
- A describes something closer to code generation tools like Spring Initializr or Lombok - not starters themselves.
- B is a fabrication; you don't build a special POM to control Spring Boot's runtime. The parent POM (
spring-boot-starter-parent) exists, but you inherit it, not build it. - C describes a project template or archetype (like what Spring Initializr generates), not a dependency.
Memory tip: Think of starters as a "meal combo" at a restaurant - instead of ordering each ingredient separately (risking incompatibility), you order one combo and get everything bundled and guaranteed to work together. The word starter = "start using technology X with one line."
Topics
Community Discussion
No community discussion yet for this question.