exam questions

Exam 2V0-72.22 All Questions

View all questions & answers for the 2V0-72.22 exam

Exam 2V0-72.22 topic 1 question 59 discussion

Actual exam question from VMware's 2V0-72.22
Question #: 59
Topic #: 1
[All 2V0-72.22 Questions]

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

  • A. Starts a new transaction but throws an exception if an active transaction already exists.
  • B. Joins a transaction if one already exists; throws an exception if an active transaction does not exist.
  • C. Starts a new transaction; if an active transaction already exists, it is suspended.
  • D. Runs in a nested transaction if an active transaction exists; throws an exception if an active transaction does not exist.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
quakquak3
1 month, 1 week ago
Selected Answer: C
for explanation of REQUIRES_NEW, see https://docs.spring.io/spring-framework/reference/data-access/transaction/declarative/tx-propagation.html#tx-propagation-requires_new for all enum values and their meanings, see https://docs.spring.io/spring-framework/docs/6.2.1/javadoc-api/org/springframework/transaction/annotation/Propagation.html
upvoted 1 times
...
Benhar
3 months, 2 weeks ago
This question was in my exam
upvoted 2 times
...
Azuni
4 months, 4 weeks ago
This question was in my exam.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago