Fast Switch interview question

Related to persistent layer like spring jpa?