Spring Boot gives you sensible defaults, embedded servers, and fast iteration—ideal for microservices and modern greenfield projects.
Traditional Spring (XML or heavy Java config) is less common in new codebases, but interviewers still expect you to explain beans, dependency injection, and the application context.
Our recommendation: learn Spring Boot first, then deepen on core Spring where Boot hides complexity—transactions, security, and testing.