Skip to content
Sharp

Spring Core · interview question

Which annotation would you use to enable transaction management in a Spring Boot application?

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

Correct answer

A. @EnableTransactionManagement

Why

The @EnableTransactionManagement annotation is used to enable Spring's annotation-driven transaction management capability, allowing @Transactional to be recognized and processed.

Test yourself on Spring Core

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

Start free test
All Spring Core questions →