Back to Interview Hub

Architecture Design Questions

Clean architecture, solid principles, microservices vs monolith, and design patterns.

Showing 1-6 of 33 questions

1 / 6
1QuestionsHard🔥 96% Asked

Service Discovery

Asked in:UberNetflix

Scenario: Microservice IP keeps changing.

Fix: Client-side (Netflix Eureka) vs Server-side (AWS ALB) discovery. Consul/Zookeeper for health checks.

2QuestionsHard🔥 80% Asked

Circuit Breaker Pattern

Asked in:PaytmAmazonGoogleMeta

Scenario: One microservice is down, others are waiting and crashing.

Fix: Resilience4j/Hystrix. 3 states: Closed (normal), Open (fail fast), Half-Open (test recovery).

3QuestionsHard🔥 88% Asked

Bulkhead Pattern

Asked in:RazorpayApple

Scenario: One service's thread pool is full, the whole app hangs.

Fix: Isolate resources (threads/connections) like ship bulkheads. If one sinks, the rest survive.

Note: For more insights, read about MLOps & Model Deployment.

4QuestionsHard🔥 89% Asked

Retry with Exponential Backoff

Asked in:CredNetflixZomatoSwiggy

Scenario: API fails due to a network blip.

Fix: Retry, but double the delay each time (1s, 2s, 4s). Add Jitter so everyone does not retry at the exact same time (Thundering herd).

5QuestionsHard🔥 93% Asked

API Versioning

Asked in:WiproMetaAccenture

Scenario: Need to change the API without breaking old clients.

Fix: URI versioning (/v1/users), Header versioning (Accept: v1), or Query param.

6QuestionsHard🔥 86% Asked

GraphQL vs REST vs gRPC

Asked in:MicrosoftOracle

Scenario: Making a choice.

Fix: REST = Simple, public APIs. GraphQL = Flexible queries, mobile apps (fixes over-fetching). gRPC = Internal microservices (Protobuf, HTTP/2, very fast).