nerdexam
Broadcom-VMware

2V0-72.22 · Question #29

Which statement describes the propagation behavior of Propagation.REQUIRES_NEW annotation? (Choose the best answer.)

The correct answer is C. Starts a new transaction; if an active transaction already exists, it is suspended. See the full explanation below for the reasoning.

Question

Which statement describes the propagation behavior of Propagation.REQUIRES_NEW annotation? (Choose the best answer.)

Options

  • AStarts a new transaction but throws an exception if an active transaction already exists.
  • BJoins a transaction if one already exists; throws an exception if an active transaction does not
  • CStarts a new transaction; if an active transaction already exists, it is suspended.
  • DRuns in a nested transaction if an active transaction exists; throws an exception if an active

How the community answered

(45 responses)
  • A
    16% (7)
  • B
    7% (3)
  • C
    76% (34)
  • D
    2% (1)

Community Discussion

No community discussion yet for this question.

Full 2V0-72.22 Practice