Skip to content
Sharp

Spring Core · interview question

In a Spring Boot application, where would you typically configure transaction management settings like rollback rules?

Multiple choiceMediumchapter-9-curatedpremiumspring-coretransactions-and-proxies
Choose one answer
Answer and explanation

Correct answer

B. In a configuration class

Why

Transaction management settings, such as rollback rules, are typically configured in a dedicated configuration class. This allows for clear separation of configuration logic and application code.

Test yourself on Spring Core

A free test with instant, explained results. No account needed.

Start free test
All Spring Core questions →