Interview Fundamentals
Core Java concepts, practical Q&A, and coding discussion topics asked in technical interviews.
-
Database CPU Is at 100 Percent: How Do You Investigate?
Series: Backend Interview Mastery
Use a production-safe checklist to investigate database CPU at 100 percent: query plans, locks, indexes, connections, replicas, and rollback.
-
API Latency Jumps from 100 ms to 5 Seconds: How Do You Debug It?
Series: Backend Interview Mastery
Walk through a senior backend interview diagnosis for a slow API: compare traces, pools, database plans, GC, caches, and downstream timeouts.
-
Distributed Transaction Failure: Order Succeeds but Payment Fails
Series: Backend Interview Mastery
Solve an order-payment distributed transaction failure with a Saga, durable state machine, compensation, idempotency, and reconciliation.
-
A Downstream Service Times Out: How Do You Contain the Failure?
Series: Backend Interview Mastery
Answer a backend interview scenario about downstream timeouts with deadlines, retry budgets, circuit breakers, bulkheads, and graceful fallbacks.
-
How Would You Prevent Duplicate Payments?
Series: Backend Interview Mastery
A practical backend interview scenario for preventing duplicate payments with idempotency keys, unique constraints, retries, and reconciliation.
-
Duplicate Webhooks: How Do You Process Them Safely?
Series: Backend Interview Mastery
Design an idempotent webhook consumer for a backend interview with event IDs, deduplication, signatures, ordering, retries, and replay.
-
Kafka Consumer Lag Keeps Growing: What Do You Do?
Series: Backend Interview Mastery
Diagnose and recover Kafka consumer lag in a backend interview using partition math, consumer throughput, rebalances, retries, and backpressure.
-
Last-Item Inventory Race Condition: Two Customers Buy at Once
Series: Backend Interview Mastery
Solve the last-item inventory race condition in a backend interview with atomic updates, reservations, idempotency, and contention trade-offs.
-
Redis Goes Down: Should the Application Fail?
Series: Backend Interview Mastery
Design a graceful Redis outage response for a backend interview: cache fallback, sessions, locks, persistence, and recovery.
-
Traffic Increases 100x: How Does the Architecture Evolve?
Series: Backend Interview Mastery
Work through a 100x traffic increase in a backend interview: capacity math, caching, queues, replicas, sharding, rate limits, and rollout stages.