As reported: Capital One Senior Software Engineer (Plano) Power Day, round 2 (system design, 1 hour), Sep 2024: design a credit card portal; the interviewer asked how batch processing would be implemented, and — because the candidate mentioned MongoDB — why MongoDB instead of Cassandra.
Design a credit card portal for customers:
- sign in and see cards, current balance, available credit and recent transactions;
- view and download monthly statements;
- pay the bill (one-time and scheduled payments);
- manage the card (lock/unlock, alerts).
Agree on scope first. Cover the components and data stores, how card transactions arrive, how batch processing (statements, payments, interest) runs, and why you choose each database.