Razorpay SDE2 Interview Guide
Evidence-backed preparation playbook for Razorpay SDE2 interviews. 15 reported questions, top topics, difficulty breakdown, and a free assessment.
Know your gaps before the interview
Answer 10 questions from this exact pool. Get a personalised readiness score for Razorpay SDE2 and a focused study plan targeting only your weak areas.
Top Questions — Ranked by Community Votes
These 6 questions appeared most in Razorpay SDE2 reports. Master these first.
A Node.js microservice processes background jobs from a Redis queue. Under load, jobs fail and retry endlessly, creating a death loop that blocks the queue. How do you implement a proper retry strategy with dead letter handling?
Design Razorpay's payment retry system. When a payment fails due to a transient error (bank timeout, network blip), how do you retry safely without double-charging the customer? Cover: idempotency keys, exponential backoff with jitter, dead-letter queues, and reconciliation with bank statements.
You're building a feature flag system in React. Flags come from an API and affect which components render. How do you implement this so: flags load once at startup, components don't re-render when irrelevant flags change, and engineers can easily wrap any component.
Your JWT tokens are being stolen from localStorage and used in attacks. A developer suggests using httpOnly cookies instead. Describe the complete migration, including risks and security tradeoffs.
What is idempotency? Why is it critical for payment APIs and how do you implement it?
Design Razorpay's payout system (RazorpayX). Businesses send bulk payouts to thousands of vendor accounts simultaneously. Cover: batching, bank API rate limits, real-time status tracking, and failure handling.