Trace a Full-Stack Web Request from Browser Action to Rendered Result
Company: Micro1
Role: Software Engineer
Category: Software Engineering Fundamentals
Difficulty: medium
Interview Round: Technical Screen
In a screen for a senior full-stack engineer role, after questions on the client and the backend separately, you are asked to connect them: walk through the complete flow of one request in a web application, from the user's action in the browser to the updated result on screen. The interviewer follows up on whatever you mention, so be ready to go one level deeper at any step.
Choose a concrete action to anchor the walkthrough, for example a user editing a field in their profile and pressing Save in a single-page application backed by an API service and a relational database.
```hint Anchor on one action
Fix the action, the data it changes and the user's identity first; every layer then has something specific to do.
```
```hint Ask who can reject the request
At each hop, ask what the request looks like at that point and which component could refuse, delay or cache it.
```
### Clarifying Questions
- Is the application a single-page app, server-rendered, or a mix, and should the walkthrough cover more than one of these?
- Does the request go only to your own backend, or also to third-party services such as an identity provider or a model API?
- How much depth is expected on networking (DNS, TLS, HTTP versions) compared with application code?
### What a Strong Answer Covers
- Client side: event handling, validation, building and sending the request, and the loading, success and error states shown to the user
- Network path: DNS, connection setup and TLS, CDN or edge, load balancer, and what each can cache or reject
- Backend: routing, authentication and authorization, input validation, business logic, data store access and transactions, cache invalidation
- Response path and operations: status codes, how the client reconciles its state, and one request or trace ID followed across every hop
### Follow-up Questions
- Some users report that saving is slow. Which measurements from which layers do you check first, and in what order?
- How does the flow change if the backend must call a slow external API, such as a model inference endpoint, before it can respond?
- Where would you add caching to this flow, and how would you keep cached data correct after a write?
Overview: A full-stack screening question that asks you to trace one user action from the browser through DNS, TLS, the edge, the load balancer, the API server and the database, and back to the rendered UI. It tests how you connect client and backend concerns, handle errors at each hop and explain where latency and observability fit.
Read the full Micro1 Software Engineer interview experience this question came from