Digit Insurance interview question

Related to database and java and spring boot