InterviewStack.io LogoInterviewStack.io

Backend Architecture and Service Design Questions

Focuses on designing backend systems and services with clear responsibilities, interfaces, and manageable dependencies. Topics include service oriented architecture and microservices trade offs, service boundaries and domain driven design, data ownership and consistency models, idempotency and error handling, application programming interface design and versioning, separation of concerns and modular code organization, testing strategies, deployment and release patterns, scalability and fault tolerance patterns, observability and monitoring, operational concerns including capacity planning and dependency management, and maintainability practices to enable teams to extend systems without constant refactoring. Senior level discussion includes designing for evolution, team ownership models, and balancing complexity versus simplicity across the service landscape.

HardSystem Design
61 practiced
Design an architecture for a checkout/payment pipeline that guarantees exactly-once payment processing when interacting with an external payment gateway that may send duplicate callbacks. Focus on idempotency, deduplication, compensation actions, ordering guarantees, and SLO impacts.
HardTechnical
76 practiced
Design a strategy for service evolution across many teams to minimize costly refactors. Describe governance (API catalogs, design docs), technical patterns (stable contracts, adapters), and operational practices (deprecation schedules, discovery tools) to enable safe, incremental evolution.
HardSystem Design
57 practiced
Design a chaos engineering plan focused on the critical payment path. Include types of failure injections to run, the steady-state hypothesis, blast radius controls, metrics to monitor during experiments, and the process for automating experiments in CI or staging.
HardTechnical
62 practiced
You suspect a memory leak in a Java microservice causing intermittent OOM kills in 1% of pods. Describe a step-by-step investigation: what metrics and artifacts you’d collect, how to reproduce locally, mitigation to reduce impact on production, and rollout plan for a fix.
EasySystem Design
71 practiced
Given an online store domain (catalog, inventory, checkout, payments, recommendations), propose service boundaries using domain-driven design principles. For each proposed service, state who owns the data, the API contract shape at a high level, and how you would minimize cross-service coupling.

Unlock Full Question Bank

Get access to hundreds of Backend Architecture and Service Design interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.