JFrog interview question

Design a simple web application with DB and improve it by caching.