InterviewStack.io LogoInterviewStack.io

Backend-for-Frontend and Client-Specific API Design Questions

Shaping APIs to the needs of specific consumers: Backend-for-Frontend (BFF) pattern, aggregating/tailoring payloads per client, mobile vs. web bandwidth and battery constraints, and reducing round trips for constrained clients. Covers response shaping, partial responses, and balancing a generic API against client-optimized endpoints.

MediumTechnical
61 practiced

Rate limiting must protect APIs from abuse while minimizing disruption for mobile users on shared networks. Propose a rate limiting strategy suitable for mobile apps (per-user, per-device, burst tokens) and describe how you would expose rate limit state to clients and handle quota exhaustion.

MediumTechnical
47 practiced

Design a telemetry and monitoring plan for mobile-facing APIs. List key metrics (latency P95/P99, error rates, sync success rate, token refresh failures), logging practices, and how you'd detect and roll back a release that degrades mobile UX without full client updates.

HardTechnical
40 practiced

You need to implement server-side paging that supports very large result sets efficiently for mobile clients that often disconnect mid-scroll. Propose an API and server implementation (cursoring, stateful cursors, resume tokens) that avoids performance pitfalls of offset pagination and prevents exhausting server state.

EasyTechnical
40 practiced

Explain when you would choose GraphQL over REST for a mobile client-facing API and vice versa. Provide at least three concrete scenarios that favor each approach with mobile-specific reasoning.

HardSystem Design
34 practiced

A feature requires sending large binary attachments from mobile to server (e.g., video). Design an upload API that is resilient across flaky mobile networks, supports resuming, and minimizes server cost. Include URL/signature scheme, chunking strategy, data integrity checks, and authorization model.

Unlock Full Question Bank

Get access to all 33 Backend-for-Frontend and Client-Specific API Design interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.