InterviewStack.io LogoInterviewStack.io

Architectural Patterns and Anti-Patterns Questions

The reusable structures and common traps of system design: layered, hexagonal, CQRS, and event-sourcing patterns, and anti-patterns such as the distributed monolith, chatty services, and god-service sprawl. Covers when each pattern applies and the smell that signals a wrong turn. A catalog-level view distinct from bespoke case studies.

MediumSystem Design
79 practiced

Design a caching and invalidation strategy for a global search service for listings that supports low latency (<100ms p95) while accepting updates to listings to become visible within 5 seconds. Explain indexing, cache layers (CDN, app cache, local caches), invalidation mechanics, and how to handle partial failures or network partitions.

MediumSystem Design
84 practiced

Design a global distribution strategy to achieve <50ms p95 read latency for users worldwide for a listings read API. Discuss multi-region replicas, read locality, write routing, replication lag, and techniques to handle eventual consistency across regions while preserving a good user experience.

MediumTechnical
150 practiced

An external payment gateway starts failing intermittently under higher load. As EM, propose resilience patterns and operational steps (circuit breakers, retries, backpressure, fallback flows) to protect the booking system and user experience. Explain trade-offs of each approach.

MediumTechnical
96 practiced

You need to decide between denormalizing a read model (for faster reads) and maintaining normalized writes (for transactional simplicity). As an engineering manager, describe the decision criteria, migration plan, and how you would measure whether the denormalized model delivers expected benefits without unacceptable costs.

MediumTechnical
72 practiced

Define three SLOs for a search endpoint, a booking completion flow, and a payments orchestration service. For each SLO, describe the alerting thresholds, corresponding runbook actions, and how to use error budgets to balance feature releases and reliability work.

Unlock Full Question Bank

Get access to all 36 Architectural Patterns and Anti-Patterns interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.