16 Interview Questions

Interview Questions for a Full Stack Developer

To interview a full stack developer, test both client and server competence plus the seam between them: API design, state management, authentication flow, and database modeling. This set probes how a candidate moves a feature end to end, where they place logic, and how they reason about contracts between frontend and backend.

Structure a full stack interview around a single feature traced from UI to database, so you can see how the candidate connects layers rather than treating frontend and backend in isolation. Score breadth plus enough depth in at least one layer.

Technical & Role-Specific

Walk me through building a feature end to end, from a button click to a row in the database and back.

What to look for: Coherent flow across request, validation, persistence, and response; clear ownership of error handling and loading states at each layer.

How do you design an API contract so the frontend and backend can develop in parallel?

What to look for: Agreeing on a schema or OpenAPI spec first, mocking endpoints, versioning, and treating the contract as the source of truth.

Where do you put validation: client, server, or both, and why?

What to look for: Knows client validation is UX only and the server is the trust boundary, never relying on the client for security.

How do you manage authentication and sessions across a single-page app and an API?

What to look for: Understands tokens vs cookies, httpOnly and SameSite, refresh flows, CSRF, and where secrets live.

You have an N+1 query problem on a list endpoint. How do you find and fix it?

What to look for: Inspects query logs or an ORM profiler, uses eager loading or a join or batching, and verifies the count dropped.

How do you keep frontend and backend types in sync to avoid runtime shape mismatches?

What to look for: Shared types, codegen from the schema, or end-to-end typing; awareness that JSON over the wire is untyped.

Describe how you'd implement optimistic UI updates and roll back on failure.

What to look for: Updates local state immediately, reconciles with the server response, and handles the error path cleanly without leaving stale UI.

How do you structure a project so business logic isn't tangled into UI components or route handlers?

What to look for: Separates concerns into a service or domain layer, keeps controllers and components thin, and makes logic testable independent of the framework.

Behavioral

When you're stronger on one side of the stack, how do you keep your weaker side from becoming a liability?

What to look for: Honest self-assessment, deliberate skill-building, and knowing when to pull in a specialist.

Tell me about a time a frontend and backend assumption diverged and caused a bug.

What to look for: Recognizes the contract gap, improves the handoff, and adds a test or schema check to prevent recurrence.

Describe a feature you shipped solo across the whole stack. What was hardest?

What to look for: Ownership end to end, realistic account of the integration pain, and pragmatic scoping.

How do you decide when a piece of logic belongs on the client versus the server?

What to look for: Reasons about trust, performance, data sensitivity, and duplication, placing security-critical logic server-side by default.

Situational / Problem-Solving

A page loads slowly and you don't know if it's the query, the API, or the render. How do you diagnose it?

What to look for: Measures each layer with browser devtools, server timing, and DB logs before guessing, then fixes the proven bottleneck.

Product wants a new field shown everywhere by Friday. How do you plan the work across the stack?

What to look for: Migration, API change, type updates, UI, and tests sequenced sanely, with backward compatibility considered.

You need to add real-time updates to an existing request-response app. What are your options?

What to look for: Weighs polling, SSE, and WebSockets against complexity and scale, and picks the simplest sufficient option.

An API change you need would break the existing mobile client. How do you roll it out?

What to look for: Versions the endpoint or adds the field additively, supports both shapes during transition, and coordinates the client cutover.

FAQ

Frequently asked questions

How many interview rounds for a Full Stack Developer? +
Typically three to four: a screen, a practical feature-building exercise touching both layers, a design or architecture discussion, and a team-fit round. Because the role is broad, weight a real end-to-end task over isolated frontend and backend puzzles.
Should a full stack developer be equally strong on both sides? +
Rarely, and that's fine. Most strong full stack developers have a primary side and working competence on the other. Screen for enough depth in one layer plus the judgment to connect layers cleanly; a 'jack of all trades, master of none' who can't go deep anywhere is the real risk.
What separates a full stack developer from a frontend or backend specialist? +
The differentiator is the seam: API contracts, auth flow, data shape consistency, and tracing a feature end to end. A specialist can go deeper in their layer, but the full stack hire's value is owning the whole vertical slice and reasoning about handoffs.
Do I need a live coding round for this role? +
A short practical task that spans an endpoint and a UI component gives far more signal than algorithm trivia for this role. It reveals how the candidate connects layers, handles errors, and manages state, which is exactly the day-to-day work.
Built for recruiters & hiring teams

See how much faster your team could hire

Get a personalized walkthrough of Pitch N Hire on your own roles and workflow. No slides, no obligation.

Prefer to talk? Book a demo · View pricing

Free 1-user plan · No credit card · Talk to a real hiring expert

One Hiring Infrastructure.
Zero Tool Chaos.

Demos are consultative. We respect privacy and enterprise
governance. No lock-ins.

Sign up free Book a demo