Explaining Your Design and Tech Choices
50 min · Intermediate
Design questions test whether you understand why your project is built the way it is. A good answer walks one request through the layers, names the need behind each tool, admits the trade-off and says what you would improve.
Topics in this lesson
- Architecture walk-through: one request through the layers
- Answering "why this tool?" with need, choice and trade-off
- "What would you change?" and "how would it scale?"
- Drawing your design on paper in two minutes
Interview questions this lesson answers
- What is layered architecture?
- What is the difference between a controller and a service?
- What is a trade-off? Give one from your project.
- Walk me through the architecture of your project.
- Why did you use Spring Boot and not plain Java?
- Why MySQL and not MongoDB?
- You used JWT. How do you log a user out?
- Why is the price a BigDecimal and not a double?
- If you started this project again, what would you change?
- How would your project scale to 100 times more users?
Sign in free to continue this lesson
Create a free account to read every lesson, practise with the exercises and keep track of your progress.