THE INTERVIEW PRACTICE ROOM
Knowledge bank · v1P
THE KNOWLEDGE BANK

One question. More depth.

Find a scenario, form an answer, and see where the follow-up takes you.

30 scenarios to explore

Authentication
The token is valid. The user logged out.

Implement middleware for your APIs to handle authentication and authorization. Walk through what you would check before allowing a request.

Backend Engineer
Databases
Two customers. One item left.

Before creating an order, your API checks that a product is in stock. How would you implement the reservation?

Backend Engineer
Architecture
The team wants a rewrite.

Engineers say the current service is hard to change and should be rewritten.

Engineering Lead
AlifBay Prep