VMware vRealize Automation 8.x (2022) — Question 75

Using declarative transaction management, which situation will cause a transaction to roll back by default?

Answer options

Correct answer: A

Explanation

The correct answer is A because declarative transaction management in Spring is designed to automatically roll back transactions when an uncaught unchecked exception occurs. Options B and C are incorrect as checked exceptions do not cause a rollback by default, and D is misleading since rollbacks are not limited to Spring-specific exceptions.