Free quiz · 23 questions in the bank

Transactions & Locking Quiz

Answer 10 random questions about Transactions & Locking, then see your score and why each answer is right. Every attempt draws a new set.

Sample questions

  1. A signup inserts a user, then a team, then a membership, each with its own commit. The pod is killed after the team insert. What is left in the database?
  2. In Spring, checkout() calls this.placeOrder(), which is annotated @Transactional. What happens?
  3. A Spring @Transactional method throws a checked exception. By default, the transaction is…
  4. Your checkout calls a payment API inside a transaction that holds a row lock on the event's inventory. The API slows to 8 s. What happens to other checkouts for that event?
  5. Pool throughput is roughly…

All quizzes · Sign in to save your scores and get the questions you miss back in Daily Review.

Was this page helpful?