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
- 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?
- In Spring,
checkout()callsthis.placeOrder(), which is annotated@Transactional. What happens? - A Spring @Transactional method throws a checked exception. By default, the transaction is…
- 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?
- Pool throughput is roughly…
All quizzes · Sign in to save your scores and get the questions you miss back in Daily Review.