💼

Company Round Scenarios

Real production-debugging and system-behavior scenarios asked in company-specific rounds — the 'your service is doing X in production, what do you check' questions that test judgment, not textbook recall.

Performance & Memory

Microservices Fundamentals (Expert Round)

Consistency & Transactions

Microservice Design

Scale & Rate Limiting

Deployment & Operations

Q

Right after a deployment, your database connection pool is exhausted instantly and new requests start failing. What would you check?

advancedPro

Tests whether you know to check for connection leaks (unclosed connections), a misconfigured pool size, or a sudden spike in concurrent traffic post-deploy.

Q

How do you identify and fix an N+1 query problem in Hibernate that's only showing up in production, not in your local tests?

intermediatePro

Tests whether you know how to spot N+1 via SQL logging or an APM tool, and fix it with fetch joins or EntityGraph.

Q

Consumer lag keeps growing in your Kafka pipeline, but CPU usage on the consumer is low. What could be the bottleneck?

advancedPro

Tests whether you know low CPU with rising lag usually points to a slow downstream call inside the consumer, not a compute-bound processing loop.

Q

A single malformed message is crashing your Kafka consumer every time it retries and re-reads the same message. How do you handle this poison pill?

advancedPro

Tests whether you know to route unprocessable messages to a dead-letter topic instead of blocking the whole partition indefinitely.

Q

During a Kafka partition rebalance, you notice some messages get processed more than once. Why does this happen and how do you handle it?

advancedPro

Tests whether you know rebalances can reassign a partition before an offset commit lands, and why consumer-side idempotency is the real fix.

Q

After a blue-green deployment, old instances are still serving some traffic. What would cause this and how do you fix it?

advancedPro

Tests whether you know to check load balancer deregistration delay, DNS caching, and connection draining settings.

Q

Half your pods are running the new version and half are still on the old version, well after a rollout should have finished. What would you check?

advancedPro

Tests whether you know to check rollout status, readiness probes, and whether the deployment is stuck on a failing pod.

Q

How do you reload configuration in a running Spring Boot service without restarting it?

intermediatePro

Tests whether you know about @RefreshScope and Spring Cloud Bus for propagating config changes to live instances.

Q

Your Maven build takes 4-10 minutes in CI but is much faster locally. Why might that be, and how would you speed it up?

intermediatePro

Tests whether you know to check for missing dependency caching, network-bound repository access, and parallel build configuration in CI.

Data Management (Expert Round)

Security (Expert Round)

System Failures & Latency

Resilience (Expert Round)

Observability (Expert Round)

Kubernetes Deployment (Expert Round)

Advanced System Design (Expert Round)

Real Company Rounds

Q

Flipkart Big Billion Day: inventory shows 1 unit left for an iPhone, and 10,000 users click Buy simultaneously. What happens, and how do you fix it with Redis DECR and Kafka buffering?

expertPro

A real Flipkart interview scenario testing whether you can design atomic inventory control under extreme concurrent load.

Q

Design a Flash Sale system for 10 million users hitting Buy on one product at exactly 12:00:00 — cover overselling prevention, DB protection, and idempotency.

expertPro

A real Walmart interview scenario testing whether you can combine four separate fixes into one coherent architecture.

Q

You design a Rate Limiter backed by Redis, but Redis becomes a single point of failure — if it stalls, the whole API stalls. How do you fix this, and would you fail open or fail closed?

expertPro

A real Walmart interview scenario testing whether you've thought through what happens when your own fix becomes the new bottleneck.

Q

Compare cache penetration, cache breakdown (hot key expiry), and cache avalanche — three distinct ways a cache layer can fail under load.

advancedPro

A real Walmart interview deep-dive testing whether you can distinguish three commonly-confused caching failure modes and fix each correctly.

Q

Your Spring Boot service works perfectly in development but crashes every night at exactly 2am in production. Walk through how you'd debug it.

expertPro

Tests whether you connect the fixed time to a scheduled job or resource leak, and know the JVM-metrics-then-heap-dump investigation order.

Q

PayPal SE-3 online screening: solve 'Max Tasks That Can Be Completed in a Given Budget' — a greedy/DP optimization problem.

advancedPro

A real PayPal coding-round question testing whether you can recognize and implement a budget-constrained optimization pattern.

Q

Google SDE-2 phone screen: optimize a graph traversal to reduce space complexity from O(N) to O(1) while maintaining time efficiency.

expertPro

A real Google interview question testing whether you can trade off between recomputation and storage under a tight space constraint.

Q

Google onsite: design a data structure that manages elements ordered by two criteria (a fixed numeric range and a temporal value) with O(1) insertion and retrieval of the minimum element.

expertPro

A real Google data-structure-design round testing whether you know bucket sort variations solve this cleanly.

Q

PhonePe system design round: design a UPI-style payment service — what are the core consistency and idempotency requirements?

expertPro

A real PhonePe interview question testing whether you can design for financial correctness under partial failure.

Q

Atlassian system design round: design a project management tool like Jira, covering issues, boards, and workflows.

expertPro

A real Atlassian interview question testing whether you can model a highly configurable, permission-heavy domain at scale.

Q

Accenture Senior SE round: can HashMap keys be mutable? Why or why not, and what breaks if they are?

advancedPro

A real Accenture interview question that looks simple but tests genuine understanding of hashing internals.

Q

TCS/Infosys/JPMorgan round: How does @Transactional actually work internally — proxy creation, self-invocation pitfall, wrong exception type, wrong propagation. Walk through all three failure modes.

expertPro

One of the most commonly asked service-based-company questions — tests whether you understand the proxy mechanism, not just the annotation's existence.

Q

Walmart Senior SE round: explain the internal difference between HashMap and ConcurrentHashMap — what specifically makes the concurrent version thread-safe without locking the whole structure?

expertPro

Tests whether you can go beyond 'one is thread-safe' into the actual locking/CAS mechanism that makes it so.