Once a day you need to process tens of millions of rows from the database and recompute data based on them, in Java with Spring and JPA. How would you design that processing?
~10 min by voice
How to approach it
This checks whether the candidate understands how Hibernate and the database behave at large volumes: persistence context memory, pagination, batching, transaction size. And whether they can design a reliable job that is restartable, parallel and safe for the production database.
The interviewer will ask this question and listen. Think out loud and ask for a hint if you need one. When you're done, pause or tap “That's my answer”. In about a minute, your score and the points you covered show up here.